Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371298 - sys-kernel/genkernel-3.4.10.907 comes with error on compile modules when use command 'genkernel all' and gives errors for kernel-2.6.38-6
Summary: sys-kernel/genkernel-3.4.10.907 comes with error on compile modules when use ...
Status: RESOLVED DUPLICATE of bug 341943
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-12 19:36 UTC by Gert Andersen
Modified: 2011-06-14 22:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gert Andersen 2011-06-12 19:36:28 UTC
genkernel fails compile kernel modules by compile modules for kernel and initramfs 2.6.38-r6. (done by minimal install cdrom for new install.)
I have run emerge gentoo-sources - emerge genkernel and zcat /proc/config.gz > /usr/share/genkernel/arch/x86/kernel-config.
Thne finally 'genkernel all'. And this 5 times to do it all with new latest stage3 and portage-latest. And it is the same result with error failed to compile all and lit of modules. In my make.conf have I the things right after the handbook but is used kernel 2.6.34-r5, MAKEOPTS="-j2" ..

Reproducible: Always

Steps to Reproduce:
1. emerge genkernel
2. genkernel all
3. 4-5 times
Actual Results:  
The actula results shoudl be that all modules is make and compiled without and be finished for i686 stage3 and make all thing but no initramfs is make and should genkernal all have done without errors and failed messages.

The results by genkernel all now is:
Warning warning -faled to make oldconfig by all and lot more.

Expected Results:  
The expected results shoudl have been finished compile kernel, modules and initramfs. So there is a good finished kernel and initramfs 2.6.38.r6

The last have compiled it fine and weill done ready to use.

As this is install without a running kernel and linux so ca there not come a emerge.info here.
Comment 1 Sebastian Pipping gentoo-dev 2011-06-12 20:41:27 UTC
Can you post error logs?  Without error logs there is not much we can do.  I suppose this is about genkernel 3.4.10.907?  Is /usr/src/linux pointing to full kernel sources?
Comment 2 GJBRKS 2011-06-13 16:31:14 UTC
First  : I'm a complete noob when it comes to gentoo , but I can confirm this on my amd64 platform , found a similar reference in bug number 341943.

"genkernel all"   breaks on :

* busybox: >> Applying patches...
* busybox: >> Configuring...
COMMAND: make -j5 CC="gcc" LD="ld" AS="as" 
Makefile:405: *** mixed implicit and normal rules.  Stop.
* Gentoo Linux Genkernel; Version 3.4.10.907[0m
* Running with options: all
* KERNEL_ARCH=x86

* ERROR: Failed to compile the "oldconfig" target...

Unfortunately I do not know yet how to apply the suggested patch from bugreport 341943 ...
Comment 3 Sebastian Pipping gentoo-dev 2011-06-13 16:47:25 UTC
(In reply to comment #2)
> Unfortunately I do not know yet how to apply the suggested patch from bugreport
> 341943 ...

The patch should be placed at

/usr/share/genkernel/patches/busybox/1.7.4/1.7.4-make-3.82.diff

After that busybox should compile fine.
Comment 4 GJBRKS 2011-06-14 21:53:28 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Unfortunately I do not know yet how to apply the suggested patch from bugreport
> > 341943 ...
> 
> The patch should be placed at
> 
> /usr/share/genkernel/patches/busybox/1.7.4/1.7.4-make-3.82.diff
> 
> After that busybox should compile fine.


Yes , it did ...!

Thnks , so it's an issue with genkernel or with busybox ?

You solved the compilation , now it's on to the rest of the handbook for me ...
Comment 5 Sebastian Pipping gentoo-dev 2011-06-14 22:06:28 UTC
(In reply to comment #4)
> Yes , it did ...!

I am closing this as a duplicate of bug #341943 then.
Gert, if you disagree on that please feel free to re-open.


> Thnks , so it's an issue with genkernel or with busybox ?

Any out of genkernel, busybox, make - depends on your view.


> You solved the compilation , now it's on to the rest of the handbook for me ...

Good luck.

*** This bug has been marked as a duplicate of bug 341943 ***