Summary: | sys-devel/gdb-6.0 (x86) build broken; make all in readline doesn't build libreadline.a | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yaakov S <yselkowitz> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Yaakov S
2004-11-17 13:03:32 UTC
do you have a libreadline.a in your /usr/lib/ ? Yes, /usr/lib/libreadline.a is present on my system. any newer gdb's automagically resolve this ? After revisiting this, it's a problem with EXTRA_ECONF="--disable-static", which seems to cause libreadline not to build at all. See #72186, where net-nds/openldap had a similar problem. The solution is to add --enable-static to the econf arguments, which are passed to configure after EXTRA_ECONF, and hence supersede them. I also mentioned some precedence for this. FWIW I tried this with several other versions with the same result. EXTRA_ECONF exists for your sake to tweak things ... in the future, it should be moved after "$@" thus allows it to override everything passed from the ebuild This isn't a problem with EXTRA_ECONF, but a bug with gdb packaging. It accepts an argument to configure that doesn't work. I use EXTRA_ECONF="--disable-shared" all the time, with very few difficulties. If a package is libtooled, it accepts it and works, if it's autoconf but no libtool it just ignores it. In those few times that emerge fails because of it, it's a flaw in the package which would otherwise go unnoticed. There are other such packages which I haven't taken the time to investigate the exact cause and solution, and so haven't filed bugs for yet. If you disagree, what is the reasoning of the other packages that I mentioned in bug 72186, among others, that specifically add --enable-shared --enable-static to econf? |