Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923859 - sys-libs/libnvme-1.7.1-r1: invalid Meson build value
Summary: sys-libs/libnvme-1.7.1-r1: invalid Meson build value
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 923862 923872 923913 923940 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-06 05:35 UTC by Erik Fjeldstrom
Modified: 2024-02-07 01:23 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Fjeldstrom 2024-02-06 05:35:16 UTC
When at the configuration stage, the Meson build fails with the following error message:

meson.build:8:0: ERROR: Value "false" (of type "string") for combo option "Generate libnvme python bindings" is not one of the choices. Possible choices are (as string): "enabled", "disabled", "auto".

Ebuild command line:
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/sys-libs/libnvme-1.7.1-r1/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Db_lto=false --buildtype plain -Dpython=false -Dtests=false -Djson-c=enabled -Dlibdbus=enabled -Dkeyutils=disabled -Dopenssl=enabled /var/tmp/portage/sys-libs/libnvme-1.7.1-r1/work/libnvme-1.7.1 /var/tmp/portage/sys-libs/libnvme-1.7.1-r1/work/libnvme-1.7.1-build



Reproducible: Always

Steps to Reproduce:
Merge the package.
Actual Results:  
The build process fails.

Expected Results:  
The build process should proceed normally.

`emerge --info`:

Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/systemd/merged-usr, gcc-13, glibc-2.38-r10, 6.7.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.7.0-gentoo-x86_64-13th_Gen_Intel-R-_Core-TM-_i7-13700K-with-glibc2.38
KiB Mem:   131624408 total,  65558980 free
KiB Swap:  134217724 total, 134217724 free
Head commit of repository gentoo: 837c06e420122ffba98f1741863bc4c1e8b03789

Timestamp of repository ace: Mon, 05 Feb 2024 15:18:21 +0000
Head commit of repository ace: 17328a3538a0b9d8f01d8bd11ab281797bd97138

Timestamp of repository dlang: Tue, 06 Feb 2024 03:18:27 +0000
Head commit of repository dlang: c843ae7eca1665bb4a7b7b79049f2a375fb99b9b

Timestamp of repository guru: Tue, 06 Feb 2024 03:18:33 +0000
Head commit of repository guru: f19cfa77d3b58b525bea5590455d10cce803bca5

Timestamp of repository kripton-overlay: Sat, 27 Jan 2024 17:35:21 +0000
Head commit of repository kripton-overlay: d1cefdb275159bf6dab6cf49b04cf73a2765841d

Timestamp of repository steam-overlay: Sun, 04 Feb 2024 16:48:22 +0000
Head commit of repository steam-overlay: b6e824fd6006bdaef5d21322e72cfda8eb33c018

Timestamp of repository stefantalpalaru: Tue, 06 Feb 2024 03:18:29 +0000
Head commit of repository stefantalpalaru: 113b180409b0080247d93dd41be32dec49662665

sh bash 5.2_p26
ld GNU ld (Gentoo 2.41 p5) 2.41.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.2::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.74.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.3::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000
    volatile: False

ace
    location: /var/db/repos/ace
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ace.git
    masters: gentoo
    volatile: False

dlang
    location: /var/db/repos/dlang
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dlang.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

kripton-overlay
    location: /var/db/repos/kripton-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kripton-overlay.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo ace
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

stefantalpalaru
    location: /var/db/repos/stefantalpalaru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git
    masters: gentoo
    volatile: False

Installed sets: @esteam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fgraphite-identity -floop-nest-optimize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -march=native -fgraphite-identity -floop-nest-optimize"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native -fgraphite-identity -floop-nest-optimize"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -fgraphite-identity -floop-nest-optimize"
GENTOO_MIRRORS="https://mirror.csclub.uwaterloo.ca/gentoo-distfiles http://gentoo.mirrors.tera-byte.com/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j24"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X acl alsa amd64 appindicator bluetooth bluray boost bzip2 cairo caps cli crypt cups dbus dri dvd fftw firewalld flac flatpak fortran fuse gdbm gles2 grub gstreamer gtk gtk3 iconv ipv6 jpeg kde kerberos libnotify libtirpc lvm lzma mp3 multilib ncurses networkmanager nfs nftables nls opencl openmp pam pcre pipewire plasma plymouth png policykit pulseaudio qt5 readline samba screencast seccomp snappy ssl systemd test-rust tiff truetype udev udisks unicode vaapi vorbis vulkan wayland xa xattr xinerama zeroconf zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-CA" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeon radeonsi intel i915 dummy fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Larry the Git Cow gentoo-dev 2024-02-06 05:36:23 UTC
The bug has been closed via the following commit(s):

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

commit 18c086594f0a3ba9109b8d61c38c766db43e8bcd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-06 05:36:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-06 05:36:14 +0000

    sys-libs/libnvme: fix disable-python value
    
    Closes: https://bugs.gentoo.org/923859
    Bug: https://bugs.gentoo.org/923853
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/libnvme/libnvme-1.7.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-06 05:45:05 UTC
Thanks. What happened there was I cleaned up the invalid $(meson_feature ...) which we didn't want, and then it unveiled that the existing python disabling had always had a broken value.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-06 05:49:50 UTC
*** Bug 923862 has been marked as a duplicate of this bug. ***
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-06 07:40:40 UTC
*** Bug 923872 has been marked as a duplicate of this bug. ***
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-06 19:30:35 UTC
*** Bug 923913 has been marked as a duplicate of this bug. ***
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-07 01:23:48 UTC
*** Bug 923940 has been marked as a duplicate of this bug. ***