Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92350 - libtool eclass - Portage patch failed to apply (ltmain.sh version 1.3.4)!
Summary: libtool eclass - Portage patch failed to apply (ltmain.sh version 1.3.4)!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 92395 (view as bug list)
Depends on:
Blocks: 92292
  Show dependency tree
 
Reported: 2005-05-12 03:43 UTC by Damian Kolkowski
Modified: 2005-05-15 11:43 UTC (History)
6 users (show)

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


Attachments
gtk+-1.2.10-r11.ebuild.patch (gtk+-1.2.10-r11.ebuild.patch,601 bytes, patch)
2005-05-12 13:15 UTC, Damian Kolkowski
Details | Diff
lcms-1.13.ebuild.patch (lcms-1.13.ebuild.patch,411 bytes, patch)
2005-05-12 13:16 UTC, Damian Kolkowski
Details | Diff
libtool.eclass.patch (libtool.eclass.patch,1.18 KB, patch)
2005-05-12 13:17 UTC, Damian Kolkowski
Details | Diff
gtk+-1.2.10-r11.ebuild (gtk+-1.2.10-r11.ebuild,1.88 KB, application/octet-stream)
2005-05-12 23:50 UTC, Damian Kolkowski
Details
gtk+-1.2.10-r11.ebuild (gtk+-1.2.10-r11.ebuild,1.91 KB, text/plain)
2005-05-12 23:58 UTC, Damian Kolkowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damian Kolkowski 2005-05-12 03:43:29 UTC
There are some changes in elibtoolize from libtool eclass, so wee need to use libtoolize --copy --force as it wass used with lcms-1.13-r1.ebuild...

Reproducible: Always
Steps to Reproduce:
1. emerge =gtk+-1.2.10-r11
2.
3.

Actual Results:  
>>> Unpacking source...
>>> Unpacking gtk+-1.2.10.tar.gz to /var/tmp/portage/gtk+-1.2.10-r11/work
 * Applying gtk+-1.2.10-m4.patch ...                                           
                                                          [ ok ]
 * Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ...                                 
                                                          [ ok ]
 * Applying gtk+-1.2-locale_fix.patch ...                                      
                                                          [ ok ]
 * Patching ${S}/ltmain.sh ...

 * Portage patch failed to apply (ltmain.sh version 1.3.4)!

!!! ERROR: x11-libs/gtk+-1.2.10-r11 failed.
!!! Function elibtoolize, Line 240, Exitcode 0
!!! Portage patch failed to apply!
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
Patch:

#elibtoolize

libtoolize --copy --force
aclocal || die "aclocal failed"
autoreconf || die "autoreconf failed"
Comment 1 Damian Kolkowski 2005-05-12 03:45:37 UTC
Patch:

#elibtoolize

libtoolize --copy --force
aclocal || die "aclocal failed"
autoreconf || die "autoreconf failed"
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-12 03:57:35 UTC
Why is this marked as fixed? Is it in CVS? Besides, there is (at least) one other bug about this - Bug 92292. Seems like more generic problem than just gtk+-1.2.10-r11...
Comment 3 Barry Bulls 2005-05-12 05:53:27 UTC
this post on the forums
http://forums.gentoo.org/viewtopic-p-2402447.html
seems to point away from the ebuilds to something with the libtool eclass.
Comment 4 Damian Kolkowski 2005-05-12 09:01:04 UTC
Following http://www.gentoo.org/cgi-bin/viewcvs.cgi/eclass/libtool.eclass?rev=1.46&view=log it seams that there is no nead to inherit libtool in gtk+-1.2.10-r11.ebuild ;-)

So simply remove it.

Martin Schlemmer <azarah@gentoo.org> add this functionality to the libtool.eclass latest version :-)

Take care.

Comment 5 Barry Bulls 2005-05-12 09:07:08 UTC
the current x86 version of lcms also fails with the same error.
Comment 6 Damian Kolkowski 2005-05-12 10:22:14 UTC
So please tray to emerge -r1. There is libtoolize --copy --force used.

But it should be in the libtool.eclass instead ;-)

So if you want you can download my eclass, gtk+ and lcms from this:
http://kolkowski.no-ip.org/~deimos/elibtoolize_bug.tgz

Works for me fine.
Comment 7 Damian Kolkowski 2005-05-12 13:15:36 UTC
Created attachment 58767 [details, diff]
gtk+-1.2.10-r11.ebuild.patch

http://kolkowski.no-ip.org/~deimos/elibtoolize_bug.tgz
Comment 8 Damian Kolkowski 2005-05-12 13:16:40 UTC
Created attachment 58768 [details, diff]
lcms-1.13.ebuild.patch

http://kolkowski.no-ip.org/~deimos/elibtoolize_bug.tgz
Comment 9 Damian Kolkowski 2005-05-12 13:17:13 UTC
Created attachment 58769 [details, diff]
libtool.eclass.patch

http://kolkowski.no-ip.org/~deimos/elibtoolize_bug.tgz
Comment 10 Damian Kolkowski 2005-05-12 23:50:21 UTC
Created attachment 58801 [details]
gtk+-1.2.10-r11.ebuild

There is no nead to change libtool.eclass.

It's a good patch 1.46 to the libtool.eclass, so we can see that ltmain.sh has
different version, and only way to patch this is --force :-)
Comment 11 Damian Kolkowski 2005-05-12 23:58:15 UTC
Created attachment 58802 [details]
gtk+-1.2.10-r11.ebuild

I forgot to add libtoolize --copy --force ;-)
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 00:15:43 UTC
*** Bug 92395 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 00:25:54 UTC
Seems not gnome-specific, CCing video b/c of duplicate Bug 92395, and also azarah, maybe he could explain the eclass changes. ;-)
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 00:40:12 UTC
Just a note, vapier was kind enough to fix the problem with gtk+ (Bug 92377). 
Comment 15 Martin Schlemmer (RETIRED) gentoo-dev 2005-05-13 01:26:27 UTC
Sure.  Whoever should either not elibtoolize so that we do not run libtool -c -f if not needed, or port the portage patch to that version of libtool.
Comment 16 Damian Kolkowski 2005-05-13 03:07:25 UTC
emerge sync and it's all done, thanks :-)
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 03:21:10 UTC
Damian, please don
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 03:21:10 UTC
Damian, please don´t close this bug - gtk+ is fixed (because vapier fixed it separately) but the other things are not (Bug 92292 and Bug 92395). 
Comment 19 Damian Kolkowski 2005-05-13 03:55:01 UTC
Jakub, gnome-print-0.37 is compiling with uclibctoolize just like gtk+-1.2.10-r11, lcms-1.13-r1 is patched and transcode-0.6.14-r2 have working patch.
Comment 20 Martin Schlemmer (RETIRED) gentoo-dev 2005-05-13 04:12:55 UTC
Backported portage patch.
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2005-05-15 06:58:54 UTC
Three new bugs just today - Bug 92696, Bug 92700, Bug 92706.

I
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2005-05-15 06:58:54 UTC
Three new bugs just today - Bug 92696, Bug 92700, Bug 92706.

I´m still not sure what´s fixed and what´s not fixed, so I commented accordingly on those bugs. Seeing that there are tons of xmms plug-ins, maybe those bugs should be marked as duplicate of this one and this bug should be reopened (if those are still not fixed). 

Comments? Adding sound herd to CC.
Comment 23 Martin Schlemmer (RETIRED) gentoo-dev 2005-05-15 11:43:24 UTC
I replied to all for you.