First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 74669
Alias:
Product:
Component:
Status: VERIFIED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: SpanKY <vapier@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 74669 depends on: Show dependency tree
Bug 74669 blocks: 119872
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.





View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-16 12:37 0000
the ebuild runs `elibtoolize` for no reason ...
 * Patching ${S}/ltmain.sh ...
 *   Could not apply portage.patch!
 *   Please verify that it is not needed.
 * Cannot apply any patch, running libtoolize...

when all the patches fail, elibtoolize runs `libtoolize --copy --force` which then triggers a libtool version mismatch between configure and ltmain.sh

------- Comment #1 From SpanKY 2004-12-17 11:57:15 0000 -------
*** Bug 74751 has been marked as a duplicate of this bug. ***

------- Comment #2 From SpanKY 2004-12-24 02:04:37 0000 -------
*** Bug 75240 has been marked as a duplicate of this bug. ***

------- Comment #3 From SpanKY 2005-01-30 11:15:40 0000 -------
*** Bug 80076 has been marked as a duplicate of this bug. ***

------- Comment #4 From Joe McCann (RETIRED) 2005-02-04 23:12:40 0000 -------
I have been testing the gnome2 eclass without the elibtoolize call since this
bug was reported. I haven't run into any problems, and have built at least
everything in the gnome-desktop release. I don't see a need to call elibtoolize
for every package that uses this eclass, and think it should be done on a per
package basis when needed. Comments welcome..

------- Comment #5 From SpanKY 2005-03-08 18:31:20 0000 -------
*** Bug 84556 has been marked as a duplicate of this bug. ***

------- Comment #6 From SpanKY 2005-03-09 17:00:27 0000 -------
*** Bug 84556 has been marked as a duplicate of this bug. ***

------- Comment #7 From Geoffrey Huang 2005-03-27 14:58:10 0000 -------
I am seeing a similar error when trying to build mono from source:
checking for strip... strip
checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.14, ltmain.sh = 1.4.2) ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

configure: error: /bin/sh './configure' failed for libgc

------- Comment #8 From Brian Bashore 2005-05-15 12:14:55 0000 -------
The emerge of Gnome I'm trying to complete is apparently coughing up for the
same reason on lcms-1.13. Tried a proposed fix to the libtool.m4 and ltmain.sh
mismatch offered by the folks working with Mono to edit ltmain.sh to a matching
version with libtool.m4. However, it still gives me the same as before since
the emerge just messes with ltmain.sh again.

Solution I found is to add after src_compile() in the ebuild in
/usr/portage/media-libs/lcms/ the following: 
   aclocal 
   libtoolize --force --copy 
   autoconf 

Then run "ebuild [full path to the ebuild file] digest" followed by "ebuild
[full path to the ebuild file] compile", then a "ebuild [full path to the
ebuild file] install, and finally "ebuild [full path to the ebuild file]
qmerge".  So now I have no more:

*** Gentoo Sanity Check Failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.16, ltmain.sh = 1.5) ***

Please run:

libtoolize --copy --force

if appropriate please contact the maintainer...

!!! Please attach the config.log...
!!! /var/tmp/portage/lcms-1.13...

!!! ERROR media-libs/lcms-1.13 failed.
!!! Function econfig, Line 485, Exitcode 0
!!! econfig failed.
!!! If you need support...

------- Comment #9 From foser (RETIRED) 2005-05-19 09:43:23 0000 -------
elibtoolize is now conditionalized in the eclass on the setting of the ELTCONF
var. This is because some ebuilds still do pass some options
(scim*/gal/evolution/libgtkhtml) which were important to have at the time, these
individual cases should be investigated and obsoleted before the use of
elibtoolize can be completely dropped.

------- Comment #10 From foser (RETIRED) 2005-05-19 09:44:13 0000 -------
and closing..

------- Comment #11 From foser (RETIRED) 2005-05-27 16:27:31 0000 -------
Got reports that disabling this caused '/var/tmp/portage*' paths in .la files,
reverted the change for until this gets figured out.

------- Comment #12 From Jakub Moc (RETIRED) 2005-06-20 12:19:53 0000 -------
*** Bug 96635 has been marked as a duplicate of this bug. ***

------- Comment #13 From Martin Schlemmer (RETIRED) 2006-01-21 16:21:00 0000 -------
I added the proper patch for libtool 1.4.1 (what all versions of libxmlpp I
checked in portage at least use) some time back, so this should be a non issue,
and can be closed.

