Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392109 - net-libs/libgsasl: mixes autotools-utils.eclass with default phase functions
Summary: net-libs/libgsasl: mixes autotools-utils.eclass with default phase functions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 392063
  Show dependency tree
 
Reported: 2011-11-27 10:19 UTC by Michał Górny
Modified: 2011-11-27 22:49 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-11-27 10:19:32 UTC
Mixing use of autotools-utils.eclass with regular phase functions and/or random econf/emake calls is unsupported and it never was. And in a near future, it will cause fatal errors during the build process.

Please fix it by using correct autotools-utils phase functions as pointed out in the example on top of the eclass and/or its manpage. If you have any trouble, feel free to ping us and we'll help you fix it. Thanks.
Comment 1 Marcin Mirosław 2011-11-27 11:54:51 UTC
I'm getting build error:
config.status: creating po/POTFILES
config.status: creating po/Makefile
>>> Source configured.
>>> Compiling source in /dane/domeny/PORT/portage/net-libs/libgsasl-1.6.1/work/libgsasl-1.6.1 ...
>>> Working in BUILD_DIR: "/dane/domeny/PORT/portage/net-libs/libgsasl-1.6.1/work/libgsasl-1.6.1_build"
/dane/domeny/PORT/portage/net-libs/libgsasl-1.6.1/temp/environment: line 388: pushd: /dane/domeny/PORT/portage/net-libs/libgsasl-1.6.1/work/libgsasl-1.6.1_build: No such file or directory
 * ERROR: net-libs/libgsasl-1.6.1 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   84:  Called src_compile
 *   environment, line 2897:  Called autotools-utils_src_compile
 *   environment, line  388:  Called die
 * The specific snippet of code:
 *       pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die;

Is this error related to ths bug?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-11-27 14:58:21 UTC
(In reply to comment #1)
>  *       pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die;
> 
> Is this error related to ths bug?

Yes. I have reverted the eclass change though, so when mirrors are synced, the issue should no longer hit users.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-27 22:49:40 UTC
Fixed.