Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spl-dkms ubuntu package, configure error #42

Closed
BagOfMostlyWater opened this issue Aug 21, 2012 · 23 comments
Closed

spl-dkms ubuntu package, configure error #42

BagOfMostlyWater opened this issue Aug 21, 2012 · 23 comments
Assignees
Labels

Comments

@BagOfMostlyWater
Copy link

While installing the packages for the first time onto a 12.04 box:

Setting up spl-dkms (0.6.0.71-0ubuntu1~precise1) ...
Loading new spl-0.6.0.71 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-29-generic
Building initial module for 3.2.0-29-generic
configure: error: *** Unable to build an empty module.
Error! Bad return status for module build on kernel: 3.2.0-29-generic (x86_64)
Consult /var/lib/dkms/spl/0.6.0.71/build/make.log for more information.

where the make.log contains:

DKMS make.log for spl-0.6.0.71 for kernel 3.2.0-29-generic (x86_64)
Tue Aug 21 10:43:24 PDT 2012
make: *** No targets specified and no makefile found. Stop.

The initial apt-get also failed to install the zfs-dkms package because of the dependency:

Setting up zfs-dkms (0.6.0.71-0ubuntu1~precise1) ...
Loading new zfs-0.6.0.71 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-29-generic
Building initial module for 3.2.0-29-generic
configure: error:
*** Cannot determine the version of the spl source.
*** ZFS depends on the SPL kernel module, which is not yet ready.
*** DKMS should retry zfs-dkms momentarily after building spl-dkms.
*** If this error message persists, or if you are running DKMS manually,
*** then run 'apt-get install --reinstall spl-dkms' and try again.
Error! Bad return status for module build on kernel: 3.2.0-29-generic (x86_64)
Consult /var/lib/dkms/zfs/0.6.0.71/build/make.log for more information.

which resembles issue #30. I am able to manually build and install spl by going to /var/lib/dkms/spl/0.6.0.71/build/, but when I tried the same with the zfs module it advised against it:

*** ZFS should not be manually built in the DKMS source tree.
*** Remove all ZFS packages before compiling the ZoL sources.
*** Running "make install" breaks ZFS packages.

Reattempting via 'apt-get install --reinstall spl-dkms' produces the same error.

@dajhorn
Copy link
Member

dajhorn commented Aug 21, 2012

How did you install this system?

  • The desktop iso.
  • The alternate iso.
  • A bare image provided by a virtual host.
  • etc

Please post this information:

  • The output of dkms status and dpkg --get-selections | grep linux.
  • The transcript of the dkms build -m spl -v 0.6.0.71 spl command. (ie: The entire contents of the terminal window when SPL fails to build.)
  • The config.log file, which will be near the make.log file that you looked at earlier.

You might need to run dkms remove -m spl -v 0.6.0.71 --all and dkms add -m spl -v 0.6.0.71 before the dkms build command will do anything.

@BagOfMostlyWater
Copy link
Author

On Tue, Aug 21, 2012 at 01:45:47PM -0700, Darik Horn wrote:

How did you install this system?

  • The desktop iso.
  • The alternate iso.
  • A bare image provided by a virtual host.
  • etc

I installed it over the net via PXE and kickseed (debian-installer). The
base was the desktop iso.

Please post this information:

  • The output of dkms status and dpkg --get-selections | grep linux.

dkms status

spl, 0.6.0.71: added
zfs, 0.6.0.71: added

dpkg --get-selections | grep linux

liblinux-inotify2-perl install
libselinux1 install
linux-firmware install
linux-generic install
linux-headers-3.2.0-23 install
linux-headers-3.2.0-23-generic install
linux-headers-3.2.0-29 install
linux-headers-3.2.0-29-generic install
linux-headers-generic install
linux-image-3.2.0-29-generic install
linux-image-generic install
linux-libc-dev install
linux-sound-base install
linuxvnc install
pptp-linux install
syslinux install
syslinux-common install
syslinux-legacy install
util-linux install

  • The transcript of the dkms build -m spl -v 0.6.0.71 spl command. (ie: The entire contents of the terminal window when SPL fails to build.)

dkms build -m spl -v 0.6.0.71 spl

: I do not know how to handle spl.

Kernel preparation unnecessary for this kernel. Skipping...

Running the pre_build script:
checking metadata... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-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/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to print strings... printf
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 gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/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 how to convert x86_64-unknown-linux-gnu file names to
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... 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 gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/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 license... GPL
checking linux distribution... ubuntu
checking default package type... deb
checking whether rpm is available... yes (4.9.1.1)
checking whether rpmbuild is available... yes (4.9.1.1)
checking whether dpkg is available... yes (1.16.1.2)
checking whether dpkg-buildpackage is available... yes (1.16.1.2)
checking whether alien is available... yes (8.86)
checking spl config... kernel
checking kernel source directory... /lib/modules/3.2.0-29-generic/build
checking kernel build directory... /lib/modules/3.2.0-29-generic/build
checking kernel source version... 3.2.0-29-generic
checking kernel file name for module symbols... Module.symvers
checking whether Linux was built with CONFIG_PREEMPT... no
checking whether debugging is enabled... no
checking whether basic debug logging is enabled... yes
checking whether basic kmem accounting is enabled... yes
checking whether detailed kmem tracking is enabled... no
checking whether modules can be built... yes
checking whether atomic types use spinlocks... no
checking whether kernel defines atomic64_t... yes
checking whether kernel defines atomic64_cmpxchg... yes
checking whether kernel defines atomic64_xchg... yes
checking whether kernel defines uintptr_t... yes
checking whether INIT_WORK wants 3 args... no
checking whether register_sysctl_table() wants 2 args... no
checking whether set_shrinker() available... no
checking whether shrinker callback wants 3 args... no
checking whether struct path used in struct nameidata... yes
checking whether task_curr() is available... no
checking whether unnumbered sysctl support exists... no
checking whether struct ctl_table has ctl_name... no
checking whether fls64() is available... yes
checking whether device_create() is available... yes
checking whether device_create() wants 5 args... yes
checking whether class_device_create() is available... no
checking whether set_normalized_timespec() is available as export... yes
checking whether set_normalized_timespec() is an inline... yes
checking whether timespec_sub() is available... yes
checking whether init_utsname() is available... yes
checking whether header linux/fdtable.h exists... yes
checking whether files_fdtable() is available... yes
checking whether __clear_close_on_exec() is available... no
checking whether header linux/uaccess.h exists... yes
checking whether kmalloc_node() is available... yes
checking whether monotonic_clock() is available... no
checking whether struct inode has i_mutex... yes
checking whether struct mutex has owner... yes
checking whether struct mutex owner is a task_struct... yes
checking whether mutex_lock_nested() is available... yes
checking whether on_each_cpu() wants 3 args... yes
checking whether kallsyms_lookup_name() is available... yes
checking whether get_vmalloc_info() is available... no
checking whether symbol *_pgdat exist... yes
checking whether first_online_pgdat() is available... no
checking whether next_online_pgdat() is available... no
checking whether next_zone() is available... no
checking whether pgdat_list is available... no
checking whether global_page_state() is available... yes
checking whether page state NR_FREE_PAGES is available... yes
checking whether page state NR_INACTIVE is available... no
checking whether page state NR_INACTIVE_ANON is available... yes
checking whether page state NR_INACTIVE_FILE is available... yes
checking whether page state NR_ACTIVE is available... no
checking whether page state NR_ACTIVE_ANON is available... yes
checking whether page state NR_ACTIVE_FILE is available... yes
checking whether symbol get_zone_counts is needed... no
checking whether user_path_dir() is available... yes
checking whether set_fs_pwd() is available... no
checking whether set_fs_pwd() wants 2 args... yes
checking whether vfs_unlink() wants 2 args... yes
checking whether vfs_rename() wants 4 args... yes
checking whether vfs_fsync() is available... yes
checking whether vfs_fsync() wants 2 args... yes
checking whether struct fs_struct uses spinlock_t... yes
checking whether struct cred exists... yes
checking whether groups_search() is available... no
checking whether __put_task_struct() is available... yes
checking whether proc_handler() wants 5 args... yes
checking whether kvasprintf() is available... yes
checking whether rwsem_is_locked() acquires sem->wait_lock... no
checking whether invalidate_inodes() is available... no
checking whether invalidate_inodes_check() is available... no
checking whether invalidate_inodes() wants 2 args... yes
checking whether shrink_dcache_memory() is available... no
checking whether shrink_icache_memory() is available... no
checking whether symbol kern_path_parent exists in header... yes
checking whether kern_path_parent() is available... no
checking whether zlib_deflate_workspacesize() wants 2 args... yes
checking whether struct shrink_control exists... yes
checking whether struct rw_semaphore member wait_lock is raw... yes
checking whether pmd_alloc_with_mask exists... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating cmd/Makefile
config.status: creating module/Makefile
config.status: creating module/spl/Makefile
config.status: creating module/splat/Makefile
config.status: creating include/Makefile
config.status: creating scripts/Makefile
config.status: creating spl.spec
config.status: creating spl-modules.spec
config.status: creating PKGBUILD-spl
config.status: creating PKGBUILD-spl-modules
config.status: creating spl.release
config.status: creating dkms.conf
config.status: creating spl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands

