emergeing net-fs/shfs-0.35-r1 failed. The error semes to have something to do with multilib? Reproducible: Always Steps to Reproduce: emerege shfs Actual Results: compil error, se attachment Expected Results: no errors I have used the patch in http://bugs.gentoo.org/show_bug.cgi?id=74774 to compiled the dep am-util. emerge --info Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r3 x86_64) ================================================================= System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 19 2005, 13:48:34)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.gentoo.diku.dk http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.sdv.fr http://www.gigaload.org/gentoo.org/ http://gentoo.math.bme.hu http://gentoo.mirror.icd.hu/" LINGUAS="da" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.diku.dk/gentoo-portage/" USE="X aalib acpi alsa amd amd64 bash-completion bitmap-fonts cdr crypt cups curl emacs esd fam font-server foomaticdb gdbmgif gpm gtk imlib java jp2 jpeg kde latex libwww lirc lzw lzw-tiff mad motif mp3 mysql ncurses nls nptl nvidia ogg oggvorbis opengl pam perl png python qt readline sdl slang spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts ucs2 unicode usb utf8 vorbis xml xml2 xmms xpm xrandr xv zlib linguas_da" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Created attachment 58039 [details] compile error
*** This bug has been marked as a duplicate of 81194 ***
It's not the same bug
I'm an x86 developer, and can't investigate bugs on amd64 atm. Re-assigning to the AMD64 team to see if they can help. Best regards, Stu
could you please post the content of /usr/include/asm/param.h?
are you trying to emerge this in a chrooted system or another special environment? i tried this in my devel-chroot and got the same errors as you, but when i compiled a kernel and installed the modules in the right place, it succeeded
Created attachment 59788 [details] param.h Sorry for the delay. No I'am trying to build in a chroot
ok, then it's probably the same as here... do you have a link from /lib/modules/$(uname -r)/build to /usr/src/linux-$(uname -r)? if not, that's probably the problem. copy your /usr/src/linux/.config from outside into the chroot system and do 'make modules modules_install' again
Sorry, sorry... I forgot to type a Not... No, I'am not trying to build in a chroot. When I come home I will check if i have the link: /lib/modules/$(uname -r)/build to /usr/src/linux-$(uname -r)
I have the link
okay, i just had a look at the param.h again. the "../asm-i386/param.h" is wrong, it should be <asm-i386/param.h>. same of course for the x86_64 variant. this has been fixed since quite some time, re-merging linux-headers should correct it. after that, shfs should build successfully
A re-emerge of linux-headers, followed by a re-emerge of glibc did the tick. Please make a version bump when fixing bugs.... [ebuild R ] sys-kernel/linux-headers-2.6.8.1-r4 Thank you for the help!