Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663756 - mesa-18.2.0_rc2 build failed, meson.build:1365:4: ERROR: Cross dependency 'xrandr' not found
Summary: mesa-18.2.0_rc2 build failed, meson.build:1365:4: ERROR: Cross dependency 'x...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 663836 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-16 07:15 UTC by Petrus
Modified: 2018-08-18 07:18 UTC (History)
4 users (show)

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


Attachments
emerge info (emerge_info.log,6.15 KB, text/x-log)
2018-08-16 07:15 UTC, Petrus
Details
environment (environment,141.10 KB, text/plain)
2018-08-16 07:18 UTC, Petrus
Details
build.log (build.log,9.84 KB, text/x-log)
2018-08-16 07:19 UTC, Petrus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petrus 2018-08-16 07:15:36 UTC
Created attachment 543646 [details]
emerge info

meson.build:1365:4: ERROR:  Cross dependency 'xrandr' not found

A full log can be found at /var/tmp/portage/media-libs/mesa-18.2.0_rc2/work/mesa-18.2.0-rc2-abi_x86_32.x86/meson-logs/meson-log.txt
 * ERROR: media-libs/mesa-18.2.0_rc2::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3254:  Called multilib-minimal_src_configure
 *   environment, line 1811:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2025:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1741:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1739:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  784:  Called multilib-minimal_abi_src_configure
 *   environment, line 1805:  Called multilib_src_configure
 *   environment, line 2309:  Called meson_src_configure
 *   environment, line 1678:  Called die
 * The specific snippet of code:
 *       tc-env_build "$@" || die
 *
Comment 1 Petrus 2018-08-16 07:16:22 UTC
➜ emerge -pqv '=media-libs/mesa-18.2.0_rc2::gentoo'
[ebuild     U ] media-libs/mesa-18.2.0_rc2 [18.1.4] USE="classic dri3 egl gallium gbm llvm -d3d9 -debug -gles1 -gles2 -lm_sensors% -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -test% -unwind -vaapi -valgrind -vdpau -vulkan -wayland -xa -xvmc (-bindist%) (-nptl%*)" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="i965 intel radeon (-freedreno) -i915 (-imx) -nouveau -r100 -r200 -r300 -r600 -radeonsi (-vc4) -virgl (-vivante) -vmware"
Comment 2 Petrus 2018-08-16 07:18:29 UTC
Created attachment 543650 [details]
environment
Comment 3 Petrus 2018-08-16 07:19:00 UTC
Created attachment 543652 [details]
build.log
Comment 4 Karl-Johan Karlsson 2018-08-16 13:54:28 UTC
Confirm. This happens when attempting to build a 32-bit Mesa on an x86_64 machine. Bug 663422 added a dependency on libXrandr, but doesn't care about the ABI. If you manually build a 32-bit libXrandr, then the 32-bit Mesa builds successfully.
Comment 5 Matt Turner gentoo-dev 2018-08-18 07:18:08 UTC
*** Bug 663836 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2018-08-18 07:18:30 UTC
The bug has been closed via the following commit(s):

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

commit e3f26ae0ffa7fb8f18ab1978c4be82661aaf8c42
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2018-08-18 07:17:11 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2018-08-18 07:18:00 +0000

    media-libs/mesa: Depend on x11-libs/libXrandr[${MULTILIB_USEDEP}]
    
    Closes: https://bugs.gentoo.org/663756

 media-libs/mesa/mesa-18.2.0_rc3.ebuild | 2 +-
 media-libs/mesa/mesa-9999.ebuild       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)