Building module:
cleaning build area....
make KERNELRELEASE=3.2.0-29-generic..........
cleaning build area....

DKMS: build completed.

Ummm...?

  • The config.log file, which will be near the make.log file that you looked at earlier.

Attached. Its the config.log from the above run rather than from the
failed apt-get install.

For jollies I ran "apt-get --reinstall install spl-dkms" and it failed as
in the original report however there was an uninstall stage:

apt-get --reinstall install spl-dkms

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
upgraded.
Need to get 0 B/546 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 329381 files and directories currently installed.)
Preparing to replace spl-dkms 0.6.0.71-0ubuntu1precise1 (using
.../spl-dkms_0.6.0.71-0ubuntu1
precise1_all.deb) ...

-------- Uninstall Beginning --------
Module: spl
Version: 0.6.0.71

Kernel: 3.2.0-29-generic (x86_64)

Status: This module version was INACTIVE for this kernel.
depmod....

DKMS: uninstall completed.


Deleting module version: 0.6.0.71

completely from the DKMS tree.

Done.
Unpacking replacement spl-dkms ...
Setting up spl-dkms (0.6.0.71-0ubuntu1~precise1) ...
Loading new spl-0.6.0.71 DKMS files...
Building only for 3.2.0-29-generic
Building initial module for 3.2.0-29-generic
configure: error: *** Unable to build an empty module.
Error! Bad return status for module build on kernel: 3.2.0-29-generic (x86_64)
Consult /var/lib/dkms/spl/0.6.0.71/build/make.log for more information.

I've also attached the config.log from the above run (as config-bad.log).
It appears that the error is on line 434 of that file.

ls /usr/src/linux-headers-3.2.0-29-generic/arch/

alpha cris ia64 microblaze parisc sh unicore32
arm frv Kconfig mips powerpc sparc x86
avr32 h8300 m32r mn10300 s390 tile xtensa
blackfin hexagon m68k openrisc score um

You might need to run dkms remove -m spl -v 0.6.0.71 --all and dkms add -m spl -v 0.6.0.71 before the dkms build command will do anything.

I ran the remove/add commands and reran the build with similar success. I
ran 'dkms install ...' and that went fine at which point I repeated the
remove/add/build/install steps for zfs and that also worked fine.

So apt-get's invocation of dkms is somehow different than the shell's?

Ryan

@dajhorn
Copy link
Member

dajhorn commented Aug 21, 2012

Github stripped your attachments, so please send those things to me directly.

Apart from the missing module, it looks like the build succeeded, which is weird. Does your kickstart configuration install the ubuntu-minimal package by default?

Ubuntu resolves a different dependency graph for base systems that get ubuntu-desktop, ubuntu-minimal, or neither. DKMS can fail to build ZoL on systems that didn't get ubuntu-minimal at install time because the kernel headers or a compiler component is missing. This is by design. However, your error message doesn't fit that problem.

@dajhorn
Copy link
Member

dajhorn commented Aug 21, 2012

So apt-get's invocation of dkms is somehow different than the shell's?

It shouldn't be, but there is a way to override it.

Leave the ticket open if you want me to pursue this issue. I will have time to look at it next week. Otherwise, please click the "close issue" button.

@BagOfMostlyWater
Copy link
Author

On Tue, Aug 21, 2012 at 03:33:32PM -0700, Darik Horn wrote:

Github stripped your attachments, so please send those things to me directly.

I think it was operator error actually. I'll try again. :)

Apart from the missing module, it looks like the build succeeded, which
is weird. Does your kickstart configuration install the ubuntu-minimal
package by default?

Yes, or rather a reverse dependency pulled it in.

Ryan
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.68. Invocation command line was

$ /var/lib/dkms/spl/0.6.0.71/build/configure --prefix=/usr --with-config=kernel --with-linux=/lib/modules/3.2.0-29-generic/build --with-linux-obj=/lib/modules/3.2.0-29-generic/build

---------

Platform.

---------

hostname = logit
uname -m = x86_64
uname -r = 3.2.0-29-generic
uname -s = Linux
uname -v = #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012

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

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

PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/lib/dkms

-----------

Core tests.

-----------

