Summary: | <=sys-kernel/genkernel-3.4.10.907 fails to build busybox 1.7.4 with sys-devel/make-3.82 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jeremy <enviouzproductionz07> |
Component: | [OLD] Core system | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chrissicool, ecyoung, emmaguarda, enviouzproductionz07, gert, kernel, m.debruijne, slbyan, spam, sping, travisghansen |
Priority: | High | ||
Version: | autobuilds | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 331977 | ||
Attachments: |
Genkernel fail log (make-3.82)
emerge info from failed build emerge info after successful build Broken busybox makefile from genkernel`s cache /usr/share/genkernel/patches/busybox/1.7.4/1.7.4-make-3.82.diff Allow compilation of busybox 1.7.4 with make 3.82 Genkernel crash log |
Description
jeremy
2010-10-21 00:08:30 UTC
Created attachment 251375 [details]
Genkernel fail log (make-3.82)
Created attachment 251377 [details]
emerge info from failed build
Created attachment 251379 [details]
emerge info after successful build
(In reply to comment #1) > Created an attachment (id=251375) [details] > Genkernel fail log (make-3.82) > > Makefile:405: *** mixed implicit and normal rules. Stop. What's in line 405, can you attach the broken Makefile here? Created attachment 251681 [details] Broken busybox makefile from genkernel`s cache I have same problem. >What's in line 405, can you attach the broken Makefile here? This is Makefile from busybox, from genkernel`s cache. First look: this is glibc static linking problem. I breaking on e2fsck, on LD static libs. In directory: [...]/e2fsprogs-1.40.9/e2fsck Command: x86_64-pc-linux-gnu-ld -static -o e2fsck dict.o unix.o e2fsck.o super.o pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o journal.o swapfs.o badblocks.o util.o dirinfo.o dx_dirinfo.o ehandler.o problem.o message.o recovery.o region.o revoke.o ea_refcount.o rehash.o profile.o prof_err.o ../lib/libext2fs.a ../lib/libcom_err.a ../lib/libblkid.a ../lib/libuuid.a ../lib/libe2p.a First output lines: x86_64-pc-linux-gnu-ld: warning: cannot find entry symbol _start; defaulting to 0000000000400190 dict.o: In function `dnode_create': /var/tmp/portage/sys-kernel/gentoo-sources-2.6.36/temp/genkernel/1526.25314.27460.8304/e2fsprogs-1.40.9/e2fsck/dict.c:984: undefined reference to `malloc' [etc] PS Now I am a bit drunk to go deeper, sorry. May be. e2fsprogs solved: emerge -1q glibc Still busybox... This might be related: http://bugs.gentoo.org/show_bug.cgi?id=331995#c3 (In reply to comment #7) > e2fsprogs solved: emerge -1q glibc > Still busybox... > Stop spamming this bug, this is nothing to do with your issue. Created attachment 252043 [details, diff] /usr/share/genkernel/patches/busybox/1.7.4/1.7.4-make-3.82.diff This is no bug, but removed unsupported undocumented hole in make. Patch (mine - looks work, not mind) for busybox 1.7.4 attached. About bug: http://comments.gmane.org/gmane.comp.gnu.make.bugs/4912 Paul Smith: "The previous behavior of mixing implicit and pattern rules in one line like that was never supported or documented, but due to a "hole" in the parser it worked for certain specific cases (for example, reversing that line so the pattern comes first would not work, nor would adding extra explicit targets after the pattern target)." *** Bug 342987 has been marked as a duplicate of this bug. *** (In reply to comment #10) > Created an attachment (id=252043) [details] > /usr/share/genkernel/patches/busybox/1.7.4/1.7.4-make-3.82.diff > > This is no bug, but removed unsupported undocumented hole in make. > Patch (mine - looks work, not mind) for busybox 1.7.4 attached. > > About bug: http://comments.gmane.org/gmane.comp.gnu.make.bugs/4912 > Paul Smith: > "The previous behavior of mixing implicit and pattern rules in one line > like that was never supported or documented, but due to a "hole" in the > parser it worked for certain specific cases (for example, reversing that > line so the pattern comes first would not work, nor would adding extra > explicit targets after the pattern target)." > that patch works for me. thank you so much *** Bug 342699 has been marked as a duplicate of this bug. *** patch worked for me too. Patch working for me too, x86_64, kernel 2.6.36-gentoo-r1 and genkernel 3.4.10.907 patch worked for me: sys-kernel/genkernel-3.4.10.907 and vanilla-sources-2.6.37-rc3 patch worked for me:genkernel-3.4.10.907 and vanilla-sources-2.6.37-rc3 Time for a new genkernel release? Created attachment 255809 [details, diff] Allow compilation of busybox 1.7.4 with make 3.82 It seems in the Makefile of the Kernel they choose a different approach to patching the make rules. Instead of removing the config target, they split into two rules: config: scripts_basic outputmakefile FORCE [..] %config: scripts_basic outputmakefile FORCE [..] I have copied their approach and update the patch accordingly. I have integrated that patch into genkernel-3.4.10.907-r1. Please give it a try. I hope I didn't break anything. +*genkernel-3.4.10.907-r1 (29 Nov 2010) + + 29 Nov 2010; <sping@gentoo.org> +files/busybox-1.7.4-make-3.82.patch, + +genkernel-3.4.10.907-r1.ebuild: + Integrate patch allowing compilation of busybox 1.7.4 with make 3.82 (bug + #341943) + Patch now added to master in the Git repo: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=e9768b0b2b025da6bafe7a667f791dcdf4a11656 Therefore genkernel-9999 installs this patch, too. Closing, please re-open as needed. Please reopen, as bug is reappearing when trying to compile 2.6.38-gentoo-r6 (In reply to comment #21) > Please reopen, as bug is reappearing when trying to compile 2.6.38-gentoo-r6 I don#t object re-opening, but please explain how 2.6.38-gentoo-r6 relates to this bug on busybox and make. I don't see a relation, yet. Thanks! Created attachment 275237 [details]
Genkernel crash log
(In reply to comment #22) > (In reply to comment #21) > > Please reopen, as bug is reappearing when trying to compile 2.6.38-gentoo-r6 > > I don#t object re-opening, but please explain how 2.6.38-gentoo-r6 relates to > this bug on busybox and make. I don't see a relation, yet. Thanks! See Attached log (In reply to comment #24) > (In reply to comment #22) > > (In reply to comment #21) > > > Please reopen, as bug is reappearing when trying to compile 2.6.38-gentoo-r6 > > > > I don#t object re-opening, but please explain how 2.6.38-gentoo-r6 relates to > > this bug on busybox and make. I don't see a relation, yet. Thanks! > > See Attached log I added sys-kernel/genkernel * to package.keywords, emerged, and re-ran. Issue fixed, but as you can see from log it is occurring in the stable version... (In reply to comment #25) > I added sys-kernel/genkernel * to package.keywords, emerged, and re-ran. Issue > fixed, but as you can see from log it is occurring in the stable version... Correct: It's included since 3.4.10.907-r1, not before. *** Bug 371298 has been marked as a duplicate of this bug. *** + 22 Jun 2011; Sebastian Pipping <sping@gentoo.org> + genkernel-3.4.10.907-r1.ebuild: + Stabilize 3.4.10.907-r1 on all arches. I dare doing that because 3.4.10.907 + is stable, the only addition is a patch for make 3.82, make 3.82 is stable + already, users keep reporting the make 3.82 bug, the patch has been reported + to solve the problem. So I believe there is good reason for an exception + here. + *** Bug 391971 has been marked as a duplicate of this bug. *** |