Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923913 - sys-libs/libnvme-1.7.1-r1 fails to compile (configure step)
Summary: sys-libs/libnvme-1.7.1-r1 fails to compile (configure step)
Status: RESOLVED DUPLICATE of bug 923859
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-06 10:25 UTC by Gustav Schaffter
Modified: 2024-02-06 19:30 UTC (History)
2 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 Gustav Schaffter 2024-02-06 10:25:22 UTC
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".

Reproducible: Always

Steps to Reproduce:
1.emerge sys-libs/libnvme
2.less /var/tmp/portage/sys-libs/libnvme-1.7.1-r1/temp/build.log

Actual Results:  
 * Package:    sys-libs/libnvme-1.7.1-r1:0/1
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc json kernel_linux python_targets_python3_11 ssl uuid
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libnvme-1.7.1.tar.gz to /var/tmp/portage/sys-libs/libnvme-1.7.1-r1/work
>>> Source unpacked in /var/tmp/portage/sys-libs/libnvme-1.7.1-r1/work
>>> Preparing source in /var/tmp/portage/sys-libs/libnvme-1.7.1-r1/work/libnvme-1.7.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/libnvme-1.7.1-r1/work/libnvme-1.7.1 ...
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=disabled -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
The Meson build system
Version: 1.3.0
Source dir: /var/tmp/portage/sys-libs/libnvme-1.7.1-r1/work/libnvme-1.7.1
Build dir: /var/tmp/portage/sys-libs/libnvme-1.7.1-r1/work/libnvme-1.7.1-build
Build type: native build

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".

A full log can be found at /var/tmp/portage/sys-libs/libnvme-1.7.1-r1/work/libnvme-1.7.1-build/meson-logs/meson-log.txt
 * ERROR: sys-libs/libnvme-1.7.1-r1::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2606:  Called meson_src_configure
 *   environment, line 1794:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/libnvme-1.7.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/libnvme-1.7.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/libnvme-1.7.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libnvme-1.7.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/libnvme-1.7.1-r1/work/libnvme-1.7.1'
 * S: '/var/tmp/portage/sys-libs/libnvme-1.7.1-r1/work/libnvme-1.7.1'


Expected Results:  
sys-libs/libnvme should configure and compile.

Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r10, 6.6.13-gentoo x86_64)
=================================================================
System uname: Linux-6.6.13-gentoo-x86_64-12th_Gen_Intel-R-_Core-TM-_i5-12500-with-glibc2.38
KiB Mem:   131669780 total,   4165576 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of repository gentoo: Tue, 06 Feb 2024 05:30:01 +0000
Head commit of repository gentoo: e1e2520e09476f865cb181e0f00236a1c8bed581
Timestamp of repository guru: Tue, 06 Feb 2024 03:18:33 +0000
Head commit of repository guru: f19cfa77d3b58b525bea5590455d10cce803bca5

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p4) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.0-r2::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           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/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r3::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:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE bh-luxi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
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="-march=native -O2 -pipe -fomit-frame-pointer"
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="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ https://mirrors.ircam.fr/pub/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j10"
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 amd64 bridge bzip2 clamdtop cli client crypt device-mapper distinct-l dri elogind emacs fortran gdbm harfbuzz iconv ipv6 libtirpc lirc lm-sensors logrotate lvm man multilib ncurses nfsv4 nfsv41 nls openmp pam pcre quota readline samba seccomp sensord split-usr ssl test-rust thin udev unicode xattr zlib" 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" 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 fbdev intel nouveau radeon radeonsi vesa dummy" 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 Peter Serbe 2024-02-06 12:35:43 UTC
I hit the same bug - and I can confirm that https://gitweb.gentoo.org/repo/gentoo.git/diff/sys-libs/libnvme/libnvme-1.7.1-r1.ebuild?id=18c086594f0a3ba9109b8d61c38c766db43e8bcd fixes the issue. I had to edit the ebuild by myself however...
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-06 19:30:35 UTC

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