Bug 157002 - x11-misc/adesklets-0.6.1-r1 won't compile
|
Bug#:
157002
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: desktop-dock@gentoo.org
|
Reported By: dliana@frontiernet.net
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: x11-misc/adesklets-0.6.1-r1 won't compile
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-12-03 09:16 0000
|
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.
your cflags are heavilly borked and usually worthless.
read the gcc docs, fix your cflags, reemerge glibc & coreutils, retry, done.
That's not the problem...
It's because there is "/bin/sh /bin/sh"
Look on the 5th line down
read the gcc docs, fix your cflags, reemerge glibc & coreutils, retry, done.
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.
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.
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
*** Bug 158887 has been marked as a duplicate of this bug. ***
(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.
Dave, please tell us what to modify where, so we can compile it too!
Thanks in advance,
Zsolt
Added some magic sed to fix this issue. Thanks for the submission!
*** Bug 155847 has been marked as a duplicate of this bug. ***
Thanks, it compiled for me!