Emerging net-fs/shfs-0.35 I get this error: ---------- >>> emerge (1 of 1) net-fs/shfs-0.35 to / >>> md5 src_uri ;-) shfs-0.35.tar.gz >>> Unpacking source... >>> Unpacking shfs-0.35.tar.gz to /var/tmp/portage/shfs-0.35/work >>> Source unpacked. gcc -g -Wall -I- -I. -I../shfs/Linux-2.4/ -DSHFS_VERSION=\"unknown\" -c shfsmount.c -o shfsmount.o sed -e '/^[ ]*#/d;/^$/d;s/\\/\\\\/g;s/\"/\\\"/g;s/^\(.*\)$/\"\1\\n\"/' <shell-test.in | sed -e "s/'/'\\\\\\\\''/g" >shell-test.h sed -e '/^[ ]*#/d;/^$/d;s/\\/\\\\/g;s/\"/\\\"/g;s/^\(.*\)$/\"\1\\n\"/' <shell-code.in | sed -e "s/'/'\\\\\\\\''/g" >shell-code.h sed -e '/^[ ]*#/d;/^$/d;s/\\/\\\\/g;s/\"/\\\"/g;s/^\(.*\)$/\"\1\\n\"/' <perl-test.in | sed -e "s/'/'\\\\\\\\''/g" >perl-test.h sed -e '/^[ ]*#/d;/^$/d;s/\\/\\\\/g;s/\"/\\\"/g;s/^\(.*\)$/\"\1\\n\"/' <perl-code.in | sed -e "s/'/'\\\\\\\\''/g" >perl-code.h gcc -g -Wall -I- -I. -I../shfs/Linux-2.4/ -DSHFS_VERSION=\"unknown\" -c shfsumount.c -o shfsumount.o gcc -g -Wall -I- -I. -I../shfs/Linux-2.4/ -DSHFS_VERSION=\"unknown\" -c proto.c -o proto.o gcc -o shfsumount shfsumount.o gcc -o shfsmount shfsmount.o proto.o make: Entering directory `/usr/src/linux-2.6.7-gentoo-r1' CC [M] /var/tmp/portage/shfs-0.35/work/shfs-0.35/shfs/Linux-2.6/dcache.o /bin/sh: line 1: scripts/basic/fixdep: cannot execute binary file make[1]: *** [/var/tmp/portage/shfs-0.35/work/shfs-0.35/shfs/Linux-2.6/dcache.o] Error 126 make: *** [_module_/var/tmp/portage/shfs-0.35/work/shfs-0.35/shfs/Linux-2.6] Error 2 make: Leaving directory `/usr/src/linux-2.6.7-gentoo-r1' !!! ERROR: net-fs/shfs-0.35 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! (no error message) ---------- I have the Gentoo dev sources 2.6.7-r1 kernel. I have set the kernel symlink (/usr/src/linux -> /usr/src/linux-2.6.7-gentoo-r1) I get the save error on all versions 0.32-0.35 With 0.31, I get the error described in this forum post: http://forums.gentoo.org/viewtopic.php?t=137999 Reproducible: Always Steps to Reproduce:
This was a problem with my kernel tree. I had the same error when trying to recompile it. I wonder what could have corrupted my /usr/src/linux/scripts/basic/fixdep? Well, shfs compiles fine after I emerged and compiled a new kernel.