* Package: sys-fs/zfs-kmod-2.1.1  * Repository: gentoo  * Maintainer: gyakovlev@gentoo.org sam@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux rootfs userland_GNU  * FEATURES: network-sandbox 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: * 5.12.9-clang-ck1 * Checking for suitable kernel configuration options...  [ ok ] >>> Unpacking source... >>> Unpacking zfs-2.1.1.tar.gz to /var/tmp/portage/sys-fs/zfs-kmod-2.1.1/work >>> Source unpacked in /var/tmp/portage/sys-fs/zfs-kmod-2.1.1/work >>> Preparing source in /var/tmp/portage/sys-fs/zfs-kmod-2.1.1/work/zfs-2.1.1 ... * Running eautoreconf in '/var/tmp/portage/sys-fs/zfs-kmod-2.1.1/work/zfs-2.1.1' ... * Running 'libtoolize --install --copy --force --automake' ...  [ ok ] * Running 'aclocal -I config' ...  [ ok ] * Running 'autoconf --force' ...  [ ok ] * Running 'autoheader' ...  [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ...  [ ok ] * Running elibtoolize in: zfs-2.1.1/ * Running elibtoolize in: zfs-2.1.1/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.1/work/zfs-2.1.1 ... * strip-flags: CFLAGS: changed '-O3 -pipe -march=native -mtune=native' to '-pipe -march=native -mtune=native -O2' * strip-flags: CXXFLAGS: changed '-O3 -pipe -march=native -mtune=native' to '-pipe -march=native -mtune=native -O2' * strip-flags: FFLAGS: changed '-O3 -pipe -march=native -mtune=native' to '-pipe -march=native -mtune=native -O2' * strip-flags: FCFLAGS: changed '-O3 -pipe -march=native -mtune=native' to '-pipe -march=native -mtune=native -O2' * strip-flags: LDFLAGS: changed '-Wl,-O2 -Wl,--as-needed -fuse-ld=lld -v' to '-Wl,-O2 -Wl,--as-needed -fuse-ld=lld' * econf: updating zfs-2.1.1/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating zfs-2.1.1/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating zfs-2.1.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating zfs-2.1.1/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/zfs-kmod-2.1.1 --htmldir=/usr/share/doc/zfs-kmod-2.1.1/html --with-sysroot=/ --libdir=/usr/lib64 HOSTCC=clang --bindir=/bin --sbindir=/sbin --with-config=kernel --with-linux=/usr/src/linux --with-linux-obj=/usr/src/linux --disable-debug configure: loading site script /usr/share/config.site checking for gawk... gawk checking metadata... META file checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking whether make sets $(MAKE)... yes checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... llvm-nm checking the name lister (llvm-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... llvm-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking command to parse llvm-nm output from clang object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-pc-linux-gnu-gcc... (cached) clang checking whether the compiler supports GNU C... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to enable C11 features... (cached) none needed checking whether clang understands -c and -o together... (cached) yes checking dependency style of clang... (cached) none checking whether ln -s works... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking dependency style of clang... none checking whether to build with code coverage support... no checking how to create a pax tar archive... gnutar checking zfs author... OpenZFS checking zfs license... CDDL checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld... /usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking for the common suffixes of directories in the library search path... lib64,lib64 checking zfs config... kernel checking the number of available CPUs... 4 checking whether clang supports -Wno-unused-but-set-variable... no checking whether clang supports -Wno-bool-compare... no checking whether clang supports -Wframe-larger-than=... yes checking whether clang supports -Wno-format-truncation... no checking whether clang supports -Wno-format-zero-length... yes checking whether clang supports -fno-omit-frame-pointer... yes checking whether clang supports -fno-ipa-sra... no checking whether to build with -fsanitize=address support... no checking whether host toolchain supports SSE... yes checking whether host toolchain supports SSE2... yes checking whether host toolchain supports SSE3... yes checking whether host toolchain supports SSSE3... yes checking whether host toolchain supports SSE4.1... yes checking whether host toolchain supports SSE4.2... yes checking whether host toolchain supports AVX... yes checking whether host toolchain supports AVX2... yes checking whether host toolchain supports AVX512F... yes checking whether host toolchain supports AVX512CD... yes checking whether host toolchain supports AVX512DQ... yes checking whether host toolchain supports AVX512BW... yes checking whether host toolchain supports AVX512IFMA... yes checking whether host toolchain supports AVX512VBMI... yes checking whether host toolchain supports AVX512PF... yes checking whether host toolchain supports AVX512ER... yes checking whether host toolchain supports AVX512VL... yes checking whether host toolchain supports AES... yes checking whether host toolchain supports PCLMULQDQ... yes checking whether host toolchain supports MOVBE... yes checking for system type (linux-gnu)... Linux checking for python3... python3 checking for python version... 3.9 checking for python prefix... /usr/lib/python-exec/python3.9/../../.. checking for python exec_prefix... /usr/lib/python-exec/python3.9/../../.. checking for python platform... linux checking for python script directory... ${PYTHON_PREFIX}/lib/python3.9/site-packages checking for python extension module directory... ${PYTHON_EXEC_PREFIX}/lib/python3.9/site-packages checking for python3.9... /usr/bin/python3.9 checking for a version of Python >= '2.1.0'... yes checking for a version of Python >= '3.4.0'... yes checking for the distutils Python package... yes checking for Python include path... -I/usr/include/python3.9 checking for Python library path... -L/usr/lib64 -lpython3.9 checking for Python site-packages path... /usr/lib/python3.9/site-packages checking python extra libraries... -lcrypt -lpthread -ldl -lutil -lm -lm checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... yes checking for python3.9 module: setuptools... yes checking for python3.9 module: cffi... yes checking whether to enable pyzfs: ... yes checking for sed --in-place... --in-place checking for cppcheck... no checking for shellcheck... no checking for checkbashisms... no checking kernel source directory... /usr/src/linux checking kernel build directory... /usr/src/linux checking kernel source version... 5.12.9-clang-ck1 checking kernel file name for module symbols... Module.symvers checking whether modules can be built... no configure: error: *** Unable to build an empty module. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-fs/zfs-kmod-2.1.1/work/zfs-2.1.1/config.log * ERROR: sys-fs/zfs-kmod-2.1.1::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 127: Called src_configure * environment, line 3172: Called econf 'HOSTCC=clang' '--bindir=/bin' '--sbindir=/sbin' '--with-config=kernel' '--with-linux=/usr/src/linux' '--with-linux-obj=/usr/src/linux' '--disable-debug' * phase-helpers.sh, line 711: 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.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/zfs-kmod-2.1.1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fs:zfs-kmod-2.1.1:20210920-125341.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/zfs-kmod-2.1.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/zfs-kmod-2.1.1/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/zfs-kmod-2.1.1/work/zfs-2.1.1' * S: '/var/tmp/portage/sys-fs/zfs-kmod-2.1.1/work/zfs-2.1.1'