Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160193 - sys-libs/pam : using (almost deprecated) gnuconfig_update
Summary: sys-libs/pam : 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: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard: Waiting cleanup when 0.99 will be rea...
Keywords:
Depends on: 152713 185203
Blocks: gnuconfig_update
  Show dependency tree
 
Reported: 2007-01-05 02:00 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-02-02 18:41 UTC (History)
1 user (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 02:00:00 UTC
The following ebuilds/eclasses are using the almost deprecated gnuconfig_update function from gnuconfig.eclass:

./sys-libs/pam/pam-0.78-r3.ebuild:                      gnuconfig_update
./sys-libs/pam/pam-0.78-r5.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 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-05 02:01:11 UTC
As this is mine I'll just comment.

The problem should be now fixed in sys-auth/pam_userdb, that inherits the berkdb code from pam-0.78. But pam-0.99 is not yet ready for prime time, so waiting for now.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-02-02 18:41:52 UTC
0.78 is no more in tree.