Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160181 - dev-db/postgresql : using (almost deprecated) gnuconfig_update
Summary: dev-db/postgresql : using (almost deprecated) gnuconfig_update
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnuconfig_update 183764
  Show dependency tree
 
Reported: 2007-01-05 01:53 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-06-16 18:49 UTC (History)
2 users (show)

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 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-05 01:53:08 UTC
The following ebuilds/eclasses are using the almost deprecated gnuconfig_update function from gnuconfig.eclass:

./dev-db/postgresql/postgresql-7.4.13.ebuild:   gnuconfig_update
./dev-db/postgresql/postgresql-8.0.8.ebuild:    gnuconfig_update
./dev-db/postgresql/postgresql-7.3.15-r1.ebuild:        gnuconfig_update
./dev-db/postgresql/postgresql-7.3.16.ebuild:   gnuconfig_update
./dev-db/postgresql/postgresql-7.4.14.ebuild:   gnuconfig_update
./dev-db/postgresql/postgresql-8.0.9-r1.ebuild: gnuconfig_update
./dev-db/postgresql/postgresql-8.1.5-r1.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 http://www.gentoo.org/proj/en/qa/autofailure.xml 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 Tiziano Müller (RETIRED) gentoo-dev 2008-06-07 20:30:15 UTC
Done in postgresql-{base,server}
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-07 20:33:06 UTC
Please leave the bugs open until the old ebuilds are gone.
Comment 3 David J Cozatt 2009-12-28 03:40:06 UTC
*bump* can be closed now?
Comment 4 Patrick Lauer gentoo-dev 2010-06-16 18:49:46 UTC
dev-db/postgresql masked, going the way of the dodo