[Bug 269866] New: BUILD script does not function in SUSE10.2 or in Factory Builds. Version from 10.1 works fine
https://bugzilla.novell.com/show_bug.cgi?id=269866 Summary: BUILD script does not function in SUSE10.2 or in Factory Builds. Version from 10.1 works fine Product: openSUSE 10.2 Version: Final Platform: 64bit OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: rajeshsingh.geo@yahoo.com QAContact: qa@suse.de When using build command from package build-2006.11.24-3.noarch.rpm, I am unable to build rpms. The error I get consistently is "chroot: cannot run command `rpm': No such file or directory" Clip of actual Screen Output -------------------------------------------------------- home1:/home/raj/Documents/downloads/Linux/SRPMS-singh # build --rpms /media/SU1020.001 qemu-0.9.0-10.src.rpm logging output to /var/tmp/build-root/.build.log... home1 started "build qemu-0.9.0-10.src.rpm" at Sun Apr 29 07:24:35 EDT 2007. Using BUILD_ROOT=/var/tmp/build-root Using BUILD_RPMS=/media/SU1020.001 Using BUILD_ARCH=x86_64:i686:i586:i486:i386 processing src rpm /home/raj/Documents/downloads/Linux/SRPMS-singh/qemu-0.9.0-10.src.rpm... chroot: cannot run command `rpm': No such file or directory error: cannot create %sourcedir /var/tmp/build-root/usr/src/packages/SOURCES could not install qemu-0.9.0-10.src.rpm. -------------------------------------------------------- If I downgrade to package build-2006.4.28-3.noarch.rpm, the build works fine. -------------------------------------------------------- home1:/home/raj/Documents/downloads/Linux/Programs # home1:/home/raj/Documents/downloads/Linux/Programs # rpm --upgrade --force build-2006.4.28-3.noarch.rpm home1:/home/raj/Documents/downloads/Linux/Programs # -------------------------------------------------------- And after this "initialization" build-2006.11.24-3.noarch.rpm works fine as well, until I remove the build directory /var/tmp/build-root and then I need to start over. Issue is also present on version in Factory Build so I assume it is also there in 10.3 alpha -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=269866 mls@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from mls@novell.com 2007-05-02 04:25 MST ------- True, building from a src rpm is broken in the current version of the build script. I think the fix is to remove the 'chroot $BUILD_ROOT' call right after the line that contains "echo processing src rpm", i.e. change echo processing src rpm `pwd`/$SPECFILE... TOPDIR=`chroot $BUILD_ROOT rpm --eval '%_topdir'` to echo processing src rpm `pwd`/$SPECFILE... TOPDIR=`rpm --eval '%_topdir'` Could you please verify that this fix works? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=269866 ------- Comment #2 from rajeshsingh.geo@yahoo.com 2007-05-05 06:05 MST ------- This works! Thanks for the effort. Now I'm able to build file no issue Raj -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=269866
User lnussel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=269866#c3
Ludwig Nussel
participants (1)
-
bugzilla_noreply@novell.com