Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181802 - lt_setup nowhere defined?
Summary: lt_setup nowhere defined?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Solaris
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-12 17:20 UTC by Rabbe Fogelholm
Modified: 2008-05-12 18:32 UTC (History)
0 users

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


Attachments
The logfile referred to in the console printout (config.log,27.86 KB, text/plain)
2007-06-12 18:00 UTC, Rabbe Fogelholm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2007-06-12 17:20:43 UTC
When trying to emerge libtool, as part of the "prefix Gentoo" bootstrapping sequence for x86 Solaris 10, I get this error (/opt/g2 is my EPREFIX):

/opt/g2/usr/portage/sys-devel/libtool/libtool-1.5.23b.ebuild: line 88: lt_setup: command not found

I tried to look around for a definition of lt_setup, but could not find it; there is nothing under /opt/g2/usr/portage/eclass for example.

Later on the ebuild fails with these messages, possibly a consequence of lt_setup not having been done:

checking for correct ltmain.sh version... no
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.23b, ltmain.sh = ) ***

Please run:

  libtoolize --copy --force

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


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /opt/g2/var/tmp/portage/sys-devel/libtool-1.5.23b/work/libtool-1.5.23b/config.log

!!! ERROR: sys-devel/libtool-1.5.23b failed.
Call stack:
  ebuild.sh, line 1561:   Called dyn_compile
  ebuild.sh, line 913:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  libtool-1.5.23b.ebuild, line 89:   Called econf
  ebuild.sh, line 516:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/opt/g2/var/tmp/portage/sys-devel/libtool-1.5.23b/temp/build.log'.
Comment 1 Rabbe Fogelholm 2007-06-12 18:00:26 UTC
Created attachment 121832 [details]
The logfile referred to in the console printout
Comment 2 Rabbe Fogelholm 2007-06-13 06:16:24 UTC
I retried by specifying that =sys-devel/libtool-1.5.22 should be merged instead. This version of the ebuild does not have the lt_setup problem (it is defined within the ebuild itself). However, the emerge operation still fails, now with 

configure: error:

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

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.
Comment 3 Rabbe Fogelholm 2007-06-13 20:50:44 UTC
Good news, I have found the reason why libtool-1.5.22 did not emerge properly for me. It turned out that I was using Solaris egrep, which does not extract the VERSION info as intended from the 'configure' file of the unpacked tarball, thus causing the "sanity check" failure.

In conclusion then, I leave this bug as "NEW". It pertains specifically to the libtool-1.5.23b ebuild, and it should be noted that the "sanity check" failure is unrelated to the actual issue: there is no definition of lt_setup.
Comment 4 Fabian Groffen gentoo-dev 2007-06-14 10:49:40 UTC
so why did it find Solaris' egrep?  Does it look for egrep before grep -E or something?  It looks to me like egrep also gets installed by the grep installation in the tmp dir.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2007-09-17 16:42:40 UTC
(In reply to comment #4)
> so why did it find Solaris' egrep?  Does it look for egrep before grep -E or
> something?  It looks to me like egrep also gets installed by the grep
> installation in the tmp dir.
> 

grobian, looks like this bug can be closed. You are correct that egrep gets installed via bootstrap. Libtool 1.5.24 installed just fine for me on the same platform. I would suspect that the OP didn't bootstrap grep or had a wierd PATH. Just a guess though.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-12 18:32:13 UTC
Resolving as INVALID only because the libtool version referenced in this bug is no longer in the prefix tree. Thanks for reporting..