[opensuse-buildservice] problem with build in BS
I have strange problem with my package Reveal (home:pnemec Reveal) package use qmake to build himself and it compile libraries together in install phase !!! In local build (osc build) everything is ok. But in build service it faild with this message: + make install g++ -o /var/tmp/reveal-1.2.-build/usr/bin/Reveal tmp/config.o tmp/reveal.o ... [snip] .... -lpthread mkdir: cannot create directory `/usr/share/Reveal/': Permission denied make: *** [install_credits] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.25280 (%install) As i stated in local build everything is writed and installed into right directory under /var/tmp/reveal-1.2.-build/ why not in build in BS ??? Pavel -- Pavel Nemec Software Engineer https://wiki.innerweb.novell.com/index.php/SLEPOS --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: pnemec@suse.cz Lihovarska 1060/12 tel:+420 2 9654 2373 190 00 Praha 9 fax:+420 2 9654 2374 Ceska republika http://www.suse.cz
Am Tuesday 21 November 2006 08:26 schrieb Pavel Nemec:
I have strange problem with my package Reveal (home:pnemec Reveal) package use qmake to build himself and it compile libraries together in install phase !!!
In local build (osc build) everything is ok. But in build service it faild with this message:
+ make install g++ -o /var/tmp/reveal-1.2.-build/usr/bin/Reveal tmp/config.o tmp/reveal.o ... [snip] .... -lpthread mkdir: cannot create directory `/usr/share/Reveal/': Permission denied make: *** [install_credits] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.25280 (%install)
As i stated in local build everything is writed and installed into right directory under /var/tmp/reveal-1.2.-build/ why not in build in BS ???
you tried it also with "# norootforbuild" in the spec file with build ? This is enforced in the build service, so you might not notice that something does not installed into $RPM_BUILD_ROOT without that line, when you use the standard manual build. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
you tried it also with "# norootforbuild" in the spec file with build ? This is enforced in the build service, so you might not notice that something does not installed into $RPM_BUILD_ROOT without that line, when you use the standard manual build.
Thank you Adrian I will have to remember not do to to much things at once :( -- Pavel Nemec Software Engineer https://wiki.innerweb.novell.com/index.php/SLEPOS --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: pnemec@suse.cz Lihovarska 1060/12 tel:+420 2 9654 2373 190 00 Praha 9 fax:+420 2 9654 2374 Ceska republika http://www.suse.cz
participants (2)
-
Adrian Schröter
-
Pavel Nemec