Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108674 - anjuta compile fails; libtool version missmatch
Summary: anjuta compile fails; libtool version missmatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Philip Walls (RETIRED)
URL:
Whiteboard:
Keywords:
: 112350 113475 114779 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-09 16:59 UTC by Glenn L. McGrath
Modified: 2005-12-28 06:30 UTC (History)
7 users (show)

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


Attachments
libtool fix (anjuta.libtool.fix,301 bytes, patch)
2005-10-09 17:08 UTC, Glenn L. McGrath
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Glenn L. McGrath 2005-10-09 16:59:06 UTC
Trying to compile anjuta-1.2.4

checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-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.20, ltmain.sh = 1.5.18) ***

Please run:

  libtoolize --copy --force

# libtool --version
ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15)


Reproducible: Always
Steps to Reproduce:
Comment 1 Glenn L. McGrath 2005-10-09 17:08:36 UTC
Created attachment 70258 [details, diff]
libtool fix

Run libtoolsize --force --copy after antoreconf as per
http://article.gmane.org/gmane.linux.gentoo.devel/23449/match=gentoo+libtoolize
Comment 2 Scott McKenzie 2005-10-28 21:53:49 UTC
ooh, aah Glenn McGrath.  Didn't know you were a Gentoo user :)  Attached patch
fixed the problem for me.  Thanks.
Comment 3 Glenn L. McGrath 2005-10-29 00:59:50 UTC
Im not the cricketer, i do get a few of those comments.
Comment 4 Lars Weber 2005-10-30 09:49:34 UTC
(In reply to comment #2)
> ooh, aah Glenn McGrath.  Didn't know you were a Gentoo user :)  Attached patch
> fixed the problem for me.  Thanks.

Hi :)
How did you attach the patch?
I tried to alter the anjuta ebuild file manualy, but all I got was an error
regarding a filesize missmatch of the ebuild file.

Regards,
Lars
Comment 5 Gary Stein 2005-10-30 22:27:10 UTC
ebuild /usr/portage/dev-util/anjuta/anjuta-1.2.4.ebuild digest

would fix the file size complaint but it is a temp fix,
next emerge will kill it. So either put it in your local
portage tree or hope they add it to the normal tree.

Side note to anyone watching, elibtoolize ebuild function
I think should have fixed this instead of calling

libtoolize --copy --force

directly
Comment 6 Lars Weber 2005-11-04 17:15:19 UTC
Thanks a lot,

Lars

Comment 7 Steve Egbert 2005-11-09 14:18:56 UTC
How can this bug be fixed if it is not yet in the portage.

In other word, will we see a version 1.2.4.1 or 1.2.5?
Comment 8 efxbug 2005-11-10 17:48:53 UTC
I fixed the bug by changing autoreconf with autoreconf --install --force in ebuild
Is it correct or better to libtoolize --install --force?
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-11-13 00:35:49 UTC
*** Bug 112350 has been marked as a duplicate of this bug. ***
Comment 10 Lucas Marshall 2005-11-14 22:12:03 UTC
(In reply to comment #1)
> Created an attachment (id=70258) [edit]
> libtool fix
> 
> Run libtoolsize --force --copy after antoreconf as per
> http://article.gmane.org/gmane.linux.gentoo.devel/23449/match=gentoo+libtoolize
> 

I tried doing exactly as you said, and I still get the same results.  When I go
back into the ebuild file where I added the line above, it is missing (after
running emerge)? Im really not sure if Im doing this right, but it appears to
not be a fix?
Comment 11 Chad Granum 2005-11-15 07:54:19 UTC
how would a user apply this patch in order to compile anjuta? I have read the
threads and I understand what the problem is, yet I am vague on how to actually
use the fixes provided...

Thank you.
Comment 12 Glenn L. McGrath 2005-11-15 13:52:50 UTC
After you modify the anjuta ebuild file type 'emerge anjuta'

When you run 'emerge sync' the changes you made are lost.
Comment 13 Lucas Marshall 2005-11-15 20:10:34 UTC
(In reply to comment #12)
> After you modify the anjuta ebuild file type 'emerge anjuta'
> 
> When you run 'emerge sync' the changes you made are lost.

I didnt run 'emerge sync' I did exactly as you said.  I modified the file, then
typed 'emerge anjuta'.  

The only thing I could have done differently is if I modified the wrong file.  I
modified:

/var/tmp/portage/anjuta-1.2.4/build-info/anjuta-1.2.4.ebuild

however when after running 'emerge anjuta' the above file that I modified, looks
like it did before I modified it.  If Im modifying the wrong file pleas let me
know. 
Comment 14 Chad Granum 2005-11-16 20:23:02 UTC
Abydos-64 anjuta # patch anjuta-1.2.4.ebuild patch.p 
patching file anjuta-1.2.4.ebuild
Hunk #1 FAILED at 44.
Hunk #2 FAILED at 44.
2 out of 2 hunks FAILED -- saving rejects to file anjuta-1.2.4.ebuild.rej


what did I do wrong?
Comment 15 Chad Granum 2005-11-16 20:34:30 UTC
ok, I got it, for those like me who did not understand right away here is the
crystal clear step by step solution:

edit /usr/portage/dev-util/anjuta/anjuta-1.2.4.ebuild  in a text editor

find this section:
 	sed -i -e "s:packageplugindir=lib:packageplugindir=$(get_libdir):" \
 		configure.in
 	autoreconf

add this line:

	libtoolize --copy --force || die

making:

@@ -44,6 +44,7 @@
 	sed -i -e "s:packageplugindir=lib:packageplugindir=$(get_libdir):" \
 		configure.in
 	autoreconf
	libtoolize --copy --force || die

then to make it work w/o an error type this:
ebuild /usr/portage/dev-util/anjuta/anjuta-1.2.4.ebuild digest

then emerge anjuta
Comment 16 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-11-27 14:28:10 UTC
*** Bug 113475 has been marked as a duplicate of this bug. ***
Comment 17 Matthias Langer 2005-12-03 17:43:19 UTC
I reply to comment #15:
I would better use patch instead of an editor 
[patch target patchfile] and then
ebuild /usr/portage/dev-util/anjuta/anjuta-1.2.4.ebuild digest

By the way:
This patch seems to work for me as anjuta is compiling this moment.
Comment 18 moesasji 2005-12-07 10:13:21 UTC
I encountered the same problem re-emerging anjuta-1.2.4, while updating to GCC
3.4.4. The correction to the ebuild as suggested in comment #15 indeed makes
anjuta emerge properly. 

Hopefully the ebuild can be updated by the maintainer. Hitting bugs that have
been resolved some time ago is always annoying.
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2005-12-07 10:24:42 UTC
*** Bug 114779 has been marked as a duplicate of this bug. ***
Comment 20 Sebastian Biallas 2005-12-13 16:34:25 UTC
How can this bug be open for 2 months? It has a patch and is actually a blocker
for anjuta.
Comment 21 Glenn L. McGrath 2005-12-16 20:01:31 UTC
Its taken so long to fix this bug its been incorporated into the gtk fix in #115860, for patches to build anjuta go to
http://bugs.gentoo.org/show_bug.cgi?id=115680
Comment 22 Philip Walls (RETIRED) gentoo-dev 2005-12-28 06:30:54 UTC
Thanks for the report and sorry for the delay. Fix commited to CVS.