[opensuse-buildservice] osc build error: Bad owner/group:
Hi, Today when building a package I get the following error message when building a package locally with osc (last I build the same spec file 3 days ago): ----------------------------------------------------------------- + exec rpmbuild -ba --eval '%define _srcdefattr (-,root,root)' /usr/src/packages/SOURCES/kolab.spec error: Bad owner/group: /usr/src/packages/SOURCES/kolabd-2.1.99-cvs20080820.tar.bz2 build-root-openSUSE_10.3-i586/usr/src/packages # ls -ld $(find -type d) drwxr-xr-x 7 root root 4096 Aug 23 15:21 . drwxr-xr-x 2 399 399 4096 Aug 23 15:21 ./BUILD drwxr-xr-x 5 399 399 4096 Aug 23 15:21 ./RPMS drwxr-xr-x 2 399 399 4096 Aug 23 15:21 ./RPMS/i386 drwxr-xr-x 2 399 399 4096 Aug 23 15:21 ./RPMS/i686 drwxr-xr-x 2 399 399 4096 Aug 23 15:21 ./RPMS/noarch drwxr-xr-x 2 399 399 4096 Aug 23 15:21 ./SOURCES drwxr-xr-x 2 399 399 4096 Aug 23 15:21 ./SPECS drwxr-xr-x 2 399 399 4096 Aug 23 15:21 ./SRPMS Why is the owner/group in the build directory 399:399? I get the same when I try to build another package. Is this a local problem, or a build server problem? What can I do about this? -- Richard Bos Without a home the journey is endless --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Richard Bos wrote:
Today when building a package I get the following error message when building a package locally with osc (last I build the same spec file 3 days ago): [...]
You probably reused a build root that was created with an older version of the build script. The uid of the build user was changed at some point but an existing /etc/passwd is not updated. The script only checks whether the user is present. Try removing the abuild user in your chroot's /etc/passwd (or run build --clean). cu Ludwig -- (o_ Ludwig Nussel //\ SUSE LINUX Products GmbH, Development V_/_ http://www.suse.de/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Op Sunday 24 August 2008 19:38:31 schreef Ludwig Nussel:
Richard Bos wrote:
Today when building a package I get the following error message when building a package locally with osc (last I build the same spec file 3 days ago): [...]
You probably reused a build root that was created with an older version of the build script. The uid of the build user was changed at some point but an existing /etc/passwd is not updated. The script only checks whether the user is present. Try removing the abuild user in your chroot's /etc/passwd (or run build --clean).
For the archive: I used 'osc build --clean <repository> <arch> <spec>'. Thanks for the hint, that was what I needed! -- Richard Bos Without a home the journey is endless --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Ludwig Nussel
-
Richard Bos