Summary: | dev-build/libtool requires /usr/lib*/libltdl.la | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nathan Phillip Brink (binki) (RETIRED) <binki> |
Component: | [OLD] Development | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bruno, esigra, pacho, tommy, victor.pelt |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 306835, 213563, 383929 | ||
Attachments: |
files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch
files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch configure-no-ltdl.la.patch libtool.eclass-configure-patches.patch |
Description
Nathan Phillip Brink (binki) (RETIRED)
2009-11-21 06:58:45 UTC
please see bug 293923 for the failed build of imagemagick dont go deleting random files on your system *** Bug 293923 has been marked as a duplicate of this bug. *** (In reply to comment #2) > dont go deleting random files on your system > This isnt about radom deletion of files, but about removing .la files, which should not be used on systems with dynamic linking. In this case, the multilib-portage branch does remove all .la files, which dont contain a "shouldnotlink=yes" line. Since libltdl.la contains "shouldnotlink=no", its one of the files, which are removed by multilib-portage during install stage. Do you have a good reason to preserve such .la files on default sytems with dynamic linking? There is a reason why I never said "just delete all the .la files existing in the world"… libtool does work this way and needs that .la file, so unless you bring it up upstream, we cannot do much about that. *** Bug 306839 has been marked as a duplicate of this bug. *** Created attachment 221239 [details]
files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch
Hacky patch around this behavior.
Created attachment 221357 [details, diff]
files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch
Updated with help from ferret_ and tommy.
if it were converted into an ELT patch, that'd probably be doable Created attachment 287619 [details, diff] configure-no-ltdl.la.patch Rewritten in ELT style, just plop into eclass/ELT-patches/ltdl-la-conf/ and apply the next patch I attach to libtool.eclass. Tested to fix at least the src_configure() for imagemagick (bug 383929). Created attachment 287621 [details, diff]
libtool.eclass-configure-patches.patch
Generallized support for future ELT patches which patch ./configure. Add ltdl-la-conf to the default list of ELT patches.
i'll test this a bit, but otherwise looks fine Any updates on this? :) Thanks |