Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 747169 - media-libs/mesa-20.1.9 with python3_9 - src_configure(): ../mesa-20.1.9/meson.build:21:0: ERROR: Value enabled is not boolean (true or false).
Summary: media-libs/mesa-20.1.9 with python3_9 - src_configure(): ../mesa-20.1.9/meson...
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: PullRequest
Depends on:
Blocks: py39, python3.9-compat
  Show dependency tree
 
Reported: 2020-10-07 21:04 UTC by Volkmar W. Pogatzki
Modified: 2020-10-14 22:18 UTC (History)
0 users

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


Attachments
meson-log.txt (meson-log.txt,1.70 KB, text/plain)
2020-10-09 14:36 UTC, Volkmar W. Pogatzki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volkmar W. Pogatzki 2020-10-07 21:04:46 UTC
This problem prevented the addition of version 20.1.9 to https://github.com/gentoo/gentoo/pull/17816

$ USE=test ebuild mesa-20.1.9.ebuild clean configure
Appending /var/db/repos/vaukai to PORTDIR_OVERLAY...
 * mesa-20.1.9.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                                       [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     4.19.146-gentoo
 * Checking for suitable kernel configuration options...
 *   CONFIG_CHECKPOINT_RESTORE:  is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Using python3.9 to build
>>> Unpacking source...
>>> Unpacking mesa-20.1.9.tar.xz to /var/tmp/portage/media-libs/mesa-20.1.9/work
>>> Source unpacked in /var/tmp/portage/media-libs/mesa-20.1.9/work
>>> Preparing source in /var/tmp/portage/media-libs/mesa-20.1.9/work/mesa-20.1.9 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/mesa-20.1.9/work/mesa-20.1.9 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
meson setup --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/media-libs/mesa-20.1.9/temp/python3.9/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/media-libs/mesa-20.1.9/temp/python3.9/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/media-libs/mesa-20.1.9/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Dplatforms=x11,drm,surfaceless -Dllvm=true -Dlmsensors=false -Dlibunwind=false -Dgallium-nine=false -Dgallium-va=false -Dgallium-vdpau=false -Dgallium-xa=false -Dgallium-xvmc=false -Dgallium-opencl=disabled -Dosmesa=none -Dbuild-tests=true -Dglx=dri -Dglvnd=enabled -Dshared-glapi=true -Ddri3=true -Degl=true -Dgbm=true -Dgles1=false -Dgles2=true -Dselinux=false -Dzstd=true -Dvalgrind=false -Ddri-drivers=i965,nouveau -Dgallium-drivers=nouveau,swrast -Dvulkan-drivers= -Dvulkan-device-select-layer=false -Dvulkan-overlay-layer=false --buildtype plain -Db_ndebug=true /var/tmp/portage/media-libs/mesa-20.1.9/work/mesa-20.1.9 /var/tmp/portage/media-libs/mesa-20.1.9/work/mesa-20.1.9-abi_x86_64.amd64
The Meson build system
Version: 0.55.3
Source dir: /var/tmp/portage/media-libs/mesa-20.1.9/work/mesa-20.1.9
Build dir: /var/tmp/portage/media-libs/mesa-20.1.9/work/mesa-20.1.9-abi_x86_64.amd64
Build type: native build
Program python found: YES

../mesa-20.1.9/meson.build:21:0: ERROR: Value enabled is not boolean (true or false).

A full log can be found at /var/tmp/portage/media-libs/mesa-20.1.9/work/mesa-20.1.9-abi_x86_64.amd64/meson-logs/meson-log.txt
 * ERROR: media-libs/mesa-20.1.9::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 4070:  Called multilib-minimal_src_configure
 *   environment, line 2756:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 3009:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2686:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2684:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  905:  Called multilib-minimal_abi_src_configure
 *   environment, line 2750:  Called multilib_src_configure
 *   environment, line 3314:  Called meson_src_configure
 *   environment, line 2618:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=media-libs/mesa-20.1.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-20.1.9::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-20.1.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-20.1.9/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-20.1.9/work/mesa-20.1.9-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-libs/mesa-20.1.9/work/mesa-20.1.9'
Comment 1 Volkmar W. Pogatzki 2020-10-09 14:36:12 UTC
Created attachment 664465 [details]
meson-log.txt

None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
Comment 2 Larry the Git Cow gentoo-dev 2020-10-14 22:18:00 UTC
The bug has been closed via the following commit(s):

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

commit da3888b024d2eca6aeb6b326f1c67215300e6eca
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2020-10-09 15:13:42 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-10-14 22:17:44 +0000

    media-libs/mesa: python3_9 for 20.1.9
    
    Closes: https://bugs.gentoo.org/747169
    Closes: https://github.com/gentoo/gentoo/pull/17862
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 media-libs/mesa/mesa-20.1.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)