Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160174 - app-cdr/cdrtools : using (almost deprecated) gnuconfig_update
Summary: app-cdr/cdrtools : using (almost deprecated) gnuconfig_update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
Depends on: 197665
Blocks: gnuconfig_update 165515
  Show dependency tree
 
Reported: 2007-01-05 01:47 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-06-06 11:28 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:47:56 UTC
The following ebuilds/eclasses are using the almost deprecated gnuconfig_update function from gnuconfig.eclass:

./app-cdr/cdrtools/cdrtools-2.01-r1.ebuild:     gnuconfig_update
./app-cdr/cdrtools/cdrtools-2.01-r3.ebuild:     gnuconfig_update
./app-cdr/cdrtools/cdrtools-2.01.01_alpha10.ebuild:     gnuconfig_update
./app-cdr/cdrtools/cdrtools-2.01.01_alpha11.ebuild:     gnuconfig_update
./app-cdr/cdrtools/cdrtools-2.01.01_alpha18.ebuild:     gnuconfig_update
./app-cdr/cdrtools/cdrtools-2.01.01_alpha20.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 Lars Weiler (RETIRED) gentoo-dev 2007-02-28 00:10:44 UTC
I added cdrtools-2.01.01_alpha23 to the tree and took out the gnuconfig.eclass functions.  Apparently they are not needed any more.  Probably a leftover from an old version.

I guess, all other versions should be updated as well?
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2007-11-06 03:42:21 UTC
All we need is mips to mark a newer ebuild as stable and you can get rid of the only ebuild which still needs gnuconfig_update.

cdrtools-2.01-r1.ebuild:	gnuconfig_update

Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2008-06-06 09:34:54 UTC
mips won't mark anything stable, so close this bug.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-06 10:17:35 UTC
Please don't close bugs without reading through them. The ebuild using gnuconfig_update is _still_ in the tree, the bug is _still_ open.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2008-06-06 11:28:04 UTC
Removed ebuild, no stable mips left, they want it anyway to phase out.  Sorry, haven't spotted this before, though I checked.