Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165489 - EVMS2 failed to compile with genkernel-3.4.6
Summary: EVMS2 failed to compile with genkernel-3.4.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 20:08 UTC by Laurent de Trogoff
Modified: 2007-02-07 20:21 UTC (History)
0 users

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


Attachments
genkernel log after evms2 compill failed (genkernel.log,36.80 KB, text/plain)
2007-02-05 20:09 UTC, Laurent de Trogoff
Details
this is my stage2 (stage2.spec,12.89 KB, text/plain)
2007-02-05 21:19 UTC, Laurent de Trogoff
Details
no evms file ! (noevms,1.39 KB, text/plain)
2007-02-07 16:08 UTC, Laurent de Trogoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent de Trogoff 2007-02-05 20:08:48 UTC
Running stage2 in catalyst, and need evms in kernel. Up to genkenrel-3.4.5, have no problem. Since genkernel-3.4.6, got errors. 


Reproducible: Always

Steps to Reproduce:
1.Run stage2 in catalyst livecd building.
2.
3.

Actual Results:  
ERROR: Could not copy files for EVMS2!

 * -- End log... --

 * Please consult /var/log/genkernel.log for more information and any
 * errors that were reported above.

 * Report any genkernel bugs to bugs.gentoo.org and
 * assign your bug to genkernel@gentoo.org. Please include
 * as much information as you can in your bug report; attaching
 * /var/log/genkernel.log so that your issue can be dealt with effectively.
 *
 * Please do *not* report compilation failures as genkernel bugs!
 *

 !!! catalyst: Runscript kernel build failed


 Traceback (most recent call last):
   File "modules/generic_stage_target.py", line 1246, in build_kernel
       "Runscript kernel build failed",env=self.env)
         File "/usr/lib/catalyst/modules/catalyst_support.py", line 485, in cmd
	     raise CatalystError,myexc
	     CatalystError: <unprintable instance object>
	     None

	     !!! catalyst: build aborting due to kernel build error.


Have posted in forum :http://forums.gentoo.org/viewtopic-t-537569.html?sid=9fe49145a837762eeaa17481e3da0c9a

I may post genkernel.log, but dont see where to attch it ???
Comment 1 Laurent de Trogoff 2007-02-05 20:09:52 UTC
Created attachment 109260 [details]
genkernel log after evms2 compill failed
Comment 2 Laurent de Trogoff 2007-02-05 20:11:36 UTC
Try to mask evms-2.5.5-r5, but doesnt make any difference.
Mask genkernel-3.4.5, and the problem disappear. !
But, what about genkernel-3.4.6 ?
Comment 3 Laurent de Trogoff 2007-02-05 21:19:17 UTC
Created attachment 109265 [details]
this is my stage2
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-02-06 21:35:53 UTC
OK.  First off, the stage2 target in catalyst has *nothing* to do with kernels.  I'm guessing you mean livecd-stage2, which does.

Anyway, compile problems aren't really genkernel's problem.

It looks like your cache is busted.  Try running catalyst again after clearing your caches.
Comment 5 Laurent de Trogoff 2007-02-07 08:25:50 UTC
Thx. Yes the file is livecd.stage2.spec.
I have clearing my caches and rebuilt all from the beginning, so i have all new compilled pacvkages. I got the same problem.
I wonder if it may come from ntfs3g, which called evms2 ???

Comment 6 Laurent de Trogoff 2007-02-07 10:31:12 UTC
Well, i tried again, and see some lines above :
 Appending evms2 cpio data...
*               EVMS2: Adding support...
* Gentoo Linux Genkernel; Version 3.4.6
* Running with options: --callback=PKGDIR=/tmp/kerncache/vmlinuz1/ebuilds emerge -kqb                           sys-fs/ntfs3g --lvm2 --dmraid --evms2 --cachedir=/tmp/kerncache/vmlinuz1-genkernel_cache-0.3.X --no-mountboot --kerneldir=/usr/src/linux --kernel-config=/var/tmp/vmlinuz1.config --modulespackage=/tmp/kerncache/vmlinuz1-modules-0.3.X.tar.bz2 --minkernpackage=/tmp/kerncache/vmlinuz1-kernel-initrd-0.3.X.tar.bz2 --kerncache=/tmp/kerncache/vmlinuz1-kerncache-0.3.X.tar.bz2 all --initramfs-overlay=/tmp/initramfs_overlay//mnt/gparted/gparted-001/overlay-initramfs --linuxrc=/tmp/linuxrc

* ERROR: Could not copy files for EVMS2!

So it is clearly genkernel which cant work, isn't it ?
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2007-02-07 12:23:26 UTC
Try it without the ntfs3g and see if it still fails.  That entire section of code hasn't changed (at all), so the genkernel version shouldn't make a bit of difference.
Comment 8 Laurent de Trogoff 2007-02-07 16:00:44 UTC
Okay, so i have remove ntfs3g from my livecd-stage2.spec, and, i got the same error, as you can see :
*         >> Appending evms2 cpio data...
*               EVMS2: Adding support...
* Gentoo Linux Genkernel; Version 3.4.6
* Running with options: --lvm2 --dmraid --evms2 --cachedir=/tmp/kerncache/vmlinuz1-genkernel_cache-0.3.X --no-mountboot --kerneldir=/usr/src/linux --kernel-config=/var/tmp/vmlinuz1.config --modulespackage=/tmp/kerncache/vmlinuz1-modules-0.3.X.tar.bz2 --minkernpackage=/tmp/kerncache/vmlinuz1-kernel-initrd-0.3.X.tar.bz2 --kerncache=/tmp/kerncache/vmlinuz1-kerncache-0.3.X.tar.bz2 all --initramfs-overlay=/tmp/initramfs_overlay//mnt/gparted/gparted-001/overlay-initramfs --kernel-cc=/usr/lib/ccache/bin/gcc --utils-cc=/usr/lib/ccache/bin/gcc --linuxrc=/tmp/linuxrc

* ERROR: Could not copy files for EVMS2!

What other kind of inforamtion may i give you ?
Comment 9 Laurent de Trogoff 2007-02-07 16:08:25 UTC
Created attachment 109437 [details]
no evms file !

a bit higher, in the terminal, i can read a wrning. It is in the attachement.
Comment 10 Laurent de Trogoff 2007-02-07 20:21:13 UTC
Okay, solved.
The problem came from evms. When using genkernel-3.4.5 i didnt need to install evms package in livecd.stage1.spec.
But since genkernel-3.4.6 i need to ! SO have installed evms package in livecd.stage1.spec and enable the package.use with static USE for evms (dunno if does anything), and all went wrong with evms-2.5.5-r5 !
so i masked evms-2.5.5-r4 and above, and then all went nice.

Dunno if this could be a evms bug to be reported :-/ ?
Anyway, fixed here !