Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 392109

Summary: net-libs/libgsasl: mixes autotools-utils.eclass with default phase functions
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: major CC: bug
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 392063    

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.