Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160183 - dev-libs/libffi : using (almost deprecated) gnuconfig_update
Summary: dev-libs/libffi : using (almost deprecated) gnuconfig_update
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on: 163724 199850
Blocks: gnuconfig_update
  Show dependency tree
Reported: 2007-01-05 01:54 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-02-28 10:23 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-05 01:54:05 UTC
The following ebuilds/eclasses are using the almost deprecated gnuconfig_update function from gnuconfig.eclass:

./dev-libs/libffi/libffi-3.3.5.ebuild:  gnuconfig_update
./dev-libs/libffi/libffi-3.4.1-r1.ebuild:       gnuconfig_update
./dev-libs/libffi/libffi-3.4.3.ebuild:  gnuconfig_update

This might be due by various reasons, and some of them cannot be worked around at the current time, so please find your case in the following list:

* the ebuild does not use econf, but ./configure, because it uses a very old version of autoconf that does not support the parameters we pass; [1]
* the software use config.{guess,sub} although not using autotools, thus econf cannot be used; [1]
* the ebuild uses ./configure just for fun; [2]
* the ebuild uses ../configure or variants thereof to run a different configure script than the one in the current directory; [3]
* the ebuild uses an autogen script or some other autotools-rebuilding script that calls ./configure; [4]
* the ebuild calls ./configure because it's doing an inline-build of another package. [1]

Then see the procedure to handle this bug:

[1] You cannot drop gnuconfig_update, so please leave the bug open, but set the status whiteboard to "Waiting autoepatch".
[2] Fix the ebuild, use econf!
[3] econf accepts a ECONF_SOURCE variable to tell it to run the configure found in another directory; to run ../configure just use ECONF_SOURCE=".." econf.
[4] Fix your autotools with adnd then use econf.

Once you're using econf, it will take care of updating gnuconfig by itself.

Thanks from Diego and Mike
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 10:23:54 UTC
To be removed, nothing new to see here.