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 ???
Created attachment 109260 [details] genkernel log after evms2 compill failed
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 ?
Created attachment 109265 [details] this is my stage2
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.
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 ???
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 ?
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.
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 ?
Created attachment 109437 [details] no evms file ! a bit higher, in the terminal, i can read a wrning. It is in the attachement.
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 !