openzfs / spl

A shim layer which adds the core interfaces required for OpenZFS.
https://zfsonlinux.org/
GNU General Public License v2.0
281 stars 179 forks source link

Cannot compile 0.6.1 DKMS version on LMDE with 3.2.0-4 = Debian 3.2.32-1 kernel #269

Closed stroobandt closed 10 years ago

stroobandt commented 11 years ago

Dear Brian,

This is to inform you that the solaris porting layer 0.6.1 in its DKMS version will not compile on the latest Linux Mint Debian Edition with following kernel and make log:

$ uname -a
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 GNU/Linux

$ sudo dpkg-reconfigure spl-dkms

------------------------------
Deleting module version: 0.6.1
completely from the DKMS tree.
------------------------------
Done.
Loading new spl-0.6.1 DKMS files...
Building only for 3.2.0-4-amd64
Building initial module for 3.2.0-4-amd64
Error! Bad return status for module build on kernel: 3.2.0-4-amd64 (x86_64)
Consult /var/lib/dkms/spl/0.6.1/build/make.log for more information.

$ cat /var/lib/dkms/spl/0.6.1/build/make.log
DKMS make.log for spl-0.6.1 for kernel 3.2.0-4-amd64 (x86_64)
Sat Jul 27 22:21:24 CEST 2013
make  all-recursive
make[1]: Entering directory `/var/lib/dkms/spl/0.6.1/build'
Making all in include
make[2]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include'
Making all in fs
make[3]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include/fs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include/fs'
Making all in linux
make[3]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include/linux'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include/linux'
Making all in rpc
make[3]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include/rpc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include/rpc'
Making all in sharefs
make[3]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include/sharefs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include/sharefs'
Making all in sys
make[3]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include/sys'
Making all in fm
make[4]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include/sys/fm'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include/sys/fm'
Making all in fs
make[4]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include/sys/fs'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include/sys/fs'
Making all in sysevent
make[4]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include/sys/sysevent'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include/sys/sysevent'
make[4]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include/sys'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include/sys'
make[3]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include/sys'
Making all in util
make[3]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include/util'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include/util'
Making all in vm
make[3]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include/vm'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include/vm'
make[3]: Entering directory `/var/lib/dkms/spl/0.6.1/build/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include'
make[2]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/include'
Making all in rpm
make[2]: Entering directory `/var/lib/dkms/spl/0.6.1/build/rpm'
Making all in fedora
make[3]: Entering directory `/var/lib/dkms/spl/0.6.1/build/rpm/fedora'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/rpm/fedora'
Making all in generic
make[3]: Entering directory `/var/lib/dkms/spl/0.6.1/build/rpm/generic'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/rpm/generic'
make[3]: Entering directory `/var/lib/dkms/spl/0.6.1/build/rpm'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/rpm'
make[2]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/rpm'
Making all in module
make[2]: Entering directory `/var/lib/dkms/spl/0.6.1/build/module'
make -C /lib/modules/3.2.0-4-amd64/build SUBDIRS=`pwd`  CONFIG_SPL=m modules
make[3]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
  CC [M]  /var/lib/dkms/spl/0.6.1/build/module/spl/../../module/spl/spl-debug.o
  CC [M]  /var/lib/dkms/spl/0.6.1/build/module/spl/../../module/spl/spl-proc.o
  CC [M]  /var/lib/dkms/spl/0.6.1/build/module/spl/../../module/spl/spl-kmem.o
  CC [M]  /var/lib/dkms/spl/0.6.1/build/module/spl/../../module/spl/spl-thread.o
  CC [M]  /var/lib/dkms/spl/0.6.1/build/module/spl/../../module/spl/spl-taskq.o
  CC [M]  /var/lib/dkms/spl/0.6.1/build/module/spl/../../module/spl/spl-rwlock.o
  CC [M]  /var/lib/dkms/spl/0.6.1/build/module/spl/../../module/spl/spl-vnode.o
/var/lib/dkms/spl/0.6.1/build/module/spl/../../module/spl/spl-vnode.c: In function ‘vn_remove’:
/var/lib/dkms/spl/0.6.1/build/module/spl/../../module/spl/spl-vnode.c:460:2: error: implicit declaration of function ‘path_lookup’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[7]: *** [/var/lib/dkms/spl/0.6.1/build/module/spl/../../module/spl/spl-vnode.o] Error 1
make[6]: *** [/var/lib/dkms/spl/0.6.1/build/module/spl] Error 2
make[5]: *** [_module_/var/lib/dkms/spl/0.6.1/build/module] Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/var/lib/dkms/spl/0.6.1/build/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/lib/dkms/spl/0.6.1/build'
make: *** [all] Error 2
stroobandt commented 11 years ago

Building generic KMOD DEB packages as outlined here, worked however on LMDE.

behlendorf commented 11 years ago

@on4aa It appears one of the configure checks incorrectly detected support for path_lookup() in your kernel. It's strange that this would fail for the dkms packages and not the kmod packages. Is it possible the dkms builds attempted to build against a different kernel?

l-cdc commented 11 years ago

I have exactly the same issue on OpenSUSE 12.3 with kernel 3.7.10.

$ uname -a
Linux 3.7.10-1.16-desktop #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) x86_64 x86_64 x86_64 GNU/Linux

I cannot speak for the original reporter, but I have installed only one kernel, and get apparently sane output in this regard:

~/src> sudo rpm -i spl-0.6.1/spl-dkms-0.6.1-1.noarch.rpm
Loading new spl-0.6.1 DKMS files...
First Installation: checking all kernels...
Building only for 3.7.10-1.16-desktop
Building initial module for 3.7.10-1.16-desktop
Error! Bad return status for module build on kernel: 3.7.10-1.16-desktop (x86_64)
Consult /var/lib/dkms/spl/0.6.1/build/make.log for more information.
warning: %post(spl-dkms-0.6.1-1.noarch) scriptlet failed, exit status 10

The log output is exactly the same as in the OP.

l-cdc commented 11 years ago

Seems to be similar to this which supposedly had been fixed some time ago.

ryao commented 11 years ago

The config.log would be helpful in understanding what is happening.

l-cdc commented 11 years ago

spl config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --with-config=user

## --------- ##
## Platform. ##
## --------- ##

hostname = T420.site
uname -m = x86_64
uname -r = 3.7.10-1.16-desktop
uname -s = Linux
uname -v = #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba)

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/texlive/2012/bin/x86_64-linux
PATH: /home/lorenzo/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /home/lorenzo/algs4/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2228: loading site script /usr/share/site/x86_64-unknown-linux-gnu
| #!/bin/sh
| # Site script for configure. It is resourced via $CONFIG_SITE environment varaible.
| 
| # If user did not specify libdir, guess the correct target:
| # Use lib64 for 64 bit bi-arch targets, keep the default for the rest.
| if test "$libdir" = '${exec_prefix}/lib' ; then
| 
|   ac_config_site_64bit_host=NONE
| 
|   case "$host" in
|   "" )
|       # User did not specify host target.
|       # The native platform x86_64 is a bi-arch platform.
|       # Try to detect cross-compilation to inferior architecture.
| 
|       # We are trying to guess 32-bit target compilation. It's not as easy as
|       # it sounds, as there is possible several intermediate combinations.
|       ac_config_site_cross_to_32bit_host=NONE
| 
|       # User defined -m32 in CFLAGS or CXXFLAGS:
|       # (It's sufficient for 32-bit, but alone may cause mis-behavior of some checks.)
|       case "$CFLAGS" in
|       *-m32*)
|           ac_config_site_cross_to_32bit_host=YES
|           ;;
|       esac
|       case "$CXXFLAGS" in
|       *-m32*)
|           ac_config_site_cross_to_32bit_host=YES
|           ;;
|       esac
| 
|       # Running with linux32:
|       # (Changes detected platform, but not the toolchain target.)
|       case "`/bin/uname -i`" in
|       x86_64 | ppc64 | s390x )
|           ;;
|       * )
|           ac_config_site_cross_to_32bit_host=YES
|           ;;
|       esac
| 
|       if test "x$ac_config_site_cross_to_32bit_host" = xNONE; then
|           ac_config_site_64bit_host=YES
|       fi
| 
|       ;;
|   *x86_64* | *ppc64* | *s390x* )
|       ac_config_site_64bit_host=YES
|       ;;
|   esac
| 
|   if test "x$ac_config_site_64bit_host" = xYES; then
|       libdir='${exec_prefix}/lib64'
|   fi
| fi
| 
| # If user did not specify libexecdir, set the correct target:
| # Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/lib.
| 
| if test "$libexecdir" = '${exec_prefix}/libexec' ; then
|   libexecdir='${exec_prefix}/lib'
| fi
| 
| # Continue with the standard behavior of configure defined in AC_SITE_LOAD:
| if test "x$prefix" != xNONE; then
|   ac_site_file1=$prefix/share/config.site
|   ac_site_file2=$prefix/etc/config.site
| else
|   ac_site_file1=$ac_default_prefix/share/config.site
|   ac_site_file2=$ac_default_prefix/etc/config.site
| fi
| for ac_site_file in "$ac_site_file1" "$ac_site_file2"
| do
|   test "x$ac_site_file" = xNONE && continue
|   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|       { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
| $as_echo "/usr/share/site/x86_64-unknown-linux-gnu: loading site script $ac_site_file" >&6;}
|       sed 's/^/| /' "$ac_site_file" >&5
|       . "$ac_site_file" \
|           || { { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
| $as_echo "/usr/share/site/x86_64-unknown-linux-gnu: error: in \`$ac_pwd':" >&2;}
| as_fn_error $? "failed to load site script $ac_site_file
| See \`config.log' for more details" "$LINENO" 5; }
|   fi
| done
configure:2331: checking metadata
configure:2517: result: META file
configure:2554: checking build system type
configure:2568: result: x86_64-unknown-linux-gnu
configure:2588: checking host system type
configure:2601: result: x86_64-unknown-linux-gnu
configure:2621: checking target system type
configure:2634: result: x86_64-unknown-linux-gnu
configure:2662: checking whether to enable maintainer-specific portions of Makefiles
configure:2671: result: no
configure:2712: checking for a BSD-compatible install
configure:2780: result: /usr/bin/install -c
configure:2791: checking whether build environment is sane
configure:2841: result: yes
configure:2982: checking for a thread-safe mkdir -p
configure:3021: result: /usr/bin/mkdir -p
configure:3034: checking for gawk
configure:3050: found /usr/bin/gawk
configure:3061: result: gawk
configure:3072: checking whether make sets $(MAKE)
configure:3094: result: yes
configure:3226: checking for gcc
configure:3242: found /usr/bin/gcc
configure:3253: result: gcc
configure:3482: checking for C compiler version
configure:3491: gcc --version >&5
gcc (SUSE Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012]
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3502: $? = 0
configure:3491: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.7/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.7 --enable-ssp --disable-libssp --disable-libitm --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --program-suffix=-4.7 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.7.2 20130108 [gcc-4_7-branch revision 195012] (SUSE Linux) 
configure:3502: $? = 0
configure:3491: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3502: $? = 1
configure:3491: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3502: $? = 1
configure:3522: checking whether the C compiler works
configure:3544: gcc    conftest.c  >&5
configure:3548: $? = 0
configure:3596: result: yes
configure:3599: checking for C compiler default output file name
configure:3601: result: a.out
configure:3607: checking for suffix of executables
configure:3614: gcc -o conftest    conftest.c  >&5
configure:3618: $? = 0
configure:3640: result: 
configure:3662: checking whether we are cross compiling
configure:3670: gcc -o conftest    conftest.c  >&5
configure:3674: $? = 0
configure:3681: ./conftest
configure:3685: $? = 0
configure:3700: result: no
configure:3705: checking for suffix of object files
configure:3727: gcc -c   conftest.c >&5
configure:3731: $? = 0
configure:3752: result: o
configure:3756: checking whether we are using the GNU C compiler
configure:3775: gcc -c   conftest.c >&5
configure:3775: $? = 0
configure:3784: result: yes
configure:3793: checking whether gcc accepts -g
configure:3813: gcc -c -g  conftest.c >&5
configure:3813: $? = 0
configure:3854: result: yes
configure:3871: checking for gcc option to accept ISO C89
configure:3934: gcc  -c -g -O2  conftest.c >&5
configure:3934: $? = 0
configure:3947: result: none needed
configure:3978: checking for style of include used by make
configure:4006: result: GNU
configure:4031: checking dependency style of gcc
configure:4141: result: gcc3
configure:4181: checking for a sed that does not truncate output
configure:4245: result: /usr/bin/sed
configure:4263: checking for grep that handles long lines and -e
configure:4321: result: /usr/bin/grep
configure:4326: checking for egrep
configure:4388: result: /usr/bin/grep -E
configure:4393: checking for fgrep
configure:4455: result: /usr/bin/grep -F
configure:4490: checking for ld used by gcc
configure:4557: result: /usr/x86_64-suse-linux/bin/ld
configure:4564: checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld
configure:4579: result: yes
configure:4591: checking for BSD- or MS-compatible name lister (nm)
configure:4640: result: /usr/bin/nm -B
configure:4758: checking the name lister (/usr/bin/nm -B) interface
configure:4765: gcc -c -g -O2  conftest.c >&5
configure:4768: /usr/bin/nm -B "conftest.o"
configure:4771: output
0000000000000000 B some_variable
configure:4778: result: BSD nm
configure:4781: checking whether ln -s works
configure:4785: result: yes
configure:4793: checking the maximum length of command line arguments
configure:4913: result: 1572864
configure:4930: checking whether the shell understands some XSI constructs
configure:4940: result: yes
configure:4944: checking whether the shell understands "+="
configure:4950: result: yes
configure:4985: checking for /usr/x86_64-suse-linux/bin/ld option to reload object files
configure:4992: result: -r
configure:5061: checking for objdump
configure:5077: found /usr/bin/objdump
configure:5088: result: objdump
configure:5120: checking how to recognize dependent libraries
configure:5316: result: pass_all
configure:5376: checking for ar
configure:5392: found /usr/bin/ar
configure:5403: result: ar
configure:5481: checking for strip
configure:5497: found /usr/bin/strip
configure:5508: result: strip
configure:5580: checking for ranlib
configure:5596: found /usr/bin/ranlib
configure:5607: result: ranlib
configure:5697: checking command to parse /usr/bin/nm -B output from gcc object
configure:5815: gcc -c -g -O2  conftest.c >&5
configure:5818: $? = 0
configure:5822: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[   ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][  ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:5825: $? = 0
configure:5879: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:5882: $? = 0
configure:5920: result: ok
configure:6016: gcc -c -g -O2  conftest.c >&5
configure:6019: $? = 0
configure:6729: checking how to run the C preprocessor
configure:6760: gcc -E  conftest.c
configure:6760: $? = 0
configure:6774: gcc -E  conftest.c
conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6774: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define SPL_META_NAME "spl"
| #define SPL_META_VERSION "0.6.1"
| #define SPL_META_RELEASE "1"
| #define SPL_META_ALIAS "spl-0.6.1-1"
| #define PACKAGE "spl"
| #define VERSION "0.6.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6799: result: gcc -E
configure:6819: gcc -E  conftest.c
configure:6819: $? = 0
configure:6833: gcc -E  conftest.c
conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6833: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define SPL_META_NAME "spl"
| #define SPL_META_VERSION "0.6.1"
| #define SPL_META_RELEASE "1"
| #define SPL_META_ALIAS "spl-0.6.1-1"
| #define PACKAGE "spl"
| #define VERSION "0.6.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6862: checking for ANSI C header files
configure:6882: gcc -c -g -O2  conftest.c >&5
configure:6882: $? = 0
configure:6955: gcc -o conftest -g -O2   conftest.c  >&5
configure:6955: $? = 0
configure:6955: ./conftest
configure:6955: $? = 0
configure:6966: result: yes
configure:6979: checking for sys/types.h
configure:6979: gcc -c -g -O2  conftest.c >&5
configure:6979: $? = 0
configure:6979: result: yes
configure:6979: checking for sys/stat.h
configure:6979: gcc -c -g -O2  conftest.c >&5
configure:6979: $? = 0
configure:6979: result: yes
configure:6979: checking for stdlib.h
configure:6979: gcc -c -g -O2  conftest.c >&5
configure:6979: $? = 0
configure:6979: result: yes
configure:6979: checking for string.h
configure:6979: gcc -c -g -O2  conftest.c >&5
configure:6979: $? = 0
configure:6979: result: yes
configure:6979: checking for memory.h
configure:6979: gcc -c -g -O2  conftest.c >&5
configure:6979: $? = 0
configure:6979: result: yes
configure:6979: checking for strings.h
configure:6979: gcc -c -g -O2  conftest.c >&5
configure:6979: $? = 0
configure:6979: result: yes
configure:6979: checking for inttypes.h
configure:6979: gcc -c -g -O2  conftest.c >&5
configure:6979: $? = 0
configure:6979: result: yes
configure:6979: checking for stdint.h
configure:6979: gcc -c -g -O2  conftest.c >&5
configure:6979: $? = 0
configure:6979: result: yes
configure:6979: checking for unistd.h
configure:6979: gcc -c -g -O2  conftest.c >&5
configure:6979: $? = 0
configure:6979: result: yes
configure:6993: checking for dlfcn.h
configure:6993: gcc -c -g -O2  conftest.c >&5
configure:6993: $? = 0
configure:6993: result: yes
configure:7177: checking for objdir
configure:7192: result: .libs
configure:7484: checking if gcc supports -fno-rtti -fno-exceptions
configure:7502: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:7506: $? = 0
configure:7519: result: no
configure:7539: checking for gcc option to produce PIC
configure:7811: result: -fPIC -DPIC
configure:7823: checking if gcc PIC flag -fPIC -DPIC works
configure:7841: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:7845: $? = 0
configure:7858: result: yes
configure:7882: checking if gcc static flag -static works
configure:7910: result: no
configure:7925: checking if gcc supports -c -o file.o
configure:7946: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:7950: $? = 0
configure:7972: result: yes
configure:7980: checking if gcc supports -c -o file.o
configure:8027: result: yes
configure:8060: checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries
configure:9051: result: yes
configure:9088: checking whether -lc should be explicitly linked in
configure:9093: gcc -c -g -O2  conftest.c >&5
configure:9096: $? = 0
configure:9111: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep  -lc  \>/dev/null 2\>\&1
configure:9114: $? = 0
configure:9126: result: no
configure:9290: checking dynamic linker characteristics
configure:9723: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:9723: $? = 0
configure:9953: result: GNU/Linux ld.so
configure:10055: checking how to hardcode library paths into programs
configure:10080: result: immediate
configure:10600: checking whether stripping libraries is possible
configure:10605: result: yes
configure:10640: checking if libtool supports shared libraries
configure:10642: result: yes
configure:10645: checking whether to build shared libraries
configure:10666: result: yes
configure:10669: checking whether to build static libraries
configure:10673: result: yes
configure:10710: checking spl license
configure:10713: result: GPL
configure:10720: checking linux distribution
configure:10745: result: sles
configure:10749: checking default package type
configure:10765: result: rpm
configure:10773: checking whether rpm is available
configure:10779: result: yes (4.10.2)
configure:10790: checking whether rpmbuild is available
configure:10796: result: yes (4.10.2)
configure:10825: checking whether spec files are available
configure:10827: result: yes (rpm/generic/*.spec.in)
configure:10852: checking whether dpkg is available
configure:10858: result: yes (1.16.8)
configure:10869: checking whether dpkg-buildpackage is available
configure:10876: result: yes (1.16.8.)
configure:10898: checking whether alien is available
configure:10904: result: yes (8.88)
configure:10936: checking spl config
configure:10938: result: user
configure:22361: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on T420.site

config.status:1154: creating Makefile
config.status:1154: creating man/Makefile
config.status:1154: creating man/man1/Makefile
config.status:1154: creating lib/Makefile
config.status:1154: creating cmd/Makefile
config.status:1154: creating module/Makefile
config.status:1154: creating module/spl/Makefile
config.status:1154: creating module/splat/Makefile
config.status:1154: creating include/Makefile
config.status:1154: creating include/fs/Makefile
config.status:1154: creating include/linux/Makefile
config.status:1154: creating include/rpc/Makefile
config.status:1154: creating include/sharefs/Makefile
config.status:1154: creating include/sys/Makefile
config.status:1154: creating include/sys/fm/Makefile
config.status:1154: creating include/sys/fs/Makefile
config.status:1154: creating include/sys/sysevent/Makefile
config.status:1154: creating include/util/Makefile
config.status:1154: creating include/vm/Makefile
config.status:1154: creating scripts/Makefile
config.status:1154: creating rpm/Makefile
config.status:1154: creating rpm/fedora/Makefile
config.status:1154: creating rpm/fedora/spl.spec
config.status:1154: creating rpm/fedora/spl-kmod.spec
config.status:1154: creating rpm/fedora/spl-dkms.spec
config.status:1154: creating rpm/generic/Makefile
config.status:1154: creating rpm/generic/spl.spec
config.status:1154: creating rpm/generic/spl-kmod.spec
config.status:1154: creating rpm/generic/spl-dkms.spec
config.status:1154: creating spl.release
config.status:1154: creating spl_config.h
config.status:1383: executing depfiles commands
config.status:1383: executing libtool commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-unknown-linux-gnu
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/x86_64-suse-linux/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=no
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[   ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][  ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/lorenzo/src/spl-0.6.1/config/missing --run aclocal-1.11'
ALIEN='alien'
ALIEN_VERSION='8.88'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/lorenzo/src/spl-0.6.1/config/missing --run tar'
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='1'
AR='ar'
AUTOCONF='${SHELL} /home/lorenzo/src/spl-0.6.1/config/missing --run autoconf'
AUTOHEADER='${SHELL} /home/lorenzo/src/spl-0.6.1/config/missing --run autoheader'
AUTOMAKE='${SHELL} /home/lorenzo/src/spl-0.6.1/config/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CONFIG_KERNEL_FALSE=''
CONFIG_KERNEL_TRUE='#'
CONFIG_USER_FALSE='#'
CONFIG_USER_TRUE=''
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEBUG_CFLAGS=''
DEBUG_KMEM=''
DEBUG_KMEM_TRACKING=''
DEBUG_LOG=''
DEBUG_SPL=''
DEFAULT_PACKAGE='rpm'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DPKG='dpkg'
DPKGBUILD='dpkg-buildpackage'
DPKGBUILD_VERSION='1.16.8.'
DPKG_VERSION='1.16.8'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GREP='/usr/bin/grep'
HAVE_ALIEN='yes'
HAVE_DPKG='yes'
HAVE_DPKGBUILD='yes'
HAVE_RPM='yes'
HAVE_RPMBUILD='yes'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
KERNELCPPFLAGS=' -DHAVE_GPL_ONLY_SYMBOLS'
KERNELMAKE_PARAMS=''
LD='/usr/x86_64-suse-linux/bin/ld -m elf_x86_64'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LICENSE='GPL'
LINUX=''
LINUX_OBJ=''
LINUX_SYMBOLS=''
LINUX_VERSION=''
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/lorenzo/src/spl-0.6.1/config/missing --run makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='spl'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RELEASE='1'
RPM='rpm'
RPMBUILD='rpmbuild'
RPMBUILD_VERSION='4.10.2'
RPM_DEFINE_COMMON='--define "$(DEBUG_SPL) 1" --define "$(DEBUG_LOG) 1" --define "$(DEBUG_KMEM) 1" --define "$(DEBUG_KMEM_TRACKING) 1"'
RPM_DEFINE_DKMS=''
RPM_DEFINE_KMOD='--define "kernels $(LINUX_VERSION)"'
RPM_DEFINE_UTIL=''
RPM_SPEC_DIR='rpm/generic'
RPM_VERSION='4.10.2'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
SPL_CONFIG='user'
SPL_META_ALIAS='spl-0.6.1-1'
SPL_META_AUTHOR=''
SPL_META_DATA=''
SPL_META_LT_AGE=''
SPL_META_LT_CURRENT=''
SPL_META_LT_REVISION=''
SPL_META_NAME='spl'
SPL_META_RELEASE='1'
SPL_META_VERSION='0.6.1'
SRPM_DEFINE_COMMON='--define "build_src_rpm 1"'
SRPM_DEFINE_DKMS=''
SRPM_DEFINE_KMOD=''
SRPM_DEFINE_UTIL=''
STRIP='strip'
VENDOR='sles'
VERSION='0.6.1'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/lorenzo/src/spl-0.6.1/config/install-sh'
libdir='${exec_prefix}/lib64'
libexecdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/usr/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define SPL_META_NAME "spl"
#define SPL_META_VERSION "0.6.1"
#define SPL_META_RELEASE "1"
#define SPL_META_ALIAS "spl-0.6.1-1"
#define PACKAGE "spl"
#define VERSION "0.6.1"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"

configure: exit 0
bentolor commented 11 years ago

Same issue here: I'm trying to install Linux Mint Debian Edition 201303 on a ZFS root. I'm already on SPL 0.6.2.

Any progress on this issue?

stroobandt commented 11 years ago

@behlendorf At the time, I had only one kernel installed; so this cannot be the issue.

behlendorf commented 10 years ago

Is this still and issue with the latest source from master?

stroobandt commented 10 years ago

zfsutils 0.6.2-4~wheezy is compiling fine now on a 3.10-2-amd64 kernel. Thanks!

behlendorf commented 10 years ago

@serge-stroobandt Great, than I'm going to close out this issue. Thanks for the reply.