Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75092 - jpeg-6b-r4 fails because of missing 'local' copy of 'libtool' binary
Summary: jpeg-6b-r4 fails because of missing 'local' copy of 'libtool' binary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: InVCS
: 74846 75574 88444 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-20 12:38 UTC by James Couzens
Modified: 2005-08-16 21:33 UTC (History)
5 users (show)

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 James Couzens 2004-12-20 12:38:30 UTC
jpeg-6b-r4 fails because of missing 'local' copy of 'libtool' binary 

When attempting to emerge it fails citing an inability to recognize 'x86_64-pc-linux-gnu' because it can't find a copy of 'libtool' to run, even though there is a copy in '/usr/bin/' on my system.  Copying 'libtool' from '/usr/bin' to '/var/tmp/portage/jpeg-6b-r3/work/jpeg-6b-r3' quicky solved the problem and it builds and installs fine.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 James Couzens 2004-12-20 12:39:08 UTC
Errrr... replace 'r3' with 'r4' where appropriate... .small typo on my part
Comment 2 Jon Mason 2004-12-21 09:40:35 UTC
I am seeing the problem too (also on amd64).  The fix is to modify line 1532 of the "configure" file to remove the preceding "./".  After that change it compiles fine.


--- configure.orig      2004-12-21 11:38:47.079956656 -0600
+++ configure   2004-12-21 11:38:54.462834288 -0600
@@ -1529,7 +1529,7 @@ fi

 if test "x$LTSHARED" != xno  -o  "x$LTSTATIC" != xno; then
   USELIBTOOL="yes"
-  LIBTOOL="./libtool"
+  LIBTOOL="libtool"
   O="lo"
   A="la"
   LN='$(LIBTOOL) --mode=link $(CC)'
Comment 3 Nick Dimiduk (RETIRED) gentoo-dev 2004-12-21 09:57:31 UTC
*** Bug 74846 has been marked as a duplicate of this bug. ***
Comment 4 Jon Mason 2004-12-21 16:48:52 UTC
The patch from comment #2 needs to be sent to the "http://www.ijg.org/" people to fix the root cause of gentoo's brokenness.  I've managed to find a ebuild hack that will allow it to build without any problems until the patch from comment #2 is sent and accepted by the jpeg folk.  Please add this one-liner to jpeg-6b-r4.ebuild

--- jpeg-6b-r4.ebuild.orig      2004-12-21 18:47:30.295433504 -0600
+++ jpeg-6b-r4.ebuild   2004-12-21 18:36:46.050373640 -0600
@@ -30,6 +30,7 @@ src_unpack() {
 }

 src_compile() {
+       cp /usr/bin/libtool .
        replace-cpu-flags k6 k6-2 k6-3 i586
        econf --enable-shared --enable-static || die "econf failed"
        emake \
Comment 5 Hasan Khalil (RETIRED) gentoo-dev 2004-12-31 14:59:49 UTC
Any update on this? It's been a while with jpeg broken...
Comment 6 Karol Wojtaszek (RETIRED) gentoo-dev 2005-01-04 06:35:45 UTC
*** Bug 75574 has been marked as a duplicate of this bug. ***
Comment 7 Karol Wojtaszek (RETIRED) gentoo-dev 2005-01-04 10:04:08 UTC
Fixed in CVS, thanks.
Comment 8 Mark Loeser (RETIRED) gentoo-dev 2005-08-16 21:33:06 UTC
*** Bug 88444 has been marked as a duplicate of this bug. ***