Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157002 - x11-misc/adesklets-0.6.1-r1 won't compile
Summary: x11-misc/adesklets-0.6.1-r1 won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dockapp Team
URL:
Whiteboard:
Keywords:
: 155847 158887 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-03 09:16 UTC by Dave
Modified: 2007-01-24 13:55 UTC (History)
3 users (show)

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


Attachments
emerge --info (info,10.23 KB, text/plain)
2006-12-03 09:16 UTC, Dave
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2006-12-03 09:16:23 UTC
Making install in doc
make[1]: Entering directory `/var/tmp/portage/x11-misc/adesklets-0.6.1-r1/work/adesklets-0.6.1/doc'
test -d /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info || /bin/sh /bin/sh /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/work/adesklets-0.6.1/install-sh -d  /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info
/bin/sh: /bin/sh: cannot execute binary file
make[1]: *** [install] Error 126
make[1]: Leaving directory `/var/tmp/portage/x11-misc/adesklets-0.6.1-r1/work/adesklets-0.6.1/doc'
make: *** [install-recursive] Error 1

!!! ERROR: x11-misc/adesklets-0.6.1-r1 failed.
Comment 1 Dave 2006-12-03 09:16:46 UTC
Created attachment 103282 [details]
emerge --info
Comment 2 ebfe 2006-12-03 10:58:01 UTC
your cflags are heavilly borked and usually worthless.

read the gcc docs, fix your cflags, reemerge glibc & coreutils, retry, done.
Comment 3 Dave 2006-12-03 14:27:56 UTC
That's not the problem... 
It's because there is "/bin/sh /bin/sh"
Look on the 5th line down
Comment 4 ebfe 2006-12-03 14:56:05 UTC
read the gcc docs, fix your cflags, reemerge glibc & coreutils, retry, done.

Comment 5 Dave 2006-12-03 15:09:33 UTC
That's not the problem - why are you try...  shouldn't the line that says:
test -d /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info 
/bin/sh /bin/sh /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/work/adesklets-0.6.1/install-sh -d
 /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info

Be:
test -d /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info 
/bin/sh /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/work/adesklets-0.6.1/install-sh -d
 /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info

I modified that, and it works.  Why are you trying to execute /bin/sh with /bin sh?  That makes no sense and is a bug.
Comment 6 Dave 2006-12-03 15:12:28 UTC
That's not the problem.  shouldn't the line that says:
test -d /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info 
/bin/sh /bin/sh
/var/tmp/portage/x11-misc/adesklets-0.6.1-r1/work/adesklets-0.6.1/install-sh -d
 /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info

Be:
test -d /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info 
/bin/sh
/var/tmp/portage/x11-misc/adesklets-0.6.1-r1/work/adesklets-0.6.1/install-sh -d
 /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info

I modified that, and it works.  Why are you trying to execute /bin/sh with /bin
sh?  That makes no sense and is a bug.
Comment 7 Dave 2006-12-03 15:16:22 UTC
My code didn't quite copy,

It should be:
test -d /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info ||
/bin/sh
/var/tmp/portage/x11-misc/adesklets-0.6.1-r1/work/adesklets-0.6.1/install-sh -d
 /var/tmp/portage/x11-misc/adesklets-0.6.1-r1/image//usr/share/info

Note that after the || there was a "/bin/sh /bin/sh" which is causing the failure, since /bin/sh is a binary file not an ascii file
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-12-23 01:28:55 UTC
*** Bug 158887 has been marked as a duplicate of this bug. ***
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2006-12-23 02:15:15 UTC
(In reply to comment #4)
> read the gcc docs, fix your cflags, reemerge glibc & coreutils, retry, done.
> 

You don't have to be mean about it since that would only waste his time and do no good since it has nothing to do with this problem.
Comment 10 Botykai Zsolt 2007-01-24 07:24:52 UTC
Dave, please tell us what to modify where, so we can compile it too!
Thanks in advance,
Zsolt
Comment 11 Michele Noberasco (RETIRED) gentoo-dev 2007-01-24 08:45:03 UTC
Added some magic sed to fix this issue. Thanks for the submission!
Comment 12 Michele Noberasco (RETIRED) gentoo-dev 2007-01-24 08:47:48 UTC
*** Bug 155847 has been marked as a duplicate of this bug. ***
Comment 13 Botykai Zsolt 2007-01-24 13:55:37 UTC
Thanks, it compiled for me!