------- Comment #14 From John N. Laliberte (RETIRED) 2006-01-29 05:37:59 0000 -------
i added foser's change back in our svn overlay for more testing.

------- Comment #15 From Martin Schlemmer (RETIRED) 2006-02-03 13:24:01 0000 -------
(In reply to comment #14)
> i added foser's change back in our svn overlay for more testing.
> 

Err, removing the elibtoolize call again?  Please do not, it is needed.  What I
meant, was that it should not fail on patching any more (comment #0), so no
need to remove it in the first place.

------- Comment #16 From Diego E. 'Flameeyes' Pettenò 2006-02-03 13:33:08 0000 -------
FWIW elibtoolize now is forced by eautoreconf, too (and it's skipped when not
required anyway), as it's an important requirement for example for
Gentoo/FreeBSD to get decently-named libraries (and has to be run with final
autoconf output).

------- Comment #17 From Martin Schlemmer (RETIRED) 2006-02-03 13:56:04 0000 -------
I dont see why ... all the patches are already in our libtool.

------- Comment #18 From Martin Schlemmer (RETIRED) 2006-02-03 13:57:55 0000 -------
Just in case anybody wondered .. elibtoolize (which might rather have been
called elibtoolpatch or something), have nothing in common with libtoolize -
its purely to make sure needed patches are applied to shipped versions of
libtool without the pain of running libtoolize and all the pain it might cause
due to lack of knowledge or missing macro's ...

------- Comment #19 From John N. Laliberte (RETIRED) 2006-02-03 14:04:18 0000 -------
reverted change in svn, resolving since the original issue has been fixed.

Thanks az

------- Comment #20 From Martin Schlemmer (RETIRED) 2006-02-03 14:05:41 0000 -------
(In reply to comment #17)
> I dont see why ... all the patches are already in our libtool.
> 

Err, nm me, I missed the FBSD bit ... Sorry Diego.

------- Comment #21 From Diego E. 'Flameeyes' Pettenò 2006-02-03 14:07:54 0000 -------
There are a few patches applied also if libtoolize is already called (see
example on KDE's packages I'm testing now):

 * Running elibtoolize in: kpdf-3.5.1/admin
 *   Applying portage-1.4.1.patch ...
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.4.3.patch ...

Also, some packages uses an internal copy of libtool.m4 that makes libtoolize a
no-op for Gentoo/FreeBSD.
Better safe than sorry, I'd rather force it :)

------- Comment #22 From Martin Schlemmer (RETIRED) 2006-02-03 14:14:22 0000 -------
(In reply to comment #21)
> There are a few patches applied also if libtoolize is already called (see
> example on KDE's packages I'm testing now):
> 
>  * Running elibtoolize in: kpdf-3.5.1/admin
>  *   Applying portage-1.4.1.patch ...
>  *   Applying max_cmd_len-1.5.0.patch ...
>  *   Applying sed-1.4.3.patch ...
> 

They get applied twice :/  Should probably add a test for them ... although the
max_cmd_len and sed ones does not matter if they do.  The portage one is wrong
though, and might cause issues - guess I will need to add a test to see if we
should apply or not.

------- Comment #23 From Martin Schlemmer (RETIRED) 2006-02-03 14:20:52 0000 -------
Should be fixed now for portage patch at least .. some extra eyes would be
welcome.

------- Comment #24 From Diego E. 'Flameeyes' Pettenò 2006-02-03 14:29:34 0000 -------
Okay portage is skipped... I'm wondering how it can apply the same patch twice,
and why it applies the patch 1.5.0 instead of 1.5.20 for max_cmd_len.
(by the way, seems like KDE packages has the faulty libtool.m4 provided..).

------- Comment #25 From Martin Schlemmer (RETIRED) 2006-02-03 14:34:12 0000 -------
(In reply to comment #24)
> Okay portage is skipped... I'm wondering how it can apply the same patch twice,
> and why it applies the patch 1.5.0 instead of 1.5.20 for max_cmd_len.
> (by the way, seems like KDE packages has the faulty libtool.m4 provided..).
> 

Hmm, yeah, might add a find in the _elibtoolize func to search specified
include dirs for included libtool.m4's, and rm them, else we might run into
issues, as the specified includes for aclocal are searched before the system
includes, which might (and probably will in most cases) cause a version
mismatch  ...

First Last Prev Next    No search results available      Search page      Enter new bug