configure:2176: checking metadata
configure:2349: result: yes
configure:2386: checking build system type
configure:2400: result: x86_64-unknown-linux-gnu
configure:2420: checking host system type
configure:2433: result: x86_64-unknown-linux-gnu
configure:2453: checking target system type
configure:2466: result: x86_64-unknown-linux-gnu
configure:2494: checking whether to enable maintainer-specific portions of Makefiles
configure:2503: result: no
configure:2527: checking whether make supports nested variables
configure:2544: result: yes
configure:2571: checking for a BSD-compatible install
configure:2639: result: /usr/bin/install -c
configure:2650: checking whether build environment is sane
configure:2700: result: yes
configure:2841: checking for a thread-safe mkdir -p
configure:2880: result: /bin/mkdir -p
configure:2893: checking for gawk
configure:2909: found /usr/bin/gawk
configure:2920: result: gawk
configure:2931: checking whether make sets $(MAKE)
configure:2953: result: yes
configure:3085: checking for gcc
configure:3101: found /usr/bin/gcc
configure:3112: result: gcc
configure:3341: checking for C compiler version
configure:3350: gcc --version >&5
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 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:3361: $? = 0
configure:3350: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configure:3361: $? = 0
configure:3350: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3361: $? = 4
configure:3350: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3361: $? = 4
configure:3381: checking whether the C compiler works
configure:3403: gcc conftest.c >&5
configure:3407: $? = 0
configure:3455: result: yes
configure:3458: checking for C compiler default output file name
configure:3460: result: a.out
configure:3466: checking for suffix of executables
configure:3473: gcc -o conftest conftest.c >&5
configure:3477: $? = 0
configure:3499: result:
configure:3521: checking whether we are cross compiling
configure:3529: gcc -o conftest conftest.c >&5
configure:3533: $? = 0
configure:3540: ./conftest
configure:3544: $? = 0
configure:3559: result: no
configure:3564: checking for suffix of object files
configure:3586: gcc -c conftest.c >&5
configure:3590: $? = 0
configure:3611: result: o
configure:3615: checking whether we are using the GNU C compiler
configure:3634: gcc -c conftest.c >&5
configure:3634: $? = 0
configure:3643: result: yes
configure:3652: checking whether gcc accepts -g
configure:3672: gcc -c -g conftest.c >&5
configure:3672: $? = 0
configure:3713: result: yes
configure:3730: checking for gcc option to accept ISO C89
configure:3794: gcc -c -g -O2 conftest.c >&5
configure:3794: $? = 0
configure:3807: result: none needed
configure:3838: checking for style of include used by make
configure:3866: result: GNU
configure:3892: checking dependency style of gcc
configure:4003: result: gcc3
configure:4064: checking how to print strings
configure:4091: result: printf
configure:4112: checking for a sed that does not truncate output
configure:4176: result: /bin/sed
configure:4194: checking for grep that handles long lines and -e
configure:4252: result: /bin/grep
configure:4257: checking for egrep
configure:4319: result: /bin/grep -E
configure:4324: checking for fgrep
configure:4386: result: /bin/grep -F
configure:4421: checking for ld used by gcc
configure:4488: result: /usr/bin/ld
configure:4495: checking if the linker (/usr/bin/ld) is GNU ld
configure:4510: result: yes
configure:4522: checking for BSD- or MS-compatible name lister (nm)
configure:4571: result: /usr/bin/nm -B
configure:4701: checking the name lister (/usr/bin/nm -B) interface
configure:4708: gcc -c -g -O2 conftest.c >&5
configure:4711: /usr/bin/nm -B "conftest.o"
configure:4714: output
0000000000000000 B some_variable
configure:4721: result: BSD nm
configure:4724: checking whether ln -s works
configure:4728: result: yes
configure:4736: checking the maximum length of command line arguments
configure:4866: result: 1572864
configure:4883: checking whether the shell understands some XSI constructs
configure:4893: result: yes
configure:4897: checking whether the shell understands "+="
configure:4903: result: yes
configure:4938: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
configure:4978: result: func_convert_file_noop
configure:4985: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
configure:5005: result: func_convert_file_noop
configure:5012: checking for /usr/bin/ld option to reload object files
configure:5019: result: -r
configure:5093: checking for objdump
configure:5109: found /usr/bin/objdump
configure:5120: result: objdump
configure:5152: checking how to recognize dependent libraries
configure:5354: result: pass_all
configure:5439: checking for dlltool
configure:5469: result: no
configure:5499: checking how to associate runtime and link libraries
configure:5526: result: printf %s\n
configure:5587: checking for ar
configure:5603: found /usr/bin/ar
configure:5614: result: ar
configure:5651: checking for archiver @file support
configure:5668: gcc -c -g -O2 conftest.c >&5
configure:5668: $? = 0
configure:5671: ar cru libconftest.a @conftest.lst >&5
configure:5674: $? = 0
configure:5679: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:5682: $? = 1
configure:5694: result: @
configure:5752: checking for strip
configure:5768: found /usr/bin/strip
configure:5779: result: strip
configure:5851: checking for ranlib
configure:5867: found /usr/bin/ranlib
configure:5878: result: ranlib
configure:5980: checking command to parse /usr/bin/nm -B output from gcc object
configure:6100: gcc -c -g -O2 conftest.c >&5
configure:6103: $? = 0
configure:6107: /usr/bin/nm -B conftest.o | sed -n -e 's/^. [ ][ ]([_A-Za-z][A-Za-z0-9])$/\1 \2 \2/p' | sed '/ **gnu_lto/d' > conftest.nm
configure:6110: $? = 0
configure:6176: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:6179: $? = 0
configure:6217: result: ok
configure:6254: checking for sysroot
configure:6284: result: no
configure:6361: gcc -c -g -O2 conftest.c >&5
configure:6364: $? = 0
configure:6540: checking for mt
configure:6556: found /bin/mt
configure:6567: result: mt
configure:6590: checking if mt is a manifest tool
configure:6596: mt '-?'
usage: mt [-v] [--version] [-h] [ -f device ] command [ count ]
configure:6604: result: no
configure:7246: checking how to run the C preprocessor
configure:7277: gcc -E conftest.c
configure:7277: $? = 0
configure:7291: gcc -E conftest.c
conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:7291: $? = 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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| /
end confdefs.h. /
| #include <ac_nonexistent.h>
configure:7316: result: gcc -E
configure:7336: gcc -E conftest.c
configure:7336: $? = 0
configure:7350: gcc -E conftest.c
conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:7350: $? = 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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| /
end confdefs.h. /
| #include <ac_nonexistent.h>
configure:7379: checking for ANSI C header files
configure:7399: gcc -c -g -O2 conftest.c >&5
configure:7399: $? = 0
configure:7472: gcc -o conftest -g -O2 conftest.c >&5
configure:7472: $? = 0
configure:7472: ./conftest
configure:7472: $? = 0
configure:7483: result: yes
configure:7496: checking for sys/types.h
configure:7496: gcc -c -g -O2 conftest.c >&5
configure:7496: $? = 0
configure:7496: result: yes
configure:7496: checking for sys/stat.h
configure:7496: gcc -c -g -O2 conftest.c >&5
configure:7496: $? = 0
configure:7496: result: yes
configure:7496: checking for stdlib.h
configure:7496: gcc -c -g -O2 conftest.c >&5
configure:7496: $? = 0
configure:7496: result: yes
configure:7496: checking for string.h
configure:7496: gcc -c -g -O2 conftest.c >&5
configure:7496: $? = 0
configure:7496: result: yes
configure:7496: checking for memory.h
configure:7496: gcc -c -g -O2 conftest.c >&5
configure:7496: $? = 0
configure:7496: result: yes
configure:7496: checking for strings.h
configure:7496: gcc -c -g -O2 conftest.c >&5
configure:7496: $? = 0
configure:7496: result: yes
configure:7496: checking for inttypes.h
configure:7496: gcc -c -g -O2 conftest.c >&5
configure:7496: $? = 0
configure:7496: result: yes
configure:7496: checking for stdint.h
configure:7496: gcc -c -g -O2 conftest.c >&5
configure:7496: $? = 0
configure:7496: result: yes
configure:7496: checking for unistd.h
configure:7496: gcc -c -g -O2 conftest.c >&5
configure:7496: $? = 0
configure:7496: result: yes
configure:7510: checking for dlfcn.h
configure:7510: gcc -c -g -O2 conftest.c >&5
configure:7510: $? = 0
configure:7510: result: yes
configure:7716: checking for objdir
configure:7731: result: .libs
configure:7998: checking if gcc supports -fno-rtti -fno-exceptions
configure:8016: 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:8020: $? = 0
configure:8033: result: no
configure:8360: checking for gcc option to produce PIC
configure:8367: result: -fPIC -DPIC
configure:8375: checking if gcc PIC flag -fPIC -DPIC works
configure:8393: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:8397: $? = 0
configure:8410: result: yes
configure:8439: checking if gcc static flag -static works
configure:8467: result: yes
configure:8482: checking if gcc supports -c -o file.o
configure:8503: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:8507: $? = 0
configure:8529: result: yes
configure:8537: checking if gcc supports -c -o file.o
configure:8584: result: yes
configure:8617: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:9774: result: yes
configure:9811: checking whether -lc should be explicitly linked in
configure:9819: gcc -c -g -O2 conftest.c >&5
configure:9822: $? = 0
configure:9837: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | /bin/grep -lc >/dev/null 2>&1
configure:9840: $? = 0
configure:9854: result: no
configure:10014: checking dynamic linker characteristics
configure:10525: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:10525: $? = 0
configure:10759: result: GNU/Linux ld.so
configure:10866: checking how to hardcode library paths into programs
configure:10891: result: immediate
configure:11431: checking whether stripping libraries is possible
configure:11436: result: yes
configure:11471: checking if libtool supports shared libraries
configure:11473: result: yes
configure:11476: checking whether to build shared libraries
configure:11497: result: yes
configure:11500: checking whether to build static libraries
configure:11504: result: yes
configure:11543: checking spl license
configure:11546: result: GPL
configure:11553: checking linux distribution
configure:11578: result: ubuntu
configure:11582: checking default package type
configure:11598: result: deb
configure:11606: checking whether rpm is available
configure:11612: result: yes (4.9.1.1)
configure:11623: checking whether rpmbuild is available
configure:11629: result: yes (4.9.1.1)
configure:11652: checking whether dpkg is available
configure:11658: result: yes (1.16.1.2)
configure:11669: checking whether dpkg-buildpackage is available
configure:11676: result: yes (1.16.1.2)
configure:11698: checking whether alien is available
configure:11704: result: yes (8.86)
configure:11789: checking spl config
configure:11791: result: kernel
configure:11812: checking kernel source directory
configure:11843: result: /lib/modules/3.2.0-29-generic/build
configure:11845: checking kernel build directory
configure:11860: result: /lib/modules/3.2.0-29-generic/build
configure:11863: checking kernel source version
configure:11899: result: 3.2.0-29-generic
configure:11912: checking kernel file name for module symbols
configure:11931: result: Module.symvers
configure:11937: checking whether Linux was built with CONFIG_PREEMPT
configure:11966: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:35:4: error: #error CONFIG_PREEMPT not #defined
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:11969: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
|
|
| #include <linux/module.h>
|
| int
| main (void)
| {
|
| #ifndef CONFIG_PREEMPT
| #error CONFIG_PREEMPT not #defined
| #endif
|
| ;
| return 0;
| }
|
configure:11987: result: no
configure:12009: checking whether debugging is enabled
configure:12035: result: no
configure:12062: checking whether basic debug logging is enabled
configure:12064: result: yes
configure:12091: checking whether basic kmem accounting is enabled
configure:12093: result: yes
configure:12120: checking whether detailed kmem tracking is enabled
configure:12122: result: no
configure:12125: checking whether modules can be built
configure:12148: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:12151: $? = 0
configure:12153: test -s build/conftest.o
configure:12156: $? = 0
configure:12159: result: yes
configure:12217: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:12220: $? = 0
configure:12222: test -s build/conftest.o
configure:12225: $? = 0
configure:12279: checking whether atomic types use spinlocks
configure:12281: result: no
configure:12284: checking whether kernel defines atomic64_t
configure:12286: result: yes
configure:12289: checking whether kernel defines atomic64_cmpxchg
configure:12317: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:12320: $? = 0
configure:12322: test -s build/conftest.o
configure:12325: $? = 0
configure:12328: result: yes
configure:12348: checking whether kernel defines atomic64_xchg
configure:12375: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:12378: $? = 0
configure:12380: test -s build/conftest.o
configure:12383: $? = 0
configure:12386: result: yes
configure:12406: checking whether kernel defines uintptr_t
configure:12433: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:12436: $? = 0
configure:12438: test -s build/conftest.o
configure:12441: $? = 0
configure:12444: result: yes
configure:12464: checking whether INIT_WORK wants 3 args
configure:12492: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:41:30: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:41:3: error: ‘INIT_WORK’ undeclared (first use in this function)
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:41:3: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: ** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:12495: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
|
|
| #include <linux/workqueue.h>
|
| int
| main (void)
| {
|
| struct work_struct work __attribute
((unused));
| INIT_WORK(&work, NULL, NULL);
|
| ;
| return 0;
| }
|
configure:12513: result: no
configure:12523: checking whether register_sysctl_table() wants 2 args
configure:12550: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:40:3: error: too many arguments to function ‘register_sysctl_table’
include/linux/sysctl.h:1090:26: note: declared here
make[1]: *** [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:12553: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
|
|
| #include <linux/sysctl.h>
|
| int
| main (void)
| {
|
| (void) register_sysctl_table(NULL, 0);
|
| ;
| return 0;
| }
|
configure:12571: result: no
configure:12582: checking whether set_shrinker() available
configure:12609: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:40:3: error: implicit declaration of function ‘set_shrinker’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:12612: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
|
|
| #include <linux/mm.h>
|
| int
| main (void)
| {
|
| return set_shrinker(DEFAULT_SEEKS, NULL);
|
| ;
| return 0;
| }
|
configure:12630: result: no
configure:12640: checking whether shrinker callback wants 3 args
configure:12675: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration -Werror M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:43:4: error: initialization from incompatible pointer type [-Werror]
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:43:4: error: (near initialization for ‘cache_shrinker.shrink’) [-Werror]
cc1: all warnings being treated as errors
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:12678: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
|
|
| #include <linux/mm.h>
|
| int shrinker_cb(struct shrinker *, int, unsigned int);
|
| int
| main (void)
| {
|
| struct shrinker cache_shrinker = {
| .shrink = shrinker_cb,
| .seeks = DEFAULT_SEEKS,
| };
| register_shrinker(&cache_shrinker);
|
| ;
| return 0;
| }
|
configure:12696: result: no
configure:12707: checking whether struct path used in struct nameidata
configure:12737: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:12740: $? = 0
configure:12742: test -s build/conftest.o
configure:12745: $? = 0
configure:12748: result: yes
configure:12768: checking whether task_curr() is available
configure:12796: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
WARNING: "task_curr" [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.ko] undefined!
configure:12799: $? = 0
configure:12801: test -s build/conftest.o
configure:12804: $? = 0
configure:12851: result: no
configure:12866: checking whether unnumbered sysctl support exists
configure:12895: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:42:4: error: #error CTL_UNNUMBERED undefined
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:12898: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
| #define HAVE_PATH_IN_NAMEIDATA 1
|
|
| #include <linux/sysctl.h>
|
| int
| main (void)
| {
|
| #ifndef CTL_UNNUMBERED
| #error CTL_UNNUMBERED undefined
| #endif
|
| ;
| return 0;
| }
|
configure:12916: result: no
configure:12927: checking whether struct ctl_table has ctl_name
configure:12955: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:42:6: error: ‘struct ctl_table’ has no member named ‘ctl_name’
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:12958: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
| #define HAVE_PATH_IN_NAMEIDATA 1
|
|
| #include <linux/sysctl.h>
|
| int
| main (void)
| {
|
| struct ctl_table ctl attribute ((unused));
| ctl.ctl_name = 0;
|
| ;
| return 0;
| }
|
configure:12976: result: no
configure:12986: checking whether fls64() is available
configure:13013: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:13016: $? = 0
configure:13018: test -s build/conftest.o
configure:13021: $? = 0
configure:13024: result: yes
configure:13044: checking whether device_create() is available
configure:13077: result: yes
configure:13087: checking whether device_create() wants 5 args
configure:13116: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration -Werror M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:13119: $? = 0
configure:13121: test -s build/conftest.o
configure:13124: $? = 0
configure:13127: result: yes
configure:13148: checking whether class_device_create() is available
configure:13176: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:44:3: error: implicit declaration of function ‘class_device_create’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:13179: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
| #define HAVE_PATH_IN_NAMEIDATA 1
| #define HAVE_FLS64 1
| #define HAVE_DEVICE_CREATE 1
| #define HAVE_5ARGS_DEVICE_CREATE 1
|
|
| #include <linux/device.h>
|
| int
| main (void)
| {
|
| class_device_create(NULL, NULL, 0, NULL, NULL);
|
| ;
| return 0;
| }
|
configure:13199: result: no
configure:13246: checking whether set_normalized_timespec() is available as export
configure:13274: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:13277: $? = 0
configure:13279: test -s build/conftest.o
configure:13282: $? = 0
configure:13334: result: yes
configure:13345: checking whether set_normalized_timespec() is an inline
configure:13372: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:40:8: error: conflicting types for ‘set_normalized_timespec’
include/linux/time.h:78:13: note: previous declaration of ‘set_normalized_timespec’ was here
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:13375: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
| #define HAVE_PATH_IN_NAMEIDATA 1
| #define HAVE_FLS64 1
| #define HAVE_DEVICE_CREATE 1
| #define HAVE_5ARGS_DEVICE_CREATE 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
|
|
| #include <linux/time.h>
| void set_normalized_timespec(struct timespec *ts,
| time_t sec, long nsec) { }
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
|
configure:13390: result: yes
configure:13404: checking whether timespec_sub() is available
configure:13434: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:13437: $? = 0
configure:13439: test -s build/conftest.o
configure:13442: $? = 0
configure:13445: result: yes
configure:13466: checking whether init_utsname() is available
configure:13494: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:13497: $? = 0
configure:13499: test -s build/conftest.o
configure:13502: $? = 0
configure:13505: result: yes
configure:13526: checking whether header linux/fdtable.h exists
configure:13553: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:13556: $? = 0
configure:13558: test -s build/conftest.o
configure:13561: $? = 0
configure:13567: result: yes
configure:13588: checking whether files_fdtable() is available
configure:13621: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:13624: $? = 0
configure:13626: test -s build/conftest.o
configure:13629: $? = 0
configure:13632: result: yes
configure:13653: checking whether __clear_close_on_exec() is available
configure:13683: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:53:3: error: implicit declaration of function ‘__clear_close_on_exec’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:13686: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
| #define HAVE_PATH_IN_NAMEIDATA 1
| #define HAVE_FLS64 1
| #define HAVE_DEVICE_CREATE 1
| #define HAVE_5ARGS_DEVICE_CREATE 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
| #define HAVE_TIMESPEC_SUB 1
| #define HAVE_INIT_UTSNAME 1
| #define HAVE_FDTABLE_HEADER 1
| #define HAVE_FILES_FDTABLE 1
|
|
| #include <linux/fdtable.h>
|
| int
| main (void)
| {
|
| struct fdtable *fdt = NULL;
| int fd = 0;
|
| __clear_close_on_exec(fd, fdt);
|
| ;
| return 0;
| }
|
configure:13704: result: no
configure:13715: checking whether header linux/uaccess.h exists
configure:13742: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:13745: $? = 0
configure:13747: test -s build/conftest.o
configure:13750: $? = 0
configure:13756: result: yes
configure:13777: checking whether kmalloc_node() is available
configure:13805: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:13808: $? = 0
configure:13810: test -s build/conftest.o
configure:13813: $? = 0
configure:13816: result: yes
configure:13836: checking whether monotonic_clock() is available
configure:13864: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:52:3: error: implicit declaration of function ‘monotonic_clock’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:13867: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
| #define HAVE_PATH_IN_NAMEIDATA 1
| #define HAVE_FLS64 1
| #define HAVE_DEVICE_CREATE 1
| #define HAVE_5ARGS_DEVICE_CREATE 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
| #define HAVE_TIMESPEC_SUB 1
| #define HAVE_INIT_UTSNAME 1
| #define HAVE_FDTABLE_HEADER 1
| #define HAVE_FILES_FDTABLE 1
| #define HAVE_UACCESS_HEADER 1
| #define HAVE_KMALLOC_NODE 1
|
|
| #include <linux/timex.h>
|
| int
| main (void)
| {
|
| monotonic_clock();
|
| ;
| return 0;
| }
|
configure:13887: result: no
configure:13935: checking whether struct inode has i_mutex
configure:13964: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:13967: $? = 0
configure:13969: test -s build/conftest.o
configure:13972: $? = 0
configure:13975: result: yes
configure:13996: checking whether struct mutex has owner
configure:14024: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:14027: $? = 0
configure:14029: test -s build/conftest.o
configure:14032: $? = 0
configure:14035: result: yes
configure:14056: checking whether struct mutex owner is a task_struct
configure:14086: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration -Werror M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:14089: $? = 0
configure:14091: test -s build/conftest.o
configure:14094: $? = 0
configure:14097: result: yes
configure:14119: checking whether mutex_lock_nested() is available
configure:14148: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:14151: $? = 0
configure:14153: test -s build/conftest.o
configure:14156: $? = 0
configure:14159: result: yes
configure:14180: checking whether on_each_cpu() wants 3 args
configure:14207: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:14210: $? = 0
configure:14212: test -s build/conftest.o
configure:14215: $? = 0
configure:14218: result: yes
configure:14238: checking whether kallsyms_lookup_name() is available
configure:14266: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:14269: $? = 0
configure:14271: test -s build/conftest.o
configure:14274: $? = 0
configure:14326: result: yes
configure:14336: checking whether get_vmalloc_info() is available
configure:14355: result: no
configure:14379: checking whether symbol *pgdat exist
configure:14384: result: yes
configure:14394: checking whether first_online_pgdat() is available
configure:14422: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
WARNING: "first_online_pgdat" [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.ko] undefined!
configure:14425: $? = 0
configure:14427: test -s build/conftest.o
configure:14430: $? = 0
configure:14477: result: no
configure:14492: checking whether next_online_pgdat() is available
configure:14520: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
WARNING: "next_online_pgdat" [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.ko] undefined!
configure:14523: $? = 0
configure:14525: test -s build/conftest.o
configure:14528: $? = 0
configure:14575: result: no
configure:14590: checking whether next_zone() is available
configure:14618: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
WARNING: "next_zone" [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.ko] undefined!
configure:14621: $? = 0
configure:14623: test -s build/conftest.o
configure:14626: $? = 0
configure:14673: result: no
configure:14688: checking whether pgdat_list is available
configure:14715: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:54:20: error: ‘pgdat_list’ undeclared here (not in a function)
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:14718: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
| #define HAVE_PATH_IN_NAMEIDATA 1
| #define HAVE_FLS64 1
| #define HAVE_DEVICE_CREATE 1
| #define HAVE_5ARGS_DEVICE_CREATE 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
| #define HAVE_TIMESPEC_SUB 1
| #define HAVE_INIT_UTSNAME 1
| #define HAVE_FDTABLE_HEADER 1
| #define HAVE_FILES_FDTABLE 1
| #define HAVE_UACCESS_HEADER 1
| #define HAVE_KMALLOC_NODE 1
| #define HAVE_INODE_I_MUTEX 1
| #define HAVE_MUTEX_OWNER 1
| #define HAVE_MUTEX_OWNER_TASK_STRUCT 1
| #define HAVE_MUTEX_LOCK_NESTED 1
| #define HAVE_3ARGS_ON_EACH_CPU 1
| #define HAVE_KALLSYMS_LOOKUP_NAME 1
| #define HAVE_PGDAT_HELPERS 1
|
|
| #include <linux/topology.h>
| pg_data_t *tmp = pgdat_list;
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
|
configure:14738: result: no
configure:14786: checking whether global_page_state() is available
configure:14814: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:14817: $? = 0
configure:14819: test -s build/conftest.o
configure:14822: $? = 0
configure:14825: result: yes
configure:14846: checking whether page state NR_FREE_PAGES is available
configure:14874: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:14877: $? = 0
configure:14879: test -s build/conftest.o
configure:14882: $? = 0
configure:14885: result: yes
configure:14906: checking whether page state NR_INACTIVE is available
configure:14934: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:62:9: error: ‘NR_INACTIVE’ undeclared (first use in this function)
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:62:9: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:14937: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
| #define HAVE_PATH_IN_NAMEIDATA 1
| #define HAVE_FLS64 1
| #define HAVE_DEVICE_CREATE 1
| #define HAVE_5ARGS_DEVICE_CREATE 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
| #define HAVE_TIMESPEC_SUB 1
| #define HAVE_INIT_UTSNAME 1
| #define HAVE_FDTABLE_HEADER 1
| #define HAVE_FILES_FDTABLE 1
| #define HAVE_UACCESS_HEADER 1
| #define HAVE_KMALLOC_NODE 1
| #define HAVE_INODE_I_MUTEX 1
| #define HAVE_MUTEX_OWNER 1
| #define HAVE_MUTEX_OWNER_TASK_STRUCT 1
| #define HAVE_MUTEX_LOCK_NESTED 1
| #define HAVE_3ARGS_ON_EACH_CPU 1
| #define HAVE_KALLSYMS_LOOKUP_NAME 1
| #define HAVE_PGDAT_HELPERS 1
| #define HAVE_GLOBAL_PAGE_STATE 1
| #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
|
|
| #include <linux/mm.h>
|
| int
| main (void)
| {
|
| enum zone_stat_item zsi attribute ((unused));
| zsi = NR_INACTIVE;
|
| ;
| return 0;
| }
|
configure:14955: result: no
configure:14965: checking whether page state NR_INACTIVE_ANON is available
configure:14993: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:14996: $? = 0
configure:14998: test -s build/conftest.o
configure:15001: $? = 0
configure:15004: result: yes
configure:15024: checking whether page state NR_INACTIVE_FILE is available
configure:15052: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:15055: $? = 0
configure:15057: test -s build/conftest.o
configure:15060: $? = 0
configure:15063: result: yes
configure:15084: checking whether page state NR_ACTIVE is available
configure:15112: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:64:9: error: ‘NR_ACTIVE’ undeclared (first use in this function)
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:64:9: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:15115: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
| #define HAVE_PATH_IN_NAMEIDATA 1
| #define HAVE_FLS64 1
| #define HAVE_DEVICE_CREATE 1
| #define HAVE_5ARGS_DEVICE_CREATE 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
| #define HAVE_TIMESPEC_SUB 1
| #define HAVE_INIT_UTSNAME 1
| #define HAVE_FDTABLE_HEADER 1
| #define HAVE_FILES_FDTABLE 1
| #define HAVE_UACCESS_HEADER 1
| #define HAVE_KMALLOC_NODE 1
| #define HAVE_INODE_I_MUTEX 1
| #define HAVE_MUTEX_OWNER 1
| #define HAVE_MUTEX_OWNER_TASK_STRUCT 1
| #define HAVE_MUTEX_LOCK_NESTED 1
| #define HAVE_3ARGS_ON_EACH_CPU 1
| #define HAVE_KALLSYMS_LOOKUP_NAME 1
| #define HAVE_PGDAT_HELPERS 1
| #define HAVE_GLOBAL_PAGE_STATE 1
| #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
| #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
| #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
|
|
| #include <linux/mm.h>
|
| int
| main (void)
| {
|
| enum zone_stat_item zsi attribute ((unused));
| zsi = NR_ACTIVE;
|
| ;
| return 0;
| }
|
configure:15133: result: no
configure:15143: checking whether page state NR_ACTIVE_ANON is available
configure:15171: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:15174: $? = 0
configure:15176: test -s build/conftest.o
configure:15179: $? = 0
configure:15182: result: yes
configure:15202: checking whether page state NR_ACTIVE_FILE is available
configure:15230: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:15233: $? = 0
configure:15235: test -s build/conftest.o
configure:15238: $? = 0
configure:15241: result: yes
configure:15262: checking whether symbol get_zone_counts is needed
configure:15302: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:15305: $? = 0
configure:15307: test -s build/conftest.o
configure:15310: $? = 0
configure:15313: result: no
configure:15431: checking whether user_path_dir() is available
configure:15460: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:15463: $? = 0
configure:15465: test -s build/conftest.o
configure:15468: $? = 0
configure:15520: result: yes
configure:15530: checking whether set_fs_pwd() is available
configure:15559: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:15562: $? = 0
configure:15564: test -s build/conftest.o
configure:15567: $? = 0
configure:15614: result: no
configure:15629: checking whether set_fs_pwd() wants 2 args
configure:15657: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
WARNING: "set_fs_pwd" [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.ko] undefined!
configure:15660: $? = 0
configure:15662: test -s build/conftest.o
configure:15665: $? = 0
configure:15668: result: yes
configure:15688: checking whether vfs_unlink() wants 2 args
configure:15715: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:15718: $? = 0
configure:15720: test -s build/conftest.o
configure:15723: $? = 0
configure:15726: result: yes
configure:15746: checking whether vfs_rename() wants 4 args
configure:15773: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:15776: $? = 0
configure:15778: test -s build/conftest.o
configure:15781: $? = 0
configure:15784: result: yes
configure:15804: checking whether vfs_fsync() is available
configure:15832: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:15835: $? = 0
configure:15837: test -s build/conftest.o
configure:15840: $? = 0
configure:15892: result: yes
configure:15903: checking whether vfs_fsync() wants 2 args
configure:15930: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:15933: $? = 0
configure:15935: test -s build/conftest.o
configure:15938: $? = 0
configure:15941: result: yes
configure:15962: checking whether struct fs_struct uses spinlock_t
configure:15993: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration -Werror M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:15996: $? = 0
configure:15998: test -s build/conftest.o
configure:16001: $? = 0
configure:16004: result: yes
configure:16026: checking whether struct cred exists
configure:16054: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:16057: $? = 0
configure:16059: test -s build/conftest.o
configure:16062: $? = 0
configure:16065: result: yes
configure:16085: checking whether groups_search() is available
configure:16113: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
WARNING: "groups_search" [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.ko] undefined!
configure:16116: $? = 0
configure:16118: test -s build/conftest.o
configure:16121: $? = 0
configure:16168: result: no
configure:16183: checking whether __put_task_struct() is available
configure:16211: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:16214: $? = 0
configure:16216: test -s build/conftest.o
configure:16219: $? = 0
configure:16271: result: yes
configure:16282: checking whether proc_handler() wants 5 args
configure:16309: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:16312: $? = 0
configure:16314: test -s build/conftest.o
configure:16317: $? = 0
configure:16320: result: yes
configure:16340: checking whether kvasprintf() is available
configure:16368: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
configure:16371: $? = 0
configure:16373: test -s build/conftest.o
configure:16376: $? = 0
configure:16428: result: yes
configure:16438: checking whether rwsem_is_locked() acquires sem->wait_lock
configure:16465: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:71:7: error: redefinition of ‘rwsem_is_locked’
include/linux/rwsem.h:44:19: note: previous definition of ‘rwsem_is_locked’ was here
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:16468: $? = 2
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.0.71"
| #define SPL_META_RELEASE "rc10"
| #define SPL_META_ALIAS "spl-0.6.0.71-rc10"
| #define PACKAGE "spl"
| #define VERSION "0.6.0.71"
| #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/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
| #define HAVE_ATOMIC64_T 1
| #define HAVE_ATOMIC64_CMPXCHG 1
| #define HAVE_ATOMIC64_XCHG 1
| #define HAVE_UINTPTR_T 1
| #define HAVE_PATH_IN_NAMEIDATA 1
| #define HAVE_FLS64 1
| #define HAVE_DEVICE_CREATE 1
| #define HAVE_5ARGS_DEVICE_CREATE 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_EXPORT 1
| #define HAVE_SET_NORMALIZED_TIMESPEC_INLINE 1
| #define HAVE_TIMESPEC_SUB 1
| #define HAVE_INIT_UTSNAME 1
| #define HAVE_FDTABLE_HEADER 1
| #define HAVE_FILES_FDTABLE 1
| #define HAVE_UACCESS_HEADER 1
| #define HAVE_KMALLOC_NODE 1
| #define HAVE_INODE_I_MUTEX 1
| #define HAVE_MUTEX_OWNER 1
| #define HAVE_MUTEX_OWNER_TASK_STRUCT 1
| #define HAVE_MUTEX_LOCK_NESTED 1
| #define HAVE_3ARGS_ON_EACH_CPU 1
| #define HAVE_KALLSYMS_LOOKUP_NAME 1
| #define HAVE_PGDAT_HELPERS 1
| #define HAVE_GLOBAL_PAGE_STATE 1
| #define HAVE_ZONE_STAT_ITEM_NR_FREE_PAGES 1
| #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
| #define HAVE_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
| #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_ANON 1
| #define HAVE_ZONE_STAT_ITEM_NR_ACTIVE_FILE 1
| #define HAVE_USER_PATH_DIR 1
| #define HAVE_2ARGS_SET_FS_PWD 1
| #define HAVE_2ARGS_VFS_UNLINK 1
| #define HAVE_4ARGS_VFS_RENAME 1
| #define HAVE_VFS_FSYNC 1
| #define HAVE_2ARGS_VFS_FSYNC 1
| #define HAVE_FS_STRUCT_SPINLOCK 1
| #define HAVE_CRED_STRUCT 1
| #define HAVE_PUT_TASK_STRUCT 1
| #define HAVE_5ARGS_PROC_HANDLER 1
| #define HAVE_KVASPRINTF 1
|
|
| #include <linux/rwsem.h>
| int rwsem_is_locked(struct rw_semaphore *sem) { return 0; }
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
|
configure:16488: result: no
configure:16536: checking whether invalidate_inodes() is available
configure:16564: cp conftest.c build && make modules -C /lib/modules/3.2.0-29-generic/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/var/lib/dkms/spl/0.6.0.71/build/build
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c: In function ‘main’:
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:76:3: error: ‘invalidate_inodes’ undeclared (first use in this function)
/var/lib/dkms/spl/0.6.0.71/build/build/conftest.c:76:3: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *
* [/var/lib/dkms/spl/0.6.0.71/build/build/conftest.o] Error 1
make: *** [module/var/lib/dkms/spl/0.6.0.71/build/build] Error 2
configure:16567: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #

@BagOfMostlyWater
Copy link
Author

On Tue, Aug 21, 2012 at 04:00:04PM -0700, Darik Horn wrote:

So apt-get's invocation of dkms is somehow different than the shell's?

It shouldn't be, but there is a way to override it.

Leave the ticket open if you want me to pursue this issue. I will have
time to look at it next week. Otherwise, please click the "close issue"
button.

Its not an emergency or anything, but it'd be great if you have time to
take a look at it. I'm more concerned with future apt-get upgrades failing
in the same way.

Thanks,
Ryan

@JoGruni
Copy link

JoGruni commented Sep 1, 2012

I du have a similar problem here is what I did:

run VirtualBox 4.1.20 r80170 on Windows 7 64Bit host system
downloaded ubuntu-12.04-alternate-amd64.iso (12.04.1 does not yet have kernel updates)
install the live image on a in VirtualBox
after the reboot I did install zfs from the stable repository
"apt-add-repository ppa:zfs-native/stable" (same problem with daily)
"apt-get update"
"apt-get install debootstrap ubuntu-zfs"
next I updated the kernel
"apt-get update"
"apt-get upgrade" leaves the kernel "held back" (I have no idea why, so I need to install it manually)
"apt-get install linux-generic linux-headers-generic linux-image-generic"
this ends with the error message.
In my case "apt-get reinstall spl-dkms" solves the problem

I am not sure, why the kernel packages are held back, that is something I have not found out why ubuntu does that.
But it seems that the post installation scripts, that should recompile the zfs part are not working after the reboot.

Thanks,
Joachim

@dajhorn
Copy link
Member

dajhorn commented Sep 1, 2012

You will get the desired result by using apt-get dist-upgrade, which allows the installation of new packages to satisfy a dependency. If a kernel upgrade has an ABI change, then Debian and Ubuntu create a new package for it.

@dajhorn
Copy link
Member

dajhorn commented Sep 1, 2012

Right now, the problem seems:

  • Coincident with the 12.04.1 release last week.
  • Caused by the alternate installer.

Ways to mitigate the problem are:

  • Finish the upgrade from Ubuntu 12.04.0 to Ubuntu 12.04.1 before installing ZoL.
  • Or use the default installer so that the build requirements are already satisfied by the base system before the initial upgrade happens.

@JoGruni
Copy link

JoGruni commented Sep 1, 2012

Right now using the 12.04.1 would solve the problem temporarily, as there is not yet a kernel update available for 12.04.1, but as soon as a kernal update will be available for 12.04.1, there is again a high propability for the same error.

I did not use the alternate installer. I installed with the desktop.iso.

I thought dist-upgrade just used for upgrading from like 11.10 to 12.04, but from googleing it seems that dist-upgrade should include the kernel.

I just tried, and used dist-upgrade to install the new kernel, but ends with the same problem.

I could send you an appliance to reproduce the problem. (I have dropbox, so I could send you a link. Will just take some time to upload.

@JoGruni
Copy link

JoGruni commented Sep 1, 2012

Just to summarize: My intention is to set up a new system to use ZFS for a 8 disk array and ubuntu 12.04 LTS. and run the system for a loooong time.

Now I just want to make sure, the system will survive updates. So I set up the VirtualBox environment to simulate such situations.

The experience within update/upgrade worries me a bit, that the system might be rendered not functional after such an upgrade. This is why I would just feel better, when the upgrade would flawlessly include the zfs part.

Otherwise It might be to risky to run native zfs for the root filesystem too. I could still use it for some data pools but not for the root.

Maybe it is still too risky to use the native zfs at all and use a fuse version instead for just data pools, or completely stay with software-raid5. But on the other side I like a lot of the exclusive features, that ZFS offers, especially the checksum to check data integrity.

@dajhorn
Copy link
Member

dajhorn commented Sep 1, 2012

I could send you an appliance to reproduce the problem. (I have dropbox, so I could send you a link. Will just take some time to upload.

Please post a link here. I'm busy, but somebody else might look at it before me.

there is again a high propability for the same error

There are ZoL users tracking daily kernel builds, so this is unlikely.

I did not use the alternate installer. I installed with the desktop.iso.

But you previously said: run VirtualBox 4.1.20 r80170 on Windows 7 64Bit host system downloaded ubuntu-12.04-alternate-amd64.iso

The alternate installer does not produce the same result as the desktop installer. I get a non-trivial number of dud bug reports involving custom installations, especially on virtual hosts, so please confirm that you are doing a default installation using the ubuntu-12.04.1-desktop-amd64.iso image.

Users that do custom installations are responsible for installing build-essential and appropriate kernel headers.

Otherwise It might be to risky to run native zfs for the root filesystem too. I could still use it for some data pools but not for the root.

Running a native ZFS root is experimental.

@JoGruni
Copy link

JoGruni commented Sep 1, 2012

Am 01.09.2012 13:45, schrieb Darik Horn:

I could send you an appliance to reproduce the problem. (I have
dropbox, so I could send you a link. Will just take some time to
upload.

Please post a link here. I'm busy, but somebody else might look at it
before me.

I will prepare one. But it might take some time to upload the image.

there is again a high propability for the same error

There are ZoL users tracking daily kernel builds, so this is unlikely.

I tried both stable and daily repo with same result. For me the error is
always reproducible.

I did not use the alternate installer. I installed with the
desktop.iso.

But you previously said: |run VirtualBox 4.1.20 r80170 on Windows 7
64Bit host system
downloaded ubuntu-12.04-alternate-amd64.iso|

Sorry this was a typo mistake. I did use always desktop isos, in this
case ubuntu-12.04-desktop-amd64.iso !!!

The alternate installer /does not/ produce the same result as the
desktop installer. I get a non-trivial number of dud bug reports
involving custom installations, especially on virtual hosts, so please
confirm that you are doing a default installation using the
ubuntu-12.04.1-desktop-amd64.iso image.

12.04.1 does not yet have kernel updates, so the error will not show
until there is a kernel update for 12.04.1.

Users that do custom installations are responsible for installing
|build-essential| and appropriate kernel headers.

Otherwise It might be to risky to run native zfs for the root
filesystem too. I could still use it for some data pools but not
for the root.

Running a native ZFS root is experimental.

I understand that, I just hoped that it would survive a "normal" kernel
update without manual interaction.
But during the latest tests, it seems that even with the error, the
system does reboot. Reboot only failed on one of my initial tests using
a live USB stick with a persistent drive, but never failed on a VB
installation.
Native ZFS is required, because I use inotify for some folders and this
does not work on the fuse version.

I also guess that kernel updates will always require manual interaction
(apt-get dist-upgrade) so maybe I can live with the fact to reinstall
the spl-dkms, which works in my case.

@JoGruni
Copy link

JoGruni commented Sep 2, 2012

I created a VirtualBox appliance file, that has 12.04 LTS desktop 64Bit installed and zfs from stable repository.
https://dl.dropbox.com/u/574700/ZFS.ova
If you login as user ubuntu (password ubuntu) and "sudo apt-get dist-upgrade" the error should appear. It is a bit faster and does not download all the irelevant other updates if you just install the updated kernel files
"apt-get install linux-generic linux-headers-generic linux-image-generic"
After a few minutes when trying to recompile the modules it fails.

@dajhorn
Copy link
Member

dajhorn commented Sep 3, 2012

(Thanks for posting the OVA.)

I downloaded the virtual machine and did this:

  1. Run sudo -i
  2. Substitute for the http://us.archive.ubuntu.com/ mirror in the /etc/apt/sources.list file.
  3. Run apt-get update
  4. Run apt-get dist-upgrade

The upgrade succeeded and I got this:

# dkms status
spl, 0.6.0.74, 3.2.0-23-generic, x86_64: installed
spl, 0.6.0.74, 3.2.0-29-generic, x86_64: installed
virtualbox-guest, 4.1.12, 3.2.0-23-generic, x86_64: installed
virtualbox-guest, 4.1.12, 3.2.0-29-generic, x86_64: installed
zfs, 0.6.0.74, 3.2.0-23-generic, x86_64: installed
zfs, 0.6.0.74, 3.2.0-29-generic, x86_64: installed

I tried both of Virtual Box 4.2.0.80231 (the Oracle build) and VMware Player 5.0.0.812388, but could not reproduce the error in either host.

Perhaps your local Canadian mirror is inconsistent. Try again later, or try a different mirror.

Also note that this VM has 1GB of memory, which is less than the minimum system requirements for ZoL. All installations should have 2GB, but preferably 4GB or more.

@JoGruni
Copy link

JoGruni commented Sep 3, 2012

On 02/09/2012 18:41, Darik Horn wrote:

(Thanks for posting the OVA.)

I downloaded the virtual machine and did this:

  1. Run |sudo -i|
  2. Substitute for the http://us.archive.ubuntu.com/ mirror in the
    |/etc/apt/sources.list| file.
  3. Run |apt-get update|
  4. Run |apt-get dist-upgrade|

I do not understand that. In my case I can do whatever I want and always
get the error message during upgrade.

The upgrade succeeded and I got this:

|# dkms status
spl, 0.6.0.74, 3.2.0-23-generic, x86_64: installed
spl, 0.6.0.74, 3.2.0-29-generic, x86_64: installed
virtualbox-guest, 4.1.12, 3.2.0-23-generic, x86_64: installed
virtualbox-guest, 4.1.12, 3.2.0-29-generic, x86_64: installed
zfs, 0.6.0.74, 3.2.0-23-generic, x86_64: installed
zfs, 0.6.0.74, 3.2.0-29-generic, x86_64: installed
|

I tried both of Virtual Box 4.2.0.80231 (the Oracle build) and VMware
Player 5.0.0.812388, but could not reproduce the error in either host.

Perhaps your local Canadian mirror is inconsistent. Try again later,
or try a different mirror.

Also note that this VM has 1GB of memory, which is less than the
minimum system requirements for ZoL. All installations should have
2GB, but preferably 4GB or more.

I reduced to 1G but on my initial test system I used 2G (on a 6G Win 7
host) and 4G (running on a 8G Fedora 14 host)

I will try to import the appliance and try again.

It is weird!

@dajhorn
Copy link
Member

dajhorn commented Sep 3, 2012

I tried the Canadian mirror today and it worked. A video of the given ZFS.ova machine upgrading itself is here:

https://github.com/downloads/dajhorn/pkg-zfs/ZFS%20Movie%20for%20@JoGruni.avi

The avi file requires the vmnc codec because I used VMware Workstation for the capture. It would be a drudgery, but you could compare my result to your result.

This issue is not-a-bug in ZoL if it is caused by an inconsistent mirror or apt cache. I will leave this ticket open for a few more weeks; maybe somebody else will notice the glitch and suggest a better explanation.

@JoGruni
Copy link

JoGruni commented Sep 3, 2012

I tried a few variants too. I think the dist-upgrade makes the difference. I am still trying and let you know, when i drilled down the source of the problem.

Joachim

Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Darik Horn notifications@github.com wrote:

I tried the Canadian mirror today and it worked. A video of the given ZFS.ova machine upgrading itself is here:

https://github.com/downloads/dajhorn/pkg-zfs/ZFS%20Movie%20for%20@JoGruni.avi

The avi file requires the vmnc codec because I used VMware Workstation for the capture. It would be a drudgery, but you could compare my result to your result.

This issue is not-a-bug in ZoL if it is caused by an inconsistent mirror or apt cache. I will leave this ticket open for a few more weeks; maybe somebody else will notice the glitch and suggest a better explanation.


Reply to this email directly or view it on GitHub.

@dajhorn
Copy link
Member

dajhorn commented Sep 3, 2012

I tried a few variants too. I think the dist-upgrade makes the difference. I am still trying and let you know, when i drilled down the source of the problem.

I appreciate your help. This problem sounds like it should be a FAQ item.

@JoGruni
Copy link

JoGruni commented Sep 4, 2012

But there is also another coincident. The zfs version meanwhile did a version jump from 73 to 74. So the zfs packages are deleted, reinstalled and recompiled anyway.
I will try to upgrade zfs first to 74 version and THEN do the dist-upgrade.
I let you know about the result. It just takes some time after every step ;-)

@JoGruni
Copy link

JoGruni commented Sep 4, 2012

I did a few more tests and here are my findings:

When I initially ran into the error I was using the stable repository. So there was no newer version of the zfs modules during dist-upgrade while testing. This makes a difference!
Unfortunately when creating the appliance I used the daily repository. So the dist-upgrade included new packages for zfs (74 vs. 73 during creation of the appliance) and therefor the modules were rebuilt anyway.

Now I did the following test and the error can be reproduced:
Reinstall the appliance (or go back to the initial stage) which is basically a clean 12.04 install and zfs from the daily repository.
sudo -i (password ubuntu)
apt-get update
apt-get upgrade (to install everything except the new kernels and a few other packages)
-> everything works including the new 74 zfs modules rebuilt and installation.
This is also s good moment for a snapshot!!!
apt-get update
apt-get dist-upgrade
NOW the dist-upgrade fails, because the zfs modules are attempted to recreate by some kernel post installation scripts, instead of the installation scripts.

This error will be more likely to encounter being on the stable repository, than when being on the daily repo.
It is also a bit difficult for me to judge if this compilation error is a big probem or not.
For me it just leaves some questions, what happens when kernels are updated automatically.

Hope that helps a bit.
But anyway I really appreciate all the work you guys put into making ZFS available for ubuntu and other linux flavours. GREAT WORK!!!

@ghost ghost assigned dajhorn Sep 5, 2012
@dajhorn
Copy link
Member

dajhorn commented Oct 29, 2012

I got this error first hand yesterday. It was caused by an archive inconsistency; the mirror state does not necessarily reflect the Launchpad state.

The error message is, unfortunately, misleading and there is no obvious way to improve it. The problem could be mitigated by implementing dajhorn/pkg-zfs#12 or resolved by bundling SPL into the ZFS package.

dajhorn referenced this issue Dec 3, 2012
The DKMS package with the experimental BUILD_DEPENDS directive only
resolves dependencies for automatic installations, like those invoked
through the run-parts for kernel packages.

Set "Pre-Depends: spl-dkms" in the `debian/control` file so that the
first non-automatic build by `/usr/lib/dkms/common.postinst` happens
for SPL before ZFS is added to dkms.

NB: Commit b08e6b3.

This change plus the enhanced DKMS package...

Closes: dajhorn/pkg-zfs#42
Closes: dajhorn/pkg-zfs#44
@dajhorn
Copy link
Member

dajhorn commented Dec 3, 2012

The fix for this family of problems will take effect when an updated DKMS package appears in the daily PPA sometime in the next two weeks. The solution is somewhat invasive, so it will likely be a while longer before it appears in the stable PPA.

@dajhorn dajhorn closed this as completed Dec 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants