Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666968 - =media-libs/mesa-18.2.0-r1[abi_x86_32] with =dev-util/meson-0.48.0: ERROR: Can not use target gen_matypes as a generator because it is cross-built and no exe wrapper is defined. You might want to set it to native instead.
Summary: =media-libs/mesa-18.2.0-r1[abi_x86_32] with =dev-util/meson-0.48.0: ERROR: Ca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL: http://mesonbuild.com/Release-notes-f...
Whiteboard:
Keywords: REGRESSION
: 664222 667002 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-09-24 10:50 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-09-27 15:08 UTC (History)
9 users (show)

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


Attachments
build.log (build.log,12.13 KB, text/plain)
2018-09-24 10:50 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-09-24 10:50:55 UTC
Created attachment 547764 [details]
build.log

Build targets in project: 132
Option buildtype is: plain [default: debugoptimized]
Found ninja-1.8.2.git.kitware.dyndep-1.jobserver-1 at /usr/bin/ninja

ERROR: Can not use target gen_matypes as a generator because it is cross-built
and no exe wrapper is defined. You might want to set it to native instead.

A full log can be found at /var/tmp/portage/media-libs/mesa-18.2.0-r1/work/mesa-18.2.0-abi_x86_32.x86/meson-logs/meson-log.txt
 * ERROR: media-libs/mesa-18.2.0-r1::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3318:  Called multilib-minimal_src_configure
 *   environment, line 1821:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2035:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1751:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1749:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  794:  Called multilib-minimal_abi_src_configure
 *   environment, line 1815:  Called multilib_src_configure
 *   environment, line 2342:  Called meson_src_configure
 *   environment, line 1688:  Called die
 * The specific snippet of code:
 *       tc-env_build "$@" || die
Comment 1 Dylan 2018-09-24 17:16:42 UTC
This is a meson 0.48 regression, I've filed a bug here: https://github.com/mesonbuild/meson/issues/4254

meson 0.47.2 does work, so one option would be to use that. Another would be to disable asm for the x86 (32bit) build. I'm not sure if there's a USE flag exposed to do that (for meson -Dasm=false)
Comment 2 Mike Gilbert gentoo-dev 2018-09-24 19:38:33 UTC
*** Bug 667002 has been marked as a duplicate of this bug. ***
Comment 3 Mart Raudsepp gentoo-dev 2018-09-24 20:02:41 UTC
Can we please p.mask meson-0.48.0 in the meantime then?
Comment 4 Larry the Git Cow gentoo-dev 2018-09-24 20:35:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf6c08bee54748c5dc96970a8cb669372d9405c

commit 4cf6c08bee54748c5dc96970a8cb669372d9405c
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2018-09-24 20:34:29 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-09-24 20:34:29 +0000

    profiles: mask dev-util/meson-0.48.0
    
    Bug: https://bugs.gentoo.org/666968

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 5 Dennis Schridde 2018-09-25 05:58:38 UTC
Duplicate of bug #664222
Comment 6 Mike Gilbert gentoo-dev 2018-09-25 10:46:47 UTC
*** Bug 664222 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2018-09-27 15:08:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b68392fb39e8639b4858eed9e13af13b8e29988

commit 9b68392fb39e8639b4858eed9e13af13b8e29988
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2018-09-27 15:06:57 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-09-27 15:06:57 +0000

    dev-util/meson: fix multilib builds
    
    Closes: https://bugs.gentoo.org/666968
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>
    Package-Manager: Portage-2.3.50_p2, Repoman-2.3.11_p9

 dev-util/meson/files/0.48.0-multilib.patch         | 48 ++++++++++++++++++++++
 ...{meson-0.48.0.ebuild => meson-0.48.0-r1.ebuild} |  6 ++-
 2 files changed, 53 insertions(+), 1 deletion(-)