[Bug 781327] New: build fails to build kernel.src.rpm
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.
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c1
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c2
--- Comment #2 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c3
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c4
Giacomo Comes
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c5
--- Comment #5 from Giacomo Comes
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c6
--- Comment #6 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c7
--- Comment #7 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c8
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c9
Giacomo Comes
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c10
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c11
--- Comment #11 from Giacomo Comes
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c12
Giacomo Comes
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c13
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c14
--- Comment #14 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c15
--- Comment #15 from Giacomo Comes
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c16
--- Comment #16 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c17
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c18
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c19
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c20
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c21
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c22
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c23
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c24
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=781327 https://bugzilla.novell.com/show_bug.cgi?id=781327#c Bug 781327 depends on bug 789986, which changed state. Bug 789986 Summary: rpmlint-Factory missing from ftp tree http://bugzilla.novell.com/show_bug.cgi?id=789986 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Status|NEEDINFO |NEW Status|NEW |RESOLVED Resolution| |FIXED -- 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=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c25
--- Comment #25 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c26
--- Comment #26 from Giacomo Comes
https://bugzilla.novell.com/show_bug.cgi?id=781327
https://bugzilla.novell.com/show_bug.cgi?id=781327#c27
Jeff Mahoney
Oh, sorry for such breakage. I fixed it in the openSUSE-12.2, master and SLE11-SP2 branches. But I'm unable to close the bug now due to dependency on bug 789986.
That bug is now closed, so I'll close this one. -- 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.
participants (1)
-
bugzilla_noreply@novell.com