Mailinglist Archive: opensuse-buildservice (227 mails)

< Previous Next >
[opensuse-buildservice] Problem with the build command.
  • From: "Samuel Partida" <samuel.partida@xxxxxxxxx>
  • Date: Sun, 7 Jan 2007 19:21:33 +0100
  • Message-id: <eb13e7f30701071021x2b8d58fdn5f13143a6b713ba3@xxxxxxxxxxxxxx>
Hi, I'm having some problems when using "build" from console. I have
no problems with stock packages but I'm trying to build from a spec of
my own and I get these errors:

------------ Showing the errors part only -------------------
+ test -x /usr/sbin/Check -a 0 = 0 -o -x /usr/sbin/Check -a '!' -z
/var/tmp/base-0.1-build
+ echo 'I call /usr/sbin/Check...'
I call /usr/sbin/Check...
+ /usr/sbin/Check
lrwxrwxrwx 1 root root 13 Jan 7 18:03
/var/tmp/base-0.1-build//usr/info.gz -> share/info.gz
lrwxrwxrwx 1 root root 12 Jan 7 18:03
/var/tmp/base-0.1-build//usr/local/man.gz -> share/man.gz
Checking permissions and ownerships - using the permissions files
/tmp/Check.perms.kG3293
setting /var/tmp/base-0.1-build/root to root:root 0700. (wrong permissions 0750)
Checking permissions and ownerships - using the permissions files
/tmp/Check.perms.kG3293
setting /usr/src/packages/SOURCES/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/BUILD/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/i386/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/i686/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/noarch/ to root:root 1777. (wrong
permissions 0755)
setting /usr/src/packages/SPECS/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/SRPMS/ to root:root 1777. (wrong permissions 0755)
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-symlink
ERROR: link target doesn't exist (neither in build root nor in
installed system):
/usr/local/man.gz -> /usr/local/share/man.gz
Add the package providing the target to neededforbuild and Requires
ERROR: link target doesn't exist (neither in build root nor in
installed system):
/usr/info.gz -> /usr/share/info.gz
Add the package providing the target to neededforbuild and Requires
error: Bad exit status from /var/tmp/rpm-tmp.86508 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.86508 (%install)
------------------------------------

I've been reading the Check script and I guess that it tries to
compress info and man pages, but my source package is just a skeleton
of a root filesystem and it has the /usr/local/{share,info,man} dirs
symlinked to /usr/{share,info,man}.

I could make dirs instead of symlinks but I would like to know if it
is possible to make it work with my symlinks.

Thanks.

Samuel Partida.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >