[Bug 335704] New: osc build doesn't work on Fedora
https://bugzilla.novell.com/show_bug.cgi?id=335704 Summary: osc build doesn't work on Fedora Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: poeml@novell.com ReportedBy: mmarek@novell.com QAContact: adrian@novell.com Found By: --- Fedora installs chroot into /usr/sbin/. Also, Fedora's su doesn't add /usr/sbin to the PATH by default. This means that when running osc build as user, init_buildsystem isn't able to run chroot: $ osc build openSUSE_10.3 i586 curl.spec Getting buildinfo from server Updating cache of required packages Verifying integrity of cached packages Writing build configuration Getting buildconfig from server Running build su -c '/usr/bin/build --root=/abuild/obs-build-root-openSUSE_10.3-i586 --rpmlist=/tmp/rpmlist.2ma0Io --dist=/tmp/buildconfig.CbCqbU curl.spec --norootforbuild --changelog' Password: logging output to /abuild/obs-build-root-openSUSE_10.3-i586/.build.log... discovery started "build curl.spec" at Mon Oct 22 17:44:42 CEST 2007. Using BUILD_ROOT=/abuild/obs-build-root-openSUSE_10.3-i586 Using BUILD_ARCH=i586:i486:i386 processing specfile /home/mmarek/buildservice/home:michal-m/curl/curl.spec... running changelog2spec --target rpm --file /home/mmarek/buildservice/home:michal-m/curl/curl.spec init_buildsystem --rpmlist /tmp/rpmlist.2ma0Io curl.spec ... /usr/lib/build/init_buildsystem: line 407: chroot: command not found reordering...done /usr/lib/build/init_buildsystem: line 456: chroot: command not found installing filesystem-10.3-50 /usr/lib/build/init_buildsystem: line 526: chroot: command not found Could osc add /usr/sbin:/sbin to the PATH variable before running build, so that osc build works out of the box on Fedora? Except for this PATH problem, osc seems to work fine there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=335704#c1
Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=335704#c2
--- Comment #2 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=335704#c3
--- Comment #3 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=335704#c4
--- Comment #4 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=335704
Michal Marek
participants (1)
-
bugzilla_noreply@novell.com