gentoox icon indicating copy to clipboard operation
gentoox copied to clipboard

using gentoox_build always failed emerge zfs(kmod)

Open fireedo opened this issue 2 years ago • 0 comments

checking for kernel config option compatibility... done checking whether CONFIG_MODULES is defined... no configure: error: *** This kernel does not include the required loadable module *** support! *** *** To build OpenZFS as a loadable Linux kernel module *** enable loadable module support by setting *** CONFIG_MODULES=y in the kernel configuration and run *** make modules_prepare in the Linux source tree. *** *** If you don't intend to enable loadable kernel module *** support, please compile OpenZFS as a Linux kernel built-in. *** *** Prepare the Linux source tree by running make prepare, *** use the OpenZFS --enable-linux-builtin configure option, *** copy the OpenZFS sources into the Linux source tree using *** ./copy-builtin <linux source directory>, *** set CONFIG_ZFS=y in the kernel configuration and compile *** kernel as usual.

!!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/config.log

  • ERROR: sys-fs/zfs-kmod-9999::gentoo failed (configure phase):
  • econf failed
  • Call stack:
  •           ebuild.sh, line  122:  Called src_configure
    
  •         environment, line 3740:  Called econf 'HOSTCC=x86_64-pc-linux-gnu-gcc' '--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-9999::gentoo',
  • the complete build log and the output of emerge -pqv '=sys-fs/zfs-kmod-9999::gentoo'.
  • The complete build log is located at '/var/tmp/portage/sys-fs/zfs-kmod-9999/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/sys-fs/zfs-kmod-9999/temp/environment'.
  • Working directory: '/var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999'
  • S: '/var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999'

fireedo avatar Jul 17 '22 03:07 fireedo