Summary: | autotools.eclass: autoreconf fails to reconfigure libltdl after libtoolizing it in | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Eclasses | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | alexander, bertrand, pacho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 531462 | ||
Attachments: | Patch delaying subdir eautoreconf |
Description
Michał Górny
![]() ![]() ![]() ![]() Created attachment 392756 [details, diff]
Patch delaying subdir eautoreconf
Oh, I was wrong. For (2) you don't actually need explicit LT_CONFIG_LTDL_DIR, AC_CONFIG_SUBDIRS handles it.
Attaching example patch that works for me. It's far from perfect but should cover most of the uses.
@base-system, Any updates on this? It's blocking graphviz stabilization for months :( Thanks ping :/ Another instance of this bug: bug #561494 Oh.. I see: https://bugs.gentoo.org/show_bug.cgi?id=536420#c9 Does this mean the need to remove LTDL_INIT from configure.ac? Please ignore my previous comment. %) eautoreconf is designed to mimic autoreconf. in that regard, autoreconf does: autoreconf_current_directory(dir) { cd $dir autopoint aclocal for (all subdirs) autoreconf_current_directory $subdir libtoolize (automatically add --ltdl as needed) aclocal autoconf autoheader automake } autoreconf_current_directory . eautoreconf currently does: eautoreconf(dir) { cd $dir for (all subdirs) eautoreconf $subdir eaclocal autopoint/intltoolize/gtkdocize/elibtoolize eaclocal eautoconf eautoheader eautomake elibtoolize } eautoreconf . we are out of sync w/autoreconf in a few ways: - we subdirs before aclocal/autopoint - we run aclocal before autopoint - we don't automatically pass --ltdl to libtoolize (LT_CONFIG_LTDL_DIR) you're proposing doing: eautoreconf(dir) { cd $dir eaclocal autopoint/intltoolize/gtkdocize/elibtoolize for (all subdirs) eautoreconf $subdir eaclocal eautoconf eautoheader eautomake elibtoolize } eautoreconf . that doesn't really bring us in line either though. the reason graphviz fails is that it expects libtoolize to use --ltdl and we don't. i don't think the subdir ordering is the issue. i've fixed that here: http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e80c5f4f04419eb8ec2986b2713ef59e7969fd and now graphviz works for me (after deleting the line that deletes libltdl). |