Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 907397

Summary: [TEST] sys-fs/zfs-kmod-2.1.11-r1 failed in configure - ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infod...
Product: Gentoo Linux Reporter: Magnus Granberg <zorry>
Component: Current packagesAssignee: Magnus Granberg <zorry>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://ci.dev.gentoo.org:8010/#/builders/7/builds/68697
Whiteboard:
Package list:
Runtime testing required: ---

Description Magnus Granberg gentoo-dev 2023-05-30 03:46:07 UTC
 * Package:    sys-fs/zfs-kmod-2.1.11-r1:0/2.1.11-r1
 * Repository: gentoo
 * Maintainer: gyakovlev@gentoo.org sam@gentoo.org
 * Upstream:   https://github.com/openzfs/zfs/issues
 * USE:        abi_x86_64 amd64 dist-kernel-cap elibc_glibc kernel_linux rootfs strip
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     6.3.4-gentoo-dist
 * 
 *  *** WARNING *** 
 * 
 * zfs-kmod is known to break easily with new kernel versions and,
 * with the current kernel (6.3.4-gentoo-dist), it was either hardly
 * tested or is known broken. It is recommended to use one of:
 * 
 *     <=sys-kernel/gentoo-kernel-6.2.x or
 *     <=sys-kernel/gentoo-sources-6.2.x
 * 
 * or equivalent rather than file downstream bug reports if run into
 * issues, then wait for upstream fixes and a new release. Ideally,
 * with out-of-tree modules, use an LTS (Long Term Support) kernel
 * branch[1]. If in doubt, Gentoo's stable kernels are always LTS
 * and can be easily used even on ~testing systems.
 * 
 * [1] https://www.kernel.org/category/releases.html
 * 
 * Checking for suitable kernel configuration options ...
 * Preparing x86_64-pc-linux-gnu toolchain for kernel modules (override with KERNEL_CHOST) ...
 * Toolchain picked for kernel modules (override with KERNEL_CC, _LD, ...): '/usr/bin/x86_64-pc-linux-gnu-gcc-13' '/usr/bin/x86_64-pc-linux-gnu-g++-13' '/usr/bin/x86_64-pc-linux-gnu-ld.bfd' '/usr/bin/x86_64-pc-linux-gnu-gcc-ar' '/usr/bin/x86_64-pc-linux-gnu-gcc-nm' '/usr/bin/x86_64-pc-linux-gnu-objcopy' '/usr/bin/x86_64-pc-linux-gnu-objdump' '/usr/bin/x86_64-pc-linux-gnu-readelf' '/usr/bin/x86_64-pc-linux-gnu-strip'
>>> Unpacking source...
>>> Unpacking zfs-2.1.11.tar.gz to /var/tmp/portage/sys-fs/zfs-kmod-2.1.11-r1/work
>>> Source unpacked in /var/tmp/portage/sys-fs/zfs-kmod-2.1.11-r1/work
>>> Preparing source in /var/tmp/portage/sys-fs/zfs-kmod-2.1.11-r1/work/zfs-2.1.11 ...
 * Applying zfs-kmod-2.1.11-gentoo.patch ...
 * Running eautoreconf in '/var/tmp/portage/sys-fs/zfs-kmod-2.1.11-r1/work/zfs-2.1.11' ...
 * Running 'libtoolize --install --copy --force --automake' ...
 * Running 'aclocal -I config --system-acdir=/var/tmp/portage/sys-fs/zfs-kmod-2.1.11-r1/temp/aclocal' ...
 * Running 'autoconf --force' ...
 * Running 'autoheader' ...
 * Running 'automake --add-missing --copy --foreign --force-missing' ...
 * Running elibtoolize in: zfs-2.1.11/
 * Running elibtoolize in: zfs-2.1.11/config/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-fs/zfs-kmod-2.1.11-r1/work/zfs-2.1.11 ...
 * econf: updating zfs-2.1.11/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating zfs-2.1.11/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating zfs-2.1.11/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating zfs-2.1.11/config/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/zfs-kmod-2.1.11-r1 --htmldir=/usr/share/doc/zfs-kmod-2.1.11-r1/html --with-sysroot=/ --libdir=/usr/lib64 --bindir=/bin --sbindir=/sbin --with-config=kernel --with-linux=/usr/src/linux --with-linux-obj=/usr/src/linux --disable-debug GENTOO_MAKEARGS_EVAL='ARCH=x86' 'V=1' 'KBUILD_VERBOSE=1' 'CONFIG_WERROR=' 'CONFIG_MODULE_SIG_ALL=' 'CONFIG_MODULE_COMPRESS_GZIP=' 'CONFIG_MODULE_COMPRESS_XZ=' 'CONFIG_MODULE_COMPRESS_ZSTD=' 'DEPMOD=:' 'STRIP=:' 'CROSS_COMPILE=x86_64-pc-linux-gnu-' 'HOSTCC=x86_64-pc-linux-gnu-gcc' 'HOSTCXX=x86_64-pc-linux-gnu-g++' 'HOSTCFLAGS=-O2 -pipe -fno-diagnostics-color -march=native' 'HOSTCXXFLAGS=-O2 -pipe -fno-diagnostics-color -march=native' 'HOSTLDFLAGS=-Wl,-O1 -Wl,--as-needed' 'HOSTPKG_CONFIG=x86_64-pc-linux-gnu-pkg-config' 'CC=/usr/bin/x86_64-pc-linux-gnu-gcc-13' 'CXX=/usr/bin/x86_64-pc-linux-gnu-g++-13' 'LD=/usr/bin/x86_64-pc-linux-gnu-ld.bfd' 'AR=/usr/bin/x86_64-pc-linux-gnu-gcc-ar' 'NM=/usr/bin/x86_64-pc-linux-gnu-gcc-nm' 'OBJCOPY=/usr/bin/x86_64-pc-linux-gnu-objcopy' 'OBJDUMP=/usr/bin/x86_64-pc-linux-gnu-objdump' 'READELF=/usr/bin/x86_64-pc-linux-gnu-readelf' TEST_JOBS=14
