Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643274 - dev-libs/libgpg-error-1.27-r1 build failure (multilib?)
Summary: dev-libs/libgpg-error-1.27-r1 build failure (multilib?)
Status: RESOLVED DUPLICATE of bug 643076
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-03 16:37 UTC by Raymond Jennings
Modified: 2018-01-04 00:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (einfo.txt,5.53 KB, text/plain)
2018-01-03 16:58 UTC, Raymond Jennings
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2018-01-03 16:37:19 UTC
shentino@toasty 1 ~ $ sudo emerge libgpg-error --jobs=1
Password: 
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/libgpg-error-1.27-r1::gentoo
 * libgpg-error-1.27.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking libgpg-error-1.27.tar.bz2 to /var/tmp/portage/dev-libs/libgpg-error-1.27-r1/work
>>> Source unpacked in /var/tmp/portage/dev-libs/libgpg-error-1.27-r1/work
>>> Preparing source in /var/tmp/portage/dev-libs/libgpg-error-1.27-r1/work/libgpg-error-1.27 ...
 * Running elibtoolize in: libgpg-error-1.27/
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: libgpg-error-1.27/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/libgpg-error-1.27-r1/work/libgpg-error-1.27 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
 * econf: updating libgpg-error-1.27/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libgpg-error-1.27/build-aux/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/work/libgpg-error-1.27/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libgpg-error-1.27-r1 --htmldir=/usr/share/doc/libgpg-error-1.27-r1/html --libdir=/usr/lib CC_FOR_BUILD=x86_64-pc-linux-gnu-gcc -m32 --enable-threads --enable-nls --disable-static --disable-languages --disable-languages
configure: error: unrecognized option: `-m32'
Try `/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/work/libgpg-error-1.27/configure --help' for more information
 * ERROR: dev-libs/libgpg-error-1.27-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 1480:  Called multilib-minimal_src_configure
 *             environment, line  893:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 1107:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line  823:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line  821:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  212:  Called multilib-minimal_abi_src_configure
 *             environment, line  887:  Called multilib_src_configure
 *             environment, line 1319:  Called econf 'CC_FOR_BUILD=x86_64-pc-linux-gnu-gcc' '-m32' '--enable-threads' '--enable-nls' '--disable-static' '--disable-languages' '--disable-languages'
 *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/libgpg-error-1.27-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/libgpg-error-1.27-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/work/libgpg-error-1.27-abi_x86_32.x86'
 * S: '/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/work/libgpg-error-1.27'

>>> Failed to emerge dev-libs/libgpg-error-1.27-r1, Log file:

>>>  '/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/temp/build.log'

 * Messages for package dev-libs/libgpg-error-1.27-r1:

 * ERROR: dev-libs/libgpg-error-1.27-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 1480:  Called multilib-minimal_src_configure
 *             environment, line  893:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 1107:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line  823:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line  821:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  212:  Called multilib-minimal_abi_src_configure
 *             environment, line  887:  Called multilib_src_configure
 *             environment, line 1319:  Called econf 'CC_FOR_BUILD=x86_64-pc-linux-gnu-gcc' '-m32' '--enable-threads' '--enable-nls' '--disable-static' '--disable-languages' '--disable-languages'
 *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/libgpg-error-1.27-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/libgpg-error-1.27-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/work/libgpg-error-1.27-abi_x86_32.x86'
 * S: '/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/work/libgpg-error-1.27'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (dev-libs/libgpg-error-1.27-r1:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-libs/libgpg-error-1.27-r1/temp/build.log'
 *
Comment 1 Raymond Jennings 2018-01-03 16:57:56 UTC
I just switched to the 17.1 profile
Comment 2 Raymond Jennings 2018-01-03 16:58:38 UTC
Created attachment 513094 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2018-01-03 19:28:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35cb4fde12ccb0d423d7b3c74c8539240437848f

commit 35cb4fde12ccb0d423d7b3c74c8539240437848f
Author:     Karel Kočí <cynerd@email.cz>
AuthorDate: 2018-01-03 17:23:24 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2018-01-03 19:26:34 +0000

    dev-libs/libgpg-error: fix build when BUILD_CC contains spaces
    
    Filled compiler can be more than just compiler executable name. If 32bit
    abi is enable the -m32 is passed with it. Before this the -m32 was
    passed to configure script and it failed with error (because it clearly
    doesn't support -m32 switch).
    
    Bug: https://bugs.gentoo.org/643274

 dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 4 Kristian Fiskerstrand (RETIRED) gentoo-dev 2018-01-04 00:02:08 UTC

*** This bug has been marked as a duplicate of bug 643076 ***