View previous topic :: View next topic |
Author |
Message |
Gooberpatrol66 Tux's lil' helper
Joined: 20 Jul 2014 Posts: 143
|
Posted: Fri Mar 16, 2018 12:07 am Post subject: [solved] sys-kernel/spl emerge failure |
|
|
Code: | [32;01m * [39;49;00mPackage: sys-kernel/spl-0.7.6
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: ryao@gentoo.org fearedbliss@gentoo.org
[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
[32;01m * [39;49;00mFEATURES: preserve-libs sandbox userpriv usersandbox
[32;01m*[0m Determining the location of the kernel source code
[32;01m*[0m Found kernel source directory:
[32;01m*[0m /usr/src/linux
[32;01m*[0m Found kernel object directory:
[32;01m*[0m /lib/modules/4.9.76-gentoo-r1/build
[32;01m*[0m Found sources for kernel version:
[32;01m*[0m 4.9.76-gentoo-r1
[32;01m*[0m Checking for suitable kernel configuration options...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
>>> Unpacking source...
>>> Unpacking spl-0.7.6.tar.gz to /var/tmp/portage/sys-kernel/spl-0.7.6/work
>>> Source unpacked in /var/tmp/portage/sys-kernel/spl-0.7.6/work
>>> Preparing source in /var/tmp/portage/sys-kernel/spl-0.7.6/work/spl-0.7.6 ...
* Running elibtoolize in: spl-0.7.6/
* Applying target-nm/2.4.2 patch ...
* Applying ppc64le/2.4.2 patch ...
* Running elibtoolize in: spl-0.7.6/config/
* Applying portage/2.2 patch ...
* Applying sed/1.5.6 patch ...
* Applying as-needed/2.2.6 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-kernel/spl-0.7.6/work/spl-0.7.6 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sys-kernel/spl-0.7.6/work/spl-0.7.6"
* econf: updating spl-0.7.6/config/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating spl-0.7.6/config/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/sys-kernel/spl-0.7.6/work/spl-0.7.6/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 --libdir=/usr/lib64 --docdir=/usr/share/doc/spl-0.7.6 --bindir=/bin --sbindir=/sbin --with-config=all --with-linux=/usr/src/linux --with-linux-obj=/lib/modules/4.9.76-gentoo-r1/build --disable-debug
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 for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... 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 x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/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-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/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 spl author... OpenZFS on Linux
checking spl license... GPL
checking linux distribution... gentoo
checking default package type... tgz
checking whether rpm is available... no
checking whether rpmbuild is available... no
checking whether spec files are available... yes (rpm/generic/*.spec.in)
checking whether dpkg is available... no
checking whether dpkg-buildpackage is available... no
checking whether alien is available... no
checking spl config... all
checking kernel source directory... /usr/src/linux
checking kernel build directory... /lib/modules/4.9.76-gentoo-r1/build
checking kernel source version... 4.9.76-gentoo-r1
checking kernel file name for module symbols... configure: error:
*** Please make sure the kernel devel package for your distribution
*** is installed. If you are building with a custom kernel, make sure the
*** kernel is configured, built, and the '--with-linux=PATH' configure
*** option refers to the location of the kernel source.
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-kernel/spl-0.7.6/work/spl-0.7.6/config.log
[31;01m*[0m ERROR: sys-kernel/spl-0.7.6::gentoo failed (configure phase):
[31;01m*[0m econf failed
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 124: Called src_configure
[31;01m*[0m environment, line 3784: Called autotools-utils_src_configure
[31;01m*[0m environment, line 651: Called econf '--docdir=/usr/share/doc/spl-0.7.6' '--bindir=/bin' '--sbindir=/sbin' '--with-config=all' '--with-linux=/usr/src/linux' '--with-linux-obj=/lib/modules/4.9.76-gentoo-r1/build' '--disable-debug'
[31;01m*[0m phase-helpers.sh, line 666: Called __helpers_die 'econf failed'
[31;01m*[0m isolated-functions.sh, line 117: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m die "$@"
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=sys-kernel/spl-0.7.6::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-kernel/spl-0.7.6::gentoo'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-kernel/spl-0.7.6/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-kernel/spl-0.7.6/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/sys-kernel/spl-0.7.6/work/spl-0.7.6'
[31;01m*[0m S: '/var/tmp/portage/sys-kernel/spl-0.7.6/work/spl-0.7.6'
|
I don't know how to go about fixing this.
Last edited by Gooberpatrol66 on Sat Mar 17, 2018 6:56 pm; edited 1 time in total |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5947
|
Posted: Fri Mar 16, 2018 4:14 am Post subject: |
|
|
Have you built 4.9.76-gentoo-r1 yet? |
|
Back to top |
|
|
Gooberpatrol66 Tux's lil' helper
Joined: 20 Jul 2014 Posts: 143
|
Posted: Fri Mar 16, 2018 7:15 pm Post subject: |
|
|
Quote: | nathan@gentoolaptop ~ $ uname -r
4.9.76-gentoo-r1
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31453 Location: here
|
Posted: Fri Mar 16, 2018 8:06 pm Post subject: |
|
|
You have /usr/src/linux/Module.symvers file?
If not try to recompile kernel modules _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Gooberpatrol66 Tux's lil' helper
Joined: 20 Jul 2014 Posts: 143
|
Posted: Sat Mar 17, 2018 6:56 pm Post subject: |
|
|
That fixed it. Genkernel doesn't do it for some reason. |
|
Back to top |
|
|
|