lufs 0.9.6 (latest) only has 2.5 kernel support here is a little patch to the ebuild so that it works correctly with 2.6 kernel Reproducible: Always Steps to Reproduce: 1. emerge lufs 2. failure, kernel 2.6.0 not supported 3. Actual Results: failed to emerge Expected Results: nothing special, just use the patch for people using developement kernel at the end of the src_unpack() function, add this for 2.6 kernel support : (i do not know if it breaks 2.5 support. if u need to be sure, cp 2.5 folder instead of linking it, and sed the Makefile like i did sed the configure after that configure has been run (hope to be clear:p)) cd ${S}/kernel/Linux ln -s 2.5 2.6 cd ${S} mv configure configure.orig sed -e 's/linux\/modversions.h/linux\/config\/modversions.h/' configure.orig > configure || die
wups the ebuild patch stuff is wrong stupid copy paste, was my old buffer :PP here's the right one: cd ${S}/kernel/Linux ln -s 2.5 2.6 cd ${S} mv configure configure.orig sed -e 's/linux\/modversions.h/config\/modversions.h/' configure.orig > configure || die chmod +x configure }
Take a look at bug 32415... Radek
I version-bumped it. Can you test if the new version now compiles on Linux 2.6? Thanks.
Doesn't compile for me - A little later I will try with only -march=i686 to see if that changes anything...
Erh, ok I tried: CXXFLAGS="-march=i686" emerge lufs And right after configure it does: ############################################################################### supported filesystems: localfs locasefs ftpfs gnetfs sshfs gvfs suid files: lufsmnt & lufsumount. ############################################################################### make all-recursive make[1]: Entering directory `/var/tmp/portage/lufs-0.9.7/work/lufs-0.9.7' Making all in kernel make[2]: Entering directory `/var/tmp/portage/lufs-0.9.7/work/lufs-0.9.7/kernel' Making all in Linux make[3]: Entering directory `/var/tmp/portage/lufs-0.9.7/work/lufs-0.9.7/kernel/Linux' Making all in 2.6 make[4]: Entering directory `/var/tmp/portage/lufs-0.9.7/work/lufs-0.9.7/kernel/Linux/2.6' make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules make[5]: Entering directory `/usr/src/linux-2.6.0-test11-gentoo' Makefile:405: /usr/src/linux-2.6.0-test11-gentoo/arch/x86/Makefile: No such file or directory make[5]: *** No rule to make target `/usr/src/linux-2.6.0-test11-gentoo/arch/x86/Makefile'. Stop. make[5]: Leaving directory `/usr/src/linux-2.6.0-test11-gentoo' make[4]: *** [all] Error 2 make[4]: Leaving directory `/var/tmp/portage/lufs-0.9.7/work/lufs-0.9.7/kernel/Linux/2.6' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/lufs-0.9.7/work/lufs-0.9.7/kernel/Linux' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/lufs-0.9.7/work/lufs-0.9.7/kernel' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/lufs-0.9.7/work/lufs-0.9.7' make: *** [all] Error 2 !!! ERROR: sys-fs/lufs-0.9.7 failed. !!! Function src_compile, Line 391, Exitcode 2 !!! emake failed My emerge info: Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test11-gentoo) ================================================================= System uname: 2.6.0-test11-gentoo i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe -mfpmath=sse -mmmx -msse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe -mfpmath=sse -mmmx -msse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.gentoo.skynet.be/ http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bonobo cdr crypt cups curl directfb encode esd foomaticdb gd gdbm gif gnome gpm gtk imap imlib java jpeg kde libg++ libwww mad maildir mcal mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml xml2 xmms xv zlib"
Yeah, I got that error too. There seems to be a problem in that the ebuild assumes the x86 architecture is called x86 in the kernel tree. It is in fact caller i386. But making a link from /usr/src/linux-2.6.X/arch/x86 to /usr/src/linux-2.6.X/arch/x86 solves this particular issue. A patch to some make-file might be a more appropriate solution though.
looks like fixed now no? this bug might need to be closed/fixed then, its been monthes
Can you please try if this is fixed by Bug 67212, comment that it works and add a dependency?
Kernel 2.6 is supported now with fuse.