[opensuse-buildservice] Build error with getpgrp function
Hello, building the pavuk package with buildservice failes with tools.c:191: error: too many arguments to function 'getpgrp' http://build.opensuse.org/package/live_build_log?repository=openSUSE_10.2&arch=i586&project=home%3Adstoecker&package=pavuk I don't know why, as: a) it works on my machines. b) There is a configure check whether an argument is passed or not, but that check returns true (false on my Suse systems). c) Theoretically should it be possible to have both - no arg and one arg. Don't know how to fix it. P.S. in the buildlog is a "cat config.log" included. Don't wonder about the long log :-) Ciao -- http://www.dstoecker.eu/ (PGP key available) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Dienstag 13 Februar 2007 10:53:07 schrieb Dirk Stoecker:
Hello,
building the pavuk package with buildservice failes with tools.c:191: error: too many arguments to function 'getpgrp'
http://build.opensuse.org/package/live_build_log?repository=openSUSE_10.2&a rch=i586&project=home%3Adstoecker&package=pavuk
I don't know why, as:
a) it works on my machines.
do you have tried with "osc build" ? You can jump into the create build enviroment via "chroot /dir" and try inside of it to figure out what wents wrong ...
b) There is a configure check whether an argument is passed or not, but that check returns true (false on my Suse systems). c) Theoretically should it be possible to have both - no arg and one arg.
Don't know how to fix it.
P.S. in the buildlog is a "cat config.log" included. Don't wonder about the long log :-)
Ciao
-- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, 13 Feb 2007, Adrian Schröter wrote:
Am Dienstag 13 Februar 2007 10:53:07 schrieb Dirk Stoecker:
Hello,
building the pavuk package with buildservice failes with tools.c:191: error: too many arguments to function 'getpgrp'
http://build.opensuse.org/package/live_build_log?repository=openSUSE_10.2&a rch=i586&project=home%3Adstoecker&package=pavuk
I don't know why, as:
a) it works on my machines.
do you have tried with "osc build" ?
Not before, did it now. Works fine: ... Wrote: /usr/src/packages/SRPMS/pavuk-0.9.34-1.src.rpm Wrote: /usr/src/packages/RPMS/i586/pavuk-0.9.34-1.i586.rpm ... Ciao -- http://www.dstoecker.eu/ (PGP key available)
Hello, I found my getpgrp problem: The check tests like this: int main() { if(getpgrp() == 0) printf("0\n"); else printf("1\n"); return 0;} It must be getpgrp() == -1 :-) Seems nobody ever noticed. Nobody ever build the package in root mode. Ciao -- http://www.dstoecker.eu/ (PGP key available) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Dirk Stoecker