checking whether inode_owner_or_capable() takes user_ns... configure: error: 
 * ERROR: sys-fs/zfs-kmod-2.1.11-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 3312:  Called econf '--bindir=/bin' '--sbindir=/sbin' '--with-config=kernel' '--with-linux=/usr/src/linux' '--with-linux-obj=/usr/src/linux' '--disable-debug' 'GENTOO_MAKEARGS_EVAL='ARCH=x86' 'V=1' 'KBUILD_VERBOSE=1' 'CONFIG_WERROR=' 'CONFIG_MODULE_SIG_ALL=' 'CONFIG_MODULE_COMPRESS_GZIP=' 'CONFIG_MODULE_COMPRESS_XZ=' 'CONFIG_MODULE_COMPRESS_ZSTD=' 'DEPMOD=:' 'STRIP=:' 'CROSS_COMPILE=x86_64-pc-linux-gnu-' 'HOSTCC=x86_64-pc-linux-gnu-gcc' 'HOSTCXX=x86_64-pc-linux-gnu-g++' 'HOSTCFLAGS=-O2 -pipe -fno-diagnostics-color -march=native' 'HOSTCXXFLAGS=-O2 -pipe -fno-diagnostics-color -march=native' 'HOSTLDFLAGS=-Wl,-O1 -Wl,--as-needed' 'HOSTPKG_CONFIG=x86_64-pc-linux-gnu-pkg-config' 'CC=/usr/bin/x86_64-pc-linux-gnu-gcc-13' 'CXX=/usr/bin/x86_64-pc-linux-gnu-g++-13' 'LD=/usr/bin/x86_64-pc-linux-gnu-ld.bfd' 'AR=/usr/bin/x86_64-pc-linux-gnu-gcc-ar' 'NM=/usr/bin/x86_64-pc-linux-gnu-gcc-nm' 'OBJCOPY=/usr/bin/x86_64-pc-linux-gnu-objcopy' 'OBJDUMP=/usr/bin/x86_64-pc-linux-gnu-objdump' 'READELF=/usr/bin/x86_64-pc-linux-gnu-readelf'' 'TEST_JOBS=14'
 *        phase-helpers.sh, line  732:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=sys-fs/zfs-kmod-2.1.11-r1::gentoo'`,
Comment 1 Magnus Granberg gentoo-dev 2023-05-30 03:46:09 UTC
This was build on a tinderbox that use Buildbot API[1].
We use docker images to build on.
Web: https://ci.dev.gentoo.org:8010/#/
Code: https://gitweb.gentoo.org/proj/tinderbox-cluster.git
Wiki: https://wiki.gentoo.org/wiki/Project:Tinderbox-cluster
How to get more info: https://wiki.gentoo.org/wiki/Project:Tinderbox-cluster/something
IRC: #gentoo-ci on libera
[1] https://buildbot.net/
Comment 2 Magnus Granberg gentoo-dev 2023-05-30 03:46:11 UTC
Was trying to build sys-fs/zfs-kmod-2.1.11-r1 Commit: 7b66ebce8f979c5dfc190070c22745b7aa375cc3 Repository: git@gitlab.gentoo.org:zorry/gentoo-ci.git
Package info:
[ebuild  N    ] sys-fs/zfs-kmod-2.1.11-r1  USE="dist-kernel-cap rootfs strip -custom-cflags -debug -dist-kernel -modules-sign -verify-sig" 
Emerge info:
Portage 3.0.47 (python 3.12.0-beta-1, default/linux/amd64/17.1, gcc-13, glibc-2.37-r3, 5.4.0-148-generic x86_64)
=================================================================
System uname: Linux-5.4.0-148-generic-x86_64-AMD_Opteron-TM-_Processor_6272-with-glibc2.37
KiB Mem:   264126696 total, 180110484 free
KiB Swap:    8388604 total,   8388604 free
Head commit of repository gentoo: daa1294b8328bec24e5ef525bf60be71bbab0f15

sh bash 5.2_p15-r3
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r3::gentoo
dev-lang/perl:             5.36.1-r2::gentoo
dev-lang/python:           3.10.11::gentoo, 3.11.3::gentoo, 3.12.0_beta1_p1::gentoo
dev-lang/rust-bin:         1.69.0::gentoo
dev-util/meson:            1.1.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.47.1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.1.1_p20230527::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: git@gitlab.gentoo.org:zorry/gentoo-ci.git
    priority: -1000
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fno-diagnostics-color -march=native"
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/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fno-diagnostics-color -march=native"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--buildpkg=y --rebuild-if-new-rev=y --rebuilt-binaries=y --usepkg=y --binpkg-respect-use=y --binpkg-changed-deps=y --nospinner --color=n --ask=n --quiet-build=y --quiet-fail=y"
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 -fno-diagnostics-color -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -fno-diagnostics-color -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j14"
PKGDIR="/var/cache/portage/packages"
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"
USE="X acl amd64 bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test-rust unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_10 python3_9 python3_8 python3_11 python3_12" RUBY_TARGETS="ruby31 ruby30 ruby29 ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, 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, RANLIB, READELF, RUSTFLAGS, SHELL, SIZE, STRINGS, STRIP, YACC, YFLAGS