Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62112 - emerge shfs-0.35 on 2.6.7 fails with "/bin/sh: line 1: scripts/basic/fixdep: cannot execute binary file"
Summary: emerge shfs-0.35 on 2.6.7 fails with "/bin/sh: line 1: scripts/basic/fixdep: ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-29 09:06 UTC by Tor Klingberg
Modified: 2004-10-14 11:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Klingberg 2004-08-29 09:06:57 UTC
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:
Comment 1 Tor Klingberg 2004-10-14 11:05:39 UTC
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.