Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248829 - portage-2.2 does not depend on libtool-2.x
Summary: portage-2.2 does not depend on libtool-2.x
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 22:39 UTC by Thomas Zwaagstra
Modified: 2008-11-25 23:26 UTC (History)
0 users

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 Thomas Zwaagstra 2008-11-25 22:39:20 UTC
When portage-2.2 (example portage-2.2_rc16) is installed with libtool-1.5.26, some packages fail to compile.  Installing libtool-2.2 (example libtool-2.2.6a) fixes this problem.

Perhaps libtool-2.x should be a dependency of the newer portage 2.2x.

fix described for gnutls:
https://bugs.gentoo.org/show_bug.cgi?id=245544

other affected packages:
gedit-2.24.2
(4 other packages with I neglected to write down and possibly others)

Reproducible: Always

Steps to Reproduce:
1. Unmask and install portage-2.2x
2. Forget to unmask libtool-2.x
3. Emerge world, wait for various packages to fail with cryptic libtool errors

Actual Results:  
../libtool: line 868: X--tag=CC: command not found
../libtool: line 868: X--tag=CC: command not found
../libtool: line 868: X--tag=CC: command not found
../libtool: line 901: libtool: ignoring unknown tag : command not found
../libtool: line 868: X--tag=CC: command not found
../libtool: line 901: libtool: ignoring unknown tag : command not found
../libtool: line 868: X--mode=compile: command not found
../libtool: line 901: libtool: ignoring unknown tag : command not found
../libtool: line 868: X--tag=CC: command not found
../libtool: line 868: X--mode=compile: command not found
../libtool: line 901: libtool: ignoring unknown tag : command not found
../libtool: line 868: X--mode=compile: command not found


Expected Results:  
successfully compile packages...
Comment 1 Zac Medico gentoo-dev 2008-11-25 23:03:41 UTC
If the new libtool solves problems with preserved libs, such as bug #244636, that that would give us a reason.

However, it seems that problem from bug #245544 was that the gnutls-2.6.0 package itself required the new libtool in order to build (it has since be fixed to build with older libtool). For cases like bug #245544, rather than change portage's dependencies, it would be more appropriate to adjust the dependencies of the relevant package that fails to build, or fix the package to build with older libtool.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-25 23:05:20 UTC
I think this would be the wrong approach. When you look at the gnutls bug you
referred to, you will see that the _correct_ solution for this bug was not to
raise dependency on libtool but rather delete all shipped libtool macros from
the source package and regenerate them with help of autotools (eautoreconf).
The error is not really the installed/used libtool-version but source-packages
shipping pre-generated libtool-macros from other libtool-versions than being
installed on your host.
Also I don't think the gentoo-devs just put some (for the package itself rather
unecessary) dependency on libtool into portage. I think they rather prefer the
affected packages getting fixed (as they are supposed to compile with more than
just some specific versions of libtool).
Comment 3 Zac Medico gentoo-dev 2008-11-25 23:14:38 UTC
(In reply to comment #2)
But how is any of this related to portage-2.2 as opposed to any earlier version of portage?
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-25 23:26:56 UTC
Sorry zac, mid-air collision...

comment #2 was my answer to comment #0
I agree with what you wrote in comment #1