https://bugzilla.novell.com/show_bug.cgi?id=781327 https://bugzilla.novell.com/show_bug.cgi?id=781327#c0 Summary: build fails to build kernel.src.rpm Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: PC OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: comes@naic.edu QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0 If I try to build the kernel, build fails. Run: rm -r /var/tmp/build-root rpm2cpio kernel-source-3.4.6-2.10.1.src.rpm | cpio -i rpm2cpio kernel-default-3.4.6-2.10.1.nosrc.rpm | cpio -iu build kernel-default.spec The build process stops almost immediately with the error message: initializing rpm db... chroot: failed to run command 'rpm': No such file or directory The problem is that before installing in the chroot build environment the rpms needed to build the package, there are some packages that need to be preinstalled (aaa_base, rpm, coreutils, bash, glibc, etc) in order to have a working build environment. When building the kernel the preinstall step is skipped. A workaround I'm using at the moment is to build another package (screen-4.0.4-2.2.1.src.rpm) that does correctly the preinstall step. After that building the kernel works as the the chroot build environment contains the packages of the preinstall step. I don't know if the problem is with an incorrect kernel spec file or a bug in the build package. I suspect more the second. Reproducible: Always Steps to Reproduce: 1.build a kernel.src.rpm 2. 3. Actual Results: build fails Expected Results: buld succeed -- 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.