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

zfs does not build anymore on debian testing and head #2369

Closed
lofoten opened this issue Jun 8, 2014 · 12 comments
Closed

zfs does not build anymore on debian testing and head #2369

lofoten opened this issue Jun 8, 2014 · 12 comments
Labels
Type: Building Indicates an issue related to building binaries
Milestone

Comments

@lofoten
Copy link

lofoten commented Jun 8, 2014

Hi,
i just tried to generate the latest zfs packages and it does fail with two errors.

First:
tmp/user/0/zfs-build-root-OEPjoYec/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/zfs_delay.h:25:32: fatal error: linux/delay_compat.h: No such file or directory
#include <linux/delay_compat.h>

Second:

line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kernel-modules-for-kernel = 3.14-1-amd64
line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kmod-zfs-uname-r = 3.14-1-amd64
line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kernel-objects-for-kernel = 3.14-1-amd64
line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kmod-zfs-devel-uname-r = 3.14-1-amd64

@FransUrbo
Copy link
Contributor

The delay_compat.h file is part of spl. Did you (re)build SPL before you started with ZFS? Where did you get your code from (git, package, ...)? What command line did you use for ./configure and make?

@lofoten
Copy link
Author

lofoten commented Jun 8, 2014

The sources are from github. git clone
I am following head since several month.
Have been in vacation and now it is broken, so no exact time of breakage unfortunatly

root@rover:/usr/src/zfs# find /usr/src -name delay_compat.h
/usr/src/spl/include/linux/delay_compat.h
/usr/src/spl-0.6.2/include/linux/delay_compat.h

@FransUrbo
Copy link
Contributor

@lofoten You didn't answer my other questions...

@lofoten
Copy link
Author

lofoten commented Jun 8, 2014

make pkg="zfs-kmod"
def='--define "build_src_rpm 1" ' srpm-common
make[1]: Entering directory '/usr/src/zfs'
make dist-gzip am__post_remove_distdir='@:'
make[2]: Entering directory '/usr/src/zfs'
if test -d "zfs-0.6.2"; then find "zfs-0.6.2" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "zfs-0.6.2" || { sleep 5 && rm -rf "zfs-0.6.2"; }; else :; fi
test -d "zfs-0.6.2" || mkdir "zfs-0.6.2"
(cd include && make top_distdir=../zfs-0.6.2 distdir=../zfs-0.6.2/include
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/usr/src/zfs/include'
(cd linux && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/include/linux
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/include/linux'
make[4]: Leaving directory '/usr/src/zfs/include/linux'
(cd sys && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/include/sys
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/include/sys'
(cd fm && make top_distdir=../../../zfs-0.6.2 distdir=../../../zfs-0.6.2/include/sys/fm
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/usr/src/zfs/include/sys/fm'
(cd fs && make top_distdir=../../../../zfs-0.6.2 distdir=../../../../zfs-0.6.2/include/sys/fm/fs
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[6]: Entering directory '/usr/src/zfs/include/sys/fm/fs'
make[6]: Leaving directory '/usr/src/zfs/include/sys/fm/fs'
make[5]: Leaving directory '/usr/src/zfs/include/sys/fm'
(cd fs && make top_distdir=../../../zfs-0.6.2 distdir=../../../zfs-0.6.2/include/sys/fs
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/usr/src/zfs/include/sys/fs'
make[5]: Leaving directory '/usr/src/zfs/include/sys/fs'
make[4]: Leaving directory '/usr/src/zfs/include/sys'
make[3]: Leaving directory '/usr/src/zfs/include'
(cd rpm && make top_distdir=../zfs-0.6.2 distdir=../zfs-0.6.2/rpm
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/usr/src/zfs/rpm'
(cd fedora && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/rpm/fedora
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/rpm/fedora'
make[4]: Leaving directory '/usr/src/zfs/rpm/fedora'
(cd generic && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/rpm/generic
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/rpm/generic'
make[4]: Leaving directory '/usr/src/zfs/rpm/generic'
make[3]: Leaving directory '/usr/src/zfs/rpm'
(cd dracut && make top_distdir=../zfs-0.6.2 distdir=../zfs-0.6.2/dracut
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/usr/src/zfs/dracut'
(cd 90zfs && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/dracut/90zfs
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/dracut/90zfs'
make[4]: Leaving directory '/usr/src/zfs/dracut/90zfs'
make[3]: Leaving directory '/usr/src/zfs/dracut'
(cd udev && make top_distdir=../zfs-0.6.2 distdir=../zfs-0.6.2/udev
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/usr/src/zfs/udev'
(cd rules.d && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/udev/rules.d
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/udev/rules.d'
make[4]: Leaving directory '/usr/src/zfs/udev/rules.d'
make[3]: Leaving directory '/usr/src/zfs/udev'
(cd etc && make top_distdir=../zfs-0.6.2 distdir=../zfs-0.6.2/etc
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/usr/src/zfs/etc'
(cd init.d && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/etc/init.d
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/etc/init.d'
make[4]: Leaving directory '/usr/src/zfs/etc/init.d'
(cd zfs && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/etc/zfs
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/etc/zfs'
make[4]: Leaving directory '/usr/src/zfs/etc/zfs'
(cd systemd && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/etc/systemd
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/etc/systemd'
(cd system && make top_distdir=../../../zfs-0.6.2 distdir=../../../zfs-0.6.2/etc/systemd/system
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/usr/src/zfs/etc/systemd/system'
make[5]: Leaving directory '/usr/src/zfs/etc/systemd/system'
make[4]: Leaving directory '/usr/src/zfs/etc/systemd'
(cd modules-load.d && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/etc/modules-load.d
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/etc/modules-load.d'
make[4]: Leaving directory '/usr/src/zfs/etc/modules-load.d'
make[3]: Leaving directory '/usr/src/zfs/etc'
(cd man && make top_distdir=../zfs-0.6.2 distdir=../zfs-0.6.2/man
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/usr/src/zfs/man'
(cd man1 && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/man/man1
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/man/man1'
make[4]: Leaving directory '/usr/src/zfs/man/man1'
(cd man5 && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/man/man5
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/man/man5'
make[4]: Leaving directory '/usr/src/zfs/man/man5'
(cd man8 && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/man/man8
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/man/man8'
make[4]: Leaving directory '/usr/src/zfs/man/man8'
make[3]: Leaving directory '/usr/src/zfs/man'
(cd scripts && make top_distdir=../zfs-0.6.2 distdir=../zfs-0.6.2/scripts
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/usr/src/zfs/scripts'
(cd zpool-config && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/scripts/zpool-config
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/scripts/zpool-config'
make[4]: Leaving directory '/usr/src/zfs/scripts/zpool-config'
(cd zpios-test && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/scripts/zpios-test
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/scripts/zpios-test'
make[4]: Leaving directory '/usr/src/zfs/scripts/zpios-test'
(cd zpios-profile && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/scripts/zpios-profile
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/scripts/zpios-profile'
make[4]: Leaving directory '/usr/src/zfs/scripts/zpios-profile'
make[3]: Leaving directory '/usr/src/zfs/scripts'
(cd lib && make top_distdir=../zfs-0.6.2 distdir=../zfs-0.6.2/lib
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/usr/src/zfs/lib'
(cd libspl && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/lib/libspl
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/lib/libspl'
(cd include && make top_distdir=../../../zfs-0.6.2 distdir=../../../zfs-0.6.2/lib/libspl/include
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/usr/src/zfs/lib/libspl/include'
(cd ia32 && make top_distdir=../../../../zfs-0.6.2 distdir=../../../../zfs-0.6.2/lib/libspl/include/ia32
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[6]: Entering directory '/usr/src/zfs/lib/libspl/include/ia32'
(cd sys && make top_distdir=../../../../../zfs-0.6.2 distdir=../../../../../zfs-0.6.2/lib/libspl/include/ia32/sys
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[7]: Entering directory '/usr/src/zfs/lib/libspl/include/ia32/sys'
make[7]: Leaving directory '/usr/src/zfs/lib/libspl/include/ia32/sys'
make[6]: Leaving directory '/usr/src/zfs/lib/libspl/include/ia32'
(cd rpc && make top_distdir=../../../../zfs-0.6.2 distdir=../../../../zfs-0.6.2/lib/libspl/include/rpc
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[6]: Entering directory '/usr/src/zfs/lib/libspl/include/rpc'
make[6]: Leaving directory '/usr/src/zfs/lib/libspl/include/rpc'
(cd sys && make top_distdir=../../../../zfs-0.6.2 distdir=../../../../zfs-0.6.2/lib/libspl/include/sys
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[6]: Entering directory '/usr/src/zfs/lib/libspl/include/sys'
(cd dktp && make top_distdir=../../../../../zfs-0.6.2 distdir=../../../../../zfs-0.6.2/lib/libspl/include/sys/dktp
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[7]: Entering directory '/usr/src/zfs/lib/libspl/include/sys/dktp'
make[7]: Leaving directory '/usr/src/zfs/lib/libspl/include/sys/dktp'
(cd sysevent && make top_distdir=../../../../../zfs-0.6.2 distdir=../../../../../zfs-0.6.2/lib/libspl/include/sys/sysevent
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[7]: Entering directory '/usr/src/zfs/lib/libspl/include/sys/sysevent'
make[7]: Leaving directory '/usr/src/zfs/lib/libspl/include/sys/sysevent'
make[6]: Leaving directory '/usr/src/zfs/lib/libspl/include/sys'
(cd util && make top_distdir=../../../../zfs-0.6.2 distdir=../../../../zfs-0.6.2/lib/libspl/include/util
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[6]: Entering directory '/usr/src/zfs/lib/libspl/include/util'
make[6]: Leaving directory '/usr/src/zfs/lib/libspl/include/util'
make[5]: Leaving directory '/usr/src/zfs/lib/libspl/include'
(cd asm-generic && make top_distdir=../../../zfs-0.6.2 distdir=../../../zfs-0.6.2/lib/libspl/asm-generic
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/usr/src/zfs/lib/libspl/asm-generic'
make[5]: Leaving directory '/usr/src/zfs/lib/libspl/asm-generic'
(cd asm-i386 && make top_distdir=../../../zfs-0.6.2 distdir=../../../zfs-0.6.2/lib/libspl/asm-i386
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/usr/src/zfs/lib/libspl/asm-i386'
make[5]: Leaving directory '/usr/src/zfs/lib/libspl/asm-i386'
(cd asm-x86_64 && make top_distdir=../../../zfs-0.6.2 distdir=../../../zfs-0.6.2/lib/libspl/asm-x86_64
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/usr/src/zfs/lib/libspl/asm-x86_64'
make[5]: Leaving directory '/usr/src/zfs/lib/libspl/asm-x86_64'
make[4]: Leaving directory '/usr/src/zfs/lib/libspl'
(cd libavl && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/lib/libavl
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/lib/libavl'
make[4]: Leaving directory '/usr/src/zfs/lib/libavl'
(cd libefi && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/lib/libefi
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/lib/libefi'
make[4]: Leaving directory '/usr/src/zfs/lib/libefi'
(cd libshare && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/lib/libshare
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/lib/libshare'
make[4]: Leaving directory '/usr/src/zfs/lib/libshare'
(cd libunicode && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/lib/libunicode
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/lib/libunicode'
make[4]: Leaving directory '/usr/src/zfs/lib/libunicode'
(cd libuutil && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/lib/libuutil
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/lib/libuutil'
make[4]: Leaving directory '/usr/src/zfs/lib/libuutil'
(cd libnvpair && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/lib/libnvpair
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/lib/libnvpair'
make[4]: Leaving directory '/usr/src/zfs/lib/libnvpair'
(cd libzpool && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/lib/libzpool
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/lib/libzpool'
make[4]: Leaving directory '/usr/src/zfs/lib/libzpool'
(cd libzfs_core && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/lib/libzfs_core
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/lib/libzfs_core'
make[4]: Leaving directory '/usr/src/zfs/lib/libzfs_core'
(cd libzfs && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/lib/libzfs
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/lib/libzfs'
make[4]: Leaving directory '/usr/src/zfs/lib/libzfs'
make[3]: Leaving directory '/usr/src/zfs/lib'
(cd cmd && make top_distdir=../zfs-0.6.2 distdir=../zfs-0.6.2/cmd
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/usr/src/zfs/cmd'
(cd zfs && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/zfs
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/zfs'
make[4]: Leaving directory '/usr/src/zfs/cmd/zfs'
(cd zpool && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/zpool
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/zpool'
make[4]: Leaving directory '/usr/src/zfs/cmd/zpool'
(cd zdb && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/zdb
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/zdb'
make[4]: Leaving directory '/usr/src/zfs/cmd/zdb'
(cd zhack && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/zhack
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/zhack'
make[4]: Leaving directory '/usr/src/zfs/cmd/zhack'
(cd zinject && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/zinject
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/zinject'
make[4]: Leaving directory '/usr/src/zfs/cmd/zinject'
(cd zstreamdump && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/zstreamdump
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/zstreamdump'
make[4]: Leaving directory '/usr/src/zfs/cmd/zstreamdump'
(cd ztest && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/ztest
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/ztest'
make[4]: Leaving directory '/usr/src/zfs/cmd/ztest'
(cd zpios && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/zpios
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/zpios'
make[4]: Leaving directory '/usr/src/zfs/cmd/zpios'
(cd mount_zfs && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/mount_zfs
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/mount_zfs'
make[4]: Leaving directory '/usr/src/zfs/cmd/mount_zfs'
(cd fsck_zfs && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/fsck_zfs
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/fsck_zfs'
make[4]: Leaving directory '/usr/src/zfs/cmd/fsck_zfs'
(cd zvol_id && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/zvol_id
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/zvol_id'
make[4]: Leaving directory '/usr/src/zfs/cmd/zvol_id'
(cd vdev_id && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/vdev_id
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/vdev_id'
make[4]: Leaving directory '/usr/src/zfs/cmd/vdev_id'
(cd arcstat && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/arcstat
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/arcstat'
make[4]: Leaving directory '/usr/src/zfs/cmd/arcstat'
(cd dbufstat && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/dbufstat
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/dbufstat'
make[4]: Leaving directory '/usr/src/zfs/cmd/dbufstat'
(cd zed && make top_distdir=../../zfs-0.6.2 distdir=../../zfs-0.6.2/cmd/zed
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/usr/src/zfs/cmd/zed'
make[4]: Leaving directory '/usr/src/zfs/cmd/zed'
make[3]: Leaving directory '/usr/src/zfs/cmd'
(cd module && make top_distdir=../zfs-0.6.2 distdir=../zfs-0.6.2/module
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/usr/src/zfs/module'
make[3]: Nothing to be done for 'distdir'.
make[3]: Leaving directory '/usr/src/zfs/module'
make
top_distdir="zfs-0.6.2" distdir="zfs-0.6.2"
dist-hook
make[3]: Entering directory '/usr/src/zfs'
sed -i 's/Release:[[:print:]]*/Release: 296_g21b446a/'
zfs-0.6.2/META
make[3]: Leaving directory '/usr/src/zfs'
test -n ""
|| find "zfs-0.6.2" -type d ! -perm -755
-exec chmod u+rwx,go+rx {} ; -o
! -type d ! -perm -444 -links 1 -exec chmod a+r {} ; -o
! -type d ! -perm -400 -exec chmod a+r {} ; -o
! -type d ! -perm -444 -exec /bin/bash /usr/src/zfs/config/install-sh -c -m a+r {} {} ;
|| chmod -R a+r "zfs-0.6.2"
tardir=zfs-0.6.2 && ${TAR-tar} chof - "$tardir" | GZIP=--best gzip -c >zfs-0.6.2.tar.gz
make[2]: Leaving directory '/usr/src/zfs'
if test -d "zfs-0.6.2"; then find "zfs-0.6.2" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "zfs-0.6.2" || { sleep 5 && rm -rf "zfs-0.6.2"; }; else :; fi
make[2]: Entering directory '/usr/src/zfs'
make[2]: Leaving directory '/usr/src/zfs'
Wrote: /tmp/user/0/zfs-build-root-XJ65y0kW/SRPMS/zfs-kmod-0.6.2-296_g21b446a.src.rpm
make[1]: Leaving directory '/usr/src/zfs'
make pkg="zfs-kmod"
def='--define "_without_debug 1" --define "_without_debug_dmu_tx 1" --define "kernels 3.14-1-amd64" --define "require_spldir /var/lib/dkms/spl/0.6.2/build" --define "require_splobj /var/lib/dkms/spl/0.6.2/build" --define "ksrc /usr/src/linux-headers-3.14-1-common" --define "kobj /usr/src/linux-headers-3.14-1-amd64"' rpm-common
make[1]: Entering directory '/usr/src/zfs'
make[2]: Entering directory '/usr/src/zfs'
make[2]: Leaving directory '/usr/src/zfs'
warning: line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kernel-modules-for-kernel = 3.14-1-amd64
warning: line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kmod-zfs-uname-r = 3.14-1-amd64
warning: line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kernel-objects-for-kernel = 3.14-1-amd64
warning: line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kmod-zfs-devel-uname-r = 3.14-1-amd64
Installing zfs-kmod-0.6.2-296_g21b446a.src.rpm
Executing(%prep): /bin/sh -e /tmp/user/0/zfs-build-root-wHDz2gbT/TMP/rpm-tmp.MDL9P3

  • umask 022
  • cd /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD
  • bash /tmp/user/0/zfs-build-root-wHDz2gbT/SOURCES/kmodtool --target x86_64 --kmodname zfs-kmod --newest --devel --for-kernels 3.14-1-amd64
    %package -n kmod-zfs-3.14-1-amd64
    Summary: zfs kernel module(s) for 3.14-1-amd64
    Group: System Environment/Kernel
    Provides: kernel-modules-for-kernel = 3.14-1-amd64
    Provides: kmod-zfs-uname-r = 3.14-1-amd64
    Provides: zfs-kmod = %{?epoch:%{epoch}:}%{version}-%{release}
    Requires: zfs-kmod-common >= %{?epoch:%{epoch}:}%{version}
    Requires(post): /sbin/depmod
    Requires(postun): /sbin/depmod
    %post -n kmod-zfs-3.14-1-amd64
    [[ "3.14-1-amd64" == "3.14-1-amd64" ]] && /sbin/depmod -a > /dev/null || :
    %postun -n kmod-zfs-3.14-1-amd64
    [[ "3.14-1-amd64" == "3.14-1-amd64" ]] && /sbin/depmod -a > /dev/null || :

%description -n kmod-zfs-3.14-1-amd64
This package provides the zfs kernel modules built for the Linux
kernel 3.14-1-amd64 for the %{_target_cpu} family of processors.
%files -n kmod-zfs-3.14-1-amd64
%defattr(644,root,root,755)
%dir /lib/modules/3.14-1-amd64/extra
/lib/modules/3.14-1-amd64/extra/zfs/

%package -n kmod-zfs-devel
Summary: zfs kernel module(s) devel common
Group: System Environment/Kernel
Provides: zfs-devel-kmod = %{?epoch:%{epoch}:}%{version}-%{release}
%description -n kmod-zfs-devel
This package provides the common header files to build kernel modules
which depend on the zfs kernel module. It may optionally require
the zfs-devel- objects for the newest kernel.

%files -n kmod-zfs-devel
%defattr(644,root,root,755)
%{_usrsrc}/zfs-%{version}
%exclude %{_usrsrc}/zfs-%{version}/3.14-1-amd64

%package -n kmod-zfs-devel-3.14-1-amd64
Summary: zfs kernel module(s) devel for 3.14-1-amd64
Group: System Environment/Kernel
Provides: kernel-objects-for-kernel = 3.14-1-amd64
Provides: zfs-devel-kmod = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: kmod-zfs-devel-uname-r = 3.14-1-amd64
%description -n kmod-zfs-devel-3.14-1-amd64
This package provides objects and symbols required to build kernel modules
which depend on the zfs kernel modules built for the Linux
kernel 3.14-1-amd64 for the %{_target_cpu} family of processors.
%files -n kmod-zfs-devel-3.14-1-amd64
%defattr(644,root,root,755)
%{_usrsrc}/zfs-%{version}/3.14-1-amd64

%global kmodinstdir_prefix /lib/modules/
%global kmodinstdir_postfix /extra/zfs/
%global kernel_versions 3.14-1-amd64___/lib/modules/3.14-1-amd64/build/

  • cd /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD
  • rm -rf zfs-kmod-0.6.2
  • /bin/mkdir -p zfs-kmod-0.6.2
  • cd zfs-kmod-0.6.2
  • + /bin/gzip -dc/bin/tar /tmp/user/0/zfs-build-root-wHDz2gbT/SOURCES/zfs-0.6.2.tar.gz -xf

  • STATUS=0
  • [ 0 -ne 0 ]
  • /bin/chmod -Rf a+rX,u+w,g-w,o-w .
  • /bin/mkdir _kmod_build_3.14-1-amd64
  • exit 0
    Executing(%build): /bin/sh -e /tmp/user/0/zfs-build-root-wHDz2gbT/TMP/rpm-tmp.huXmFo
  • umask 022
  • cd /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD
  • cd zfs-kmod-0.6.2
  • cd _kmod_build_3.14-1-amd64
  • CFLAGS=-O2 -g
  • export CFLAGS
  • CXXFLAGS=-O2 -g
  • export CXXFLAGS
  • FFLAGS=-O2 -g
  • export FFLAGS
  • ../zfs-0.6.2/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib/x86_64-linux-gnu --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-config=kernel --with-linux=/usr/src/linux-headers-3.14-1-common --with-linux-obj=/usr/src/linux-headers-3.14-1-amd64 --with-spl=/var/lib/dkms/spl/0.6.2/build --with-spl-obj=/var/lib/dkms/spl/0.6.2/build --disable-debug --disable-debug-dmu-tx
    checking for gawk... gawk
    checking metadata... META file
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking target system type... x86_64-pc-linux-gnu
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether make supports nested variables... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking whether make sets $(MAKE)... yes
    checking for x86_64-pc-linux-gnu-gcc... no
    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 whether gcc understands -c and -o together... yes
    checking for style of include used by make... GNU
    checking dependency style of gcc... none
    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-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for x86_64-pc-linux-gnu-objdump... no
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for x86_64-pc-linux-gnu-dlltool... no
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for x86_64-pc-linux-gnu-ar... no
    checking for ar... ar
    checking for archiver @file support... @
    checking for x86_64-pc-linux-gnu-strip... no
    checking for strip... strip
    checking for x86_64-pc-linux-gnu-ranlib... no
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for x86_64-pc-linux-gnu-mt... 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 dependency style of gcc... none
    checking zfs author... Sun Microsystems/Oracle, Lawrence Livermore National Laboratory
    checking zfs license... CDDL
    checking linux distribution... debian
    checking default package type... deb
    checking default init directory... /etc/init.d
    checking default init script type... lsb
    checking whether rpm is available... yes (4.11.2)
    checking whether rpmbuild is available... yes (4.11.2)
    checking whether spec files are available... yes (rpm/generic/_.spec.in)
    checking whether dpkg is available... yes (1.17.9)
    checking whether dpkg-buildpackage is available... yes (1.17.9.)
    checking whether alien is available... yes (8.90)
    checking zfs config... kernel
    checking for -Wno-unused-but-set-variable support... yes
    checking for -fno-aggressive-loop-optimizations support... yes
    checking kernel source directory... /usr/src/linux-headers-3.14-1-common
    checking kernel build directory... /usr/src/linux-headers-3.14-1-amd64
    checking kernel source version... 3.14-1-amd64
    checking kernel file name for module symbols... Module.symvers
    checking spl source directory... /var/lib/dkms/spl/0.6.2/build
    checking spl build directory... /var/lib/dkms/spl/0.6.2/build
    checking spl source version... 0.6.2-42_g4cdcdbf
    checking spl file name for module symbols... Module.symvers
    checking whether modules can be built... yes
    checking whether Linux was built with CONFIG_DEBUG_LOCK_ALLOC... no
    checking block device operation prototypes... struct block_device
    checking whether block_device_operations.release is void... void
    checking whether kernel defines fmode_t... yes
    checking whether kernel defines KOBJ_NAME_LEN... no
    checking whether blkdev_get() wants 3 args... yes
    checking whether blkdev_get_by_path() is available... yes
    checking whether open_bdev_exclusive() is available... no
    checking whether lookup_bdev() is available... yes
    checking whether invalidate_bdev() wants 1 arg... yes
    checking whether bdev_logical_block_size() is available... yes
    checking whether bdev_physical_block_size() is available... yes
    checking whether bio has bi_iter... yes
    checking whether BIO_RW_FAILFAST is defined... no
    checking whether BIO_RW_FAILFAST__ are defined... no
    checking whether REQ_FAILFAST_MASK is defined... yes
    checking whether bio_end_io_t wants 2 args... yes
    checking whether BIO_RW_SYNC is defined... no
    checking whether BIO_RW_SYNCIO is defined... no
    checking whether REQ_SYNC is defined... yes
    checking whether blk_end_request() is available... yes
    checking whether blk_end_request() is GPL-only... no
    checking whether blk_queue_flush() is available... yes
    checking whether blk_queue_flush() is GPL-only... yes
    checking whether blk_queue_max_hw_sectors() is available... yes
    checking whether blk_queue_max_segments() is available... yes
    checking whether blk_queue_physical_block_size() is available... yes
    checking whether blk_queue_io_opt() is available... yes
    checking whether blk_queue_nonrot() is available... yes
    checking whether blk_queue_discard() is available... yes
    checking whether blk_fetch_request() is available... yes
    checking whether blk_requeue_request() is available... yes
    checking whether blk_rq_bytes() is available... yes
    checking whether blk_rq_bytes() is GPL-only... no
    checking whether blk_rq_pos() is available... yes
    checking whether blk_rq_sectors() is available... yes
    checking whether get_disk_ro() is available... yes
    checking whether get_gendisk() is available... yes
    checking whether rq_is_sync() is available... yes
    checking whether rq_for_each_segment() wants bio_vec *... no
    checking whether rq_for_each_segment() wants bio_vec... yes
    checking whether ql->discard_granularity is available... yes
    checking whether super_block uses const struct xattr_hander... yes
    checking whether xattr_handler->get() wants dentry... yes
    checking whether xattr_handler->set() wants dentry... yes
    checking whether xattr_handler->list() wants dentry... yes
    checking whether inode_owner_or_capable() exists... yes
    checking whether posix_acl_from_xattr() needs user_ns... yes
    checking whether posix_acl_release() is available... yes
    checking whether posix_acl_release() is GPL-only... yes
    checking whether posix_acl_chmod exists... no
    checking whether __posix_acl_chmod exists... yes
    checking whether inode has i_acl and i_default_acl... yes
    checking whether posix_acl_equiv_mode() wants umode_t... yes
    checking whether iops->permission() exists... yes
    checking whether iops->permission() wants nameidata... no
    checking whether iops->check_acl() exists... no
    checking whether iops->check_acl() wants flags... no
    checking whether iops->get_acl() exists... yes
    checking whether current_umask exists... yes
    checking whether sops->show_options() wants dentry... yes
    checking whether fops->fsync() wants... range
    checking whether sops->evict_inode() exists... yes
    checking whether sops->dirty_inode() wants flags... yes
    checking whether sops->nr_cached_objects() exists... no
    checking whether sops->free_cached_objects() exists... no
    checking whether fops->fallocate() exists... yes
    checking whether iops->fallocate() exists... no
    checking whether iops->create()/mkdir()/mknod() take umode_t... yes
    checking whether iops->lookup() takes struct nameidata... no
    checking whether iops->create() takes struct nameidata... no
    checking whether iops->truncate_range() exists... no
    checking whether dops->d_automount() exists... yes
    checking whether eops->encode_fh() wants inode... yes
    checking whether eops->commit_metadata() exists... yes
    checking whether clear_inode() is available... yes
    checking whether insert_inode_locked() is available... yes
    checking whether d_make_root() is available... yes
    checking whether d_obtain_alias() is available... yes
    checking whether d_set_d_op() is available... yes
    checking whether dops->d_revalidate() takes struct nameidata... no
    checking whether dentry uses const struct dentry_operations... yes
    checking whether check_disk_size_change() is available... yes
    checking whether truncate_setsize() is available... yes
    checking whether security_inode_init_security wants 6 args... no
    checking whether security_inode_init_security wants callback... yes
    checking whether mount_nodev() is available... yes
    checking whether super_block has s_shrink... no
    checking whether super_block has s_instances list_head... no
    checking whether super_block has s_d_op... yes
    checking whether super_block has s_bdi... yes
    checking whether bdi_setup_and_register() is available... yes
    checking whether set_nlink() is available... yes
    checking whether elevator_change() is available... yes
    checking whether sget() wants 5 args... yes
    checking whether lseek_execute() is available... no
    checking whether fops->iterate() is available... yes
    checking whether debugging is enabled... no
    checking whether dmu tx validation is enabled... no
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating dracut/Makefile
    config.status: creating dracut/90zfs/Makefile
    config.status: creating udev/Makefile
    config.status: creating udev/rules.d/Makefile
    config.status: creating etc/Makefile
    config.status: creating etc/init.d/Makefile
    config.status: creating etc/zfs/Makefile
    config.status: creating etc/systemd/Makefile
    config.status: creating etc/systemd/system/Makefile
    config.status: creating etc/modules-load.d/Makefile
    config.status: creating man/Makefile
    config.status: creating man/man1/Makefile
    config.status: creating man/man5/Makefile
    config.status: creating man/man8/Makefile
    config.status: creating lib/Makefile
    config.status: creating lib/libspl/Makefile
    config.status: creating lib/libspl/asm-generic/Makefile
    config.status: creating lib/libspl/asm-i386/Makefile
    config.status: creating lib/libspl/asm-x86_64/Makefile
    config.status: creating lib/libspl/include/Makefile
    config.status: creating lib/libspl/include/ia32/Makefile
    config.status: creating lib/libspl/include/ia32/sys/Makefile
    config.status: creating lib/libspl/include/rpc/Makefile
    config.status: creating lib/libspl/include/sys/Makefile
    config.status: creating lib/libspl/include/sys/sysevent/Makefile
    config.status: creating lib/libspl/include/sys/dktp/Makefile
    config.status: creating lib/libspl/include/util/Makefile
    config.status: creating lib/libavl/Makefile
    config.status: creating lib/libefi/Makefile
    config.status: creating lib/libnvpair/Makefile
    config.status: creating lib/libunicode/Makefile
    config.status: creating lib/libuutil/Makefile
    config.status: creating lib/libzpool/Makefile
    config.status: creating lib/libzfs/Makefile
    config.status: creating lib/libzfs_core/Makefile
    config.status: creating lib/libshare/Makefile
    config.status: creating cmd/Makefile
    config.status: creating cmd/zdb/Makefile
    config.status: creating cmd/zhack/Makefile
    config.status: creating cmd/zfs/Makefile
    config.status: creating cmd/zinject/Makefile
    config.status: creating cmd/zpool/Makefile
    config.status: creating cmd/zstreamdump/Makefile
    config.status: creating cmd/ztest/Makefile
    config.status: creating cmd/zpios/Makefile
    config.status: creating cmd/mount_zfs/Makefile
    config.status: creating cmd/fsck_zfs/Makefile
    config.status: creating cmd/zvol_id/Makefile
    config.status: creating cmd/vdev_id/Makefile
    config.status: creating cmd/arcstat/Makefile
    config.status: creating cmd/dbufstat/Makefile
    config.status: creating cmd/zed/Makefile
    config.status: creating module/Makefile
    config.status: creating module/avl/Makefile
    config.status: creating module/nvpair/Makefile
    config.status: creating module/unicode/Makefile
    config.status: creating module/zcommon/Makefile
    config.status: creating module/zfs/Makefile
    config.status: creating module/zpios/Makefile
    config.status: creating include/Makefile
    config.status: creating include/linux/Makefile
    config.status: creating include/sys/Makefile
    config.status: creating include/sys/fs/Makefile
    config.status: creating include/sys/fm/Makefile
    config.status: creating include/sys/fm/fs/Makefile
    config.status: creating scripts/Makefile
    config.status: creating scripts/zpios-profile/Makefile
    config.status: creating scripts/zpios-test/Makefile
    config.status: creating scripts/zpool-config/Makefile
    config.status: creating scripts/common.sh
    config.status: creating rpm/Makefile
    config.status: creating rpm/fedora/Makefile
    config.status: creating rpm/fedora/zfs.spec
    config.status: creating rpm/fedora/zfs-kmod.spec
    config.status: creating rpm/fedora/zfs-dkms.spec
    config.status: creating rpm/generic/Makefile
    config.status: creating rpm/generic/zfs.spec
    config.status: creating rpm/generic/zfs-kmod.spec
    config.status: creating rpm/generic/zfs-dkms.spec
    config.status: creating zfs-script-config.sh
    config.status: creating zfs.release
    config.status: creating zfs_config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
  • make -j4
    make[2]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64'
    make all-recursive
    make[3]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64'
    Making all in include
    make[4]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include'
    Making all in linux
    make[5]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/linux'
    make[5]: Nothing to be done for 'all'.
    make[5]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/linux'
    Making all in sys
    make[5]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys'
    Making all in fm
    make[6]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys/fm'
    Making all in fs
    make[7]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys/fm/fs'
    make[7]: Nothing to be done for 'all'.
    make[7]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys/fm/fs'
    make[7]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys/fm'
    make[7]: Nothing to be done for 'all-am'.
    make[7]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys/fm'
    make[6]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys/fm'
    Making all in fs
    make[6]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys/fs'
    make[6]: Nothing to be done for 'all'.
    make[6]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys/fs'
    make[6]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys'
    make[6]: Nothing to be done for 'all-am'.
    make[6]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys'
    make[5]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include/sys'
    make[5]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include'
    make[5]: Nothing to be done for 'all-am'.
    make[5]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include'
    make[4]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/include'
    Making all in rpm
    make[4]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/rpm'
    Making all in fedora
    make[5]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/rpm/fedora'
    make[5]: Nothing to be done for 'all'.
    make[5]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/rpm/fedora'
    Making all in generic
    make[5]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/rpm/generic'
    make[5]: Nothing to be done for 'all'.
    make[5]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/rpm/generic'
    make[5]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/rpm'
    make[5]: Nothing to be done for 'all-am'.
    make[5]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/rpm'
    make[4]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/rpm'
    Making all in module
    make[4]: Entering directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module'
    make -C /usr/src/linux-headers-3.14-1-amd64 SUBDIRS=pwd O=/usr/src/linux-headers-3.14-1-amd64 CONFIG_ZFS=m modules
    make[5]: Entering directory '/usr/src/linux-headers-3.14-1-amd64'
    Makefile:10: *** mixed implicit and normal rules: deprecated syntax
    CC [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/unicode/../../../zfs-0.6.2/module/unicode/u8_textprep.o
    CC [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/nvpair/../../../zfs-0.6.2/module/nvpair/nvpair.o
    CC [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/avl/../../../zfs-0.6.2/module/avl/avl.o
    CC [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zcommon/../../../zfs-0.6.2/module/zcommon/zfs_deleg.o
    In file included from /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/zfs_context.h:64:0,
    from /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/spa.h:31,
    from /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/dsl_pool.h:29,
    from /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/dsl_deleg.h:30,
    from /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zcommon/../../../zfs-0.6.2/module/zcommon/zfs_deleg.c:38:
    /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/zfs_delay.h:25:32: fatal error: linux/delay_compat.h: No such file or directory
    #include <linux/delay_compat.h>
    ^
    compilation terminated.
    LD [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/avl/zavl.o
    CC [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zfs/../../../zfs-0.6.2/module/zfs/arc.o
    In file included from /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/zfs_context.h:64:0,
    from /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/spa.h:31,
    from /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zfs/../../../zfs-0.6.2/module/zfs/arc.c:130:
    /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/zfs_delay.h:25:32: fatal error: linux/delay_compat.h: No such file or directory
    #include <linux/delay_compat.h>
    ^
    compilation terminated.
    /usr/src/linux-headers-3.14-1-common/scripts/Makefile.build:308: recipe for target '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zcommon/../../../zfs-0.6.2/module/zcommon/zfs_deleg.o' failed
    make[9]: *** [/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zcommon/../../../zfs-0.6.2/module/zcommon/zfs_deleg.o] Error 1
    /usr/src/linux-headers-3.14-1-common/scripts/Makefile.build:455: recipe for target '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zcommon' failed
    make[8]: *** [/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zcommon] Error 2
    make[8]: *** Waiting for unfinished jobs....
    CC [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zfs/../../../zfs-0.6.2/module/zfs/bplist.o
    In file included from /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/zfs_context.h:64:0,
    from /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/bplist.h:28,
    from /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zfs/../../../zfs-0.6.2/module/zfs/bplist.c:26:
    /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/../zfs-0.6.2/include/sys/zfs_delay.h:25:32: fatal error: linux/delay_compat.h: No such file or directory
    #include <linux/delay_compat.h>
    ^
    compilation terminated.
    CC [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/nvpair/../../../zfs-0.6.2/module/nvpair/fnvpair.o
    /usr/src/linux-headers-3.14-1-common/scripts/Makefile.build:308: recipe for target '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zfs/../../../zfs-0.6.2/module/zfs/arc.o' failed
    make[9]: *** [/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zfs/../../../zfs-0.6.2/module/zfs/arc.o] Error 1
    make[9]: *** Waiting for unfinished jobs....
    CC [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/nvpair/../../../zfs-0.6.2/module/nvpair/nvpair_alloc_spl.o
    CC [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/nvpair/../../../zfs-0.6.2/module/nvpair/nvpair_alloc_fixed.o
    /usr/src/linux-headers-3.14-1-common/scripts/Makefile.build:308: recipe for target '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zfs/../../../zfs-0.6.2/module/zfs/bplist.o' failed
    make[9]: *** [/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zfs/../../../zfs-0.6.2/module/zfs/bplist.o] Error 1
    /usr/src/linux-headers-3.14-1-common/scripts/Makefile.build:455: recipe for target '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zfs' failed
    make[8]: *** [/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/zfs] Error 2
    CC [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/unicode/../../../zfs-0.6.2/module/unicode/uconv.o
    LD [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/nvpair/znvpair.o
    LD [M] /tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module/unicode/zunicode.o
    /usr/src/linux-headers-3.14-1-common/Makefile:1291: recipe for target 'module/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module' failed
    make[7]: *** [module/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module] Error 2
    Makefile:133: recipe for target 'sub-make' failed
    make[6]: *** [sub-make] Error 2
    Makefile:8: recipe for target 'all' failed
    make[5]: *** [all] Error 2
    make[5]: Leaving directory '/usr/src/linux-headers-3.14-1-amd64'
    Makefile:16: recipe for target 'modules' failed
    make[4]: *** [modules] Error 2
    make[4]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64/module'
    Makefile:672: recipe for target 'all-recursive' failed
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64'
    Makefile:542: recipe for target 'all' failed
    make[2]: *** [all] Error 2
    make[2]: Leaving directory '/tmp/user/0/zfs-build-root-wHDz2gbT/BUILD/zfs-kmod-0.6.2/_kmod_build_3.14-1-amd64'
    error: Bad exit status from /tmp/user/0/zfs-build-root-wHDz2gbT/TMP/rpm-tmp.huXmFo (%build)

RPM build errors:
line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kernel-modules-for-kernel = 3.14-1-amd64
line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kmod-zfs-uname-r = 3.14-1-amd64
line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kernel-objects-for-kernel = 3.14-1-amd64
line 96: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kmod-zfs-devel-uname-r = 3.14-1-amd64
Bad exit status from /tmp/user/0/zfs-build-root-wHDz2gbT/TMP/rpm-tmp.huXmFo (%build)
Makefile:1155: recipe for target 'rpm-common' failed
make[1]: *** [rpm-common] Error 1
make[1]: Leaving directory '/usr/src/zfs'
Makefile:1106: recipe for target 'rpm-kmod' failed
make: *** [rpm-kmod] Error 2

@lofoten
Copy link
Author

lofoten commented Jun 8, 2014

configure : ./configure
make : make deb

@lofoten
Copy link
Author

lofoten commented Jun 8, 2014

configure Log.

checking for gawk... gawk
checking metadata... git describe
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 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 whether gcc understands -c and -o together... yes
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 dependency style of gcc... gcc3
checking zfs author... Sun Microsystems/Oracle, Lawrence Livermore National Laboratory
checking zfs license... CDDL
checking linux distribution... debian
checking default package type... deb
checking default init directory... ${prefix}/etc/init.d
checking default init script type... lsb
checking whether rpm is available... yes (4.11.2)
checking whether rpmbuild is available... yes (4.11.2)
checking whether spec files are available... yes (rpm/generic/_.spec.in)
checking whether dpkg is available... yes (1.17.9)
checking whether dpkg-buildpackage is available... yes (1.17.9.)
checking whether alien is available... yes (8.90)
checking zfs config... all
checking for -Wno-unused-but-set-variable support... yes
checking for -fno-aggressive-loop-optimizations support... yes
checking kernel source directory... /usr/src/linux-headers-3.14-1-common
checking kernel build directory... /usr/src/linux-headers-3.14-1-amd64
checking kernel source version... 3.14-1-amd64
checking kernel file name for module symbols... Module.symvers
checking spl source directory... /var/lib/dkms/spl/0.6.2/build
checking spl build directory... /var/lib/dkms/spl/0.6.2/build
checking spl source version... 0.6.2-42_g4cdcdbf
checking spl file name for module symbols... Module.symvers
checking whether modules can be built... yes
checking whether Linux was built with CONFIG_DEBUG_LOCK_ALLOC... no
checking block device operation prototypes... struct block_device
checking whether block_device_operations.release is void... void
checking whether kernel defines fmode_t... yes
checking whether kernel defines KOBJ_NAME_LEN... no
checking whether blkdev_get() wants 3 args... yes
checking whether blkdev_get_by_path() is available... yes
checking whether open_bdev_exclusive() is available... no
checking whether lookup_bdev() is available... yes
checking whether invalidate_bdev() wants 1 arg... yes
checking whether bdev_logical_block_size() is available... yes
checking whether bdev_physical_block_size() is available... yes
checking whether bio has bi_iter... yes
checking whether BIO_RW_FAILFAST is defined... no
checking whether BIO_RW_FAILFAST__ are defined... no
checking whether REQ_FAILFAST_MASK is defined... yes
checking whether bio_end_io_t wants 2 args... yes
checking whether BIO_RW_SYNC is defined... no
checking whether BIO_RW_SYNCIO is defined... no
checking whether REQ_SYNC is defined... yes
checking whether blk_end_request() is available... yes
checking whether blk_end_request() is GPL-only... no
checking whether blk_queue_flush() is available... yes
checking whether blk_queue_flush() is GPL-only... yes
checking whether blk_queue_max_hw_sectors() is available... yes
checking whether blk_queue_max_segments() is available... yes
checking whether blk_queue_physical_block_size() is available... yes
checking whether blk_queue_io_opt() is available... yes
checking whether blk_queue_nonrot() is available... yes
checking whether blk_queue_discard() is available... yes
checking whether blk_fetch_request() is available... yes
checking whether blk_requeue_request() is available... yes
checking whether blk_rq_bytes() is available... yes
checking whether blk_rq_bytes() is GPL-only... no
checking whether blk_rq_pos() is available... yes
checking whether blk_rq_sectors() is available... yes
checking whether get_disk_ro() is available... yes
checking whether get_gendisk() is available... yes
checking whether rq_is_sync() is available... yes
checking whether rq_for_each_segment() wants bio_vec *... no
checking whether rq_for_each_segment() wants bio_vec... yes
checking whether ql->discard_granularity is available... yes
checking whether super_block uses const struct xattr_hander... yes
checking whether xattr_handler->get() wants dentry... yes
checking whether xattr_handler->set() wants dentry... yes
checking whether xattr_handler->list() wants dentry... yes
checking whether inode_owner_or_capable() exists... yes
checking whether posix_acl_from_xattr() needs user_ns... yes
checking whether posix_acl_release() is available... yes
checking whether posix_acl_release() is GPL-only... yes
checking whether posix_acl_chmod exists... no
checking whether __posix_acl_chmod exists... yes
checking whether inode has i_acl and i_default_acl... yes
checking whether posix_acl_equiv_mode() wants umode_t... yes
checking whether iops->permission() exists... yes
checking whether iops->permission() wants nameidata... no
checking whether iops->check_acl() exists... no
checking whether iops->check_acl() wants flags... no
checking whether iops->get_acl() exists... yes
checking whether current_umask exists... yes
checking whether sops->show_options() wants dentry... yes
checking whether fops->fsync() wants... range
checking whether sops->evict_inode() exists... yes
checking whether sops->dirty_inode() wants flags... yes
checking whether sops->nr_cached_objects() exists... no
checking whether sops->free_cached_objects() exists... no
checking whether fops->fallocate() exists... yes
checking whether iops->fallocate() exists... no
checking whether iops->create()/mkdir()/mknod() take umode_t... yes
checking whether iops->lookup() takes struct nameidata... no
checking whether iops->create() takes struct nameidata... no
checking whether iops->truncate_range() exists... no
checking whether dops->d_automount() exists... yes
checking whether eops->encode_fh() wants inode... yes
checking whether eops->commit_metadata() exists... yes
checking whether clear_inode() is available... yes
checking whether insert_inode_locked() is available... yes
checking whether d_make_root() is available... yes
checking whether d_obtain_alias() is available... yes
checking whether d_set_d_op() is available... yes
checking whether dops->d_revalidate() takes struct nameidata... no
checking whether dentry uses const struct dentry_operations... yes
checking whether check_disk_size_change() is available... yes
checking whether truncate_setsize() is available... yes
checking whether security_inode_init_security wants 6 args... no
checking whether security_inode_init_security wants callback... yes
checking whether mount_nodev() is available... yes
checking whether super_block has s_shrink... no
checking whether super_block has s_instances list_head... no
checking whether super_block has s_d_op... yes
checking whether super_block has s_bdi... yes
checking whether bdi_setup_and_register() is available... yes
checking whether set_nlink() is available... yes
checking whether elevator_change() is available... yes
checking whether sget() wants 5 args... yes
checking whether lseek_execute() is available... no
checking whether fops->iterate() is available... yes
checking for target asm dir... asm-x86_64
checking for ioctl()... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress2 in -lz... yes
checking for uncompress in -lz... yes
checking for crc32 in -lz... yes
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_generate in -luuid... yes
checking for uuid_is_null in -luuid... yes
checking for blkid_get_cache in -lblkid... no
checking for -Wframe-larger-than= support... yes
checking for mlockall... yes
checking whether debugging is enabled... no
checking whether dmu tx validation is enabled... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dracut/Makefile
config.status: creating dracut/90zfs/Makefile
config.status: creating udev/Makefile
config.status: creating udev/rules.d/Makefile
config.status: creating etc/Makefile
config.status: creating etc/init.d/Makefile
config.status: creating etc/zfs/Makefile
config.status: creating etc/systemd/Makefile
config.status: creating etc/systemd/system/Makefile
config.status: creating etc/modules-load.d/Makefile
config.status: creating man/Makefile
config.status: creating man/man1/Makefile
config.status: creating man/man5/Makefile
config.status: creating man/man8/Makefile
config.status: creating lib/Makefile
config.status: creating lib/libspl/Makefile
config.status: creating lib/libspl/asm-generic/Makefile
config.status: creating lib/libspl/asm-i386/Makefile
config.status: creating lib/libspl/asm-x86_64/Makefile
config.status: creating lib/libspl/include/Makefile
config.status: creating lib/libspl/include/ia32/Makefile
config.status: creating lib/libspl/include/ia32/sys/Makefile
config.status: creating lib/libspl/include/rpc/Makefile
config.status: creating lib/libspl/include/sys/Makefile
config.status: creating lib/libspl/include/sys/sysevent/Makefile
config.status: creating lib/libspl/include/sys/dktp/Makefile
config.status: creating lib/libspl/include/util/Makefile
config.status: creating lib/libavl/Makefile
config.status: creating lib/libefi/Makefile
config.status: creating lib/libnvpair/Makefile
config.status: creating lib/libunicode/Makefile
config.status: creating lib/libuutil/Makefile
config.status: creating lib/libzpool/Makefile
config.status: creating lib/libzfs/Makefile
config.status: creating lib/libzfs_core/Makefile
config.status: creating lib/libshare/Makefile
config.status: creating cmd/Makefile
config.status: creating cmd/zdb/Makefile
config.status: creating cmd/zhack/Makefile
config.status: creating cmd/zfs/Makefile
config.status: creating cmd/zinject/Makefile
config.status: creating cmd/zpool/Makefile
config.status: creating cmd/zstreamdump/Makefile
config.status: creating cmd/ztest/Makefile
config.status: creating cmd/zpios/Makefile
config.status: creating cmd/mount_zfs/Makefile
config.status: creating cmd/fsck_zfs/Makefile
config.status: creating cmd/zvol_id/Makefile
config.status: creating cmd/vdev_id/Makefile
config.status: creating cmd/arcstat/Makefile
config.status: creating cmd/dbufstat/Makefile
config.status: creating cmd/zed/Makefile
config.status: creating module/Makefile
config.status: creating module/avl/Makefile
config.status: creating module/nvpair/Makefile
config.status: creating module/unicode/Makefile
config.status: creating module/zcommon/Makefile
config.status: creating module/zfs/Makefile
config.status: creating module/zpios/Makefile
config.status: creating include/Makefile
config.status: creating include/linux/Makefile
config.status: creating include/sys/Makefile
config.status: creating include/sys/fs/Makefile
config.status: creating include/sys/fm/Makefile
config.status: creating include/sys/fm/fs/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/zpios-profile/Makefile
config.status: creating scripts/zpios-test/Makefile
config.status: creating scripts/zpool-config/Makefile
config.status: creating scripts/common.sh
config.status: creating rpm/Makefile
config.status: creating rpm/fedora/Makefile
config.status: creating rpm/fedora/zfs.spec
config.status: creating rpm/fedora/zfs-kmod.spec
config.status: creating rpm/fedora/zfs-dkms.spec
config.status: creating rpm/generic/Makefile
config.status: creating rpm/generic/zfs.spec
config.status: creating rpm/generic/zfs-kmod.spec
config.status: creating rpm/generic/zfs-dkms.spec
config.status: creating zfs-script-config.sh
config.status: creating zfs.release
config.status: creating zfs_config.h
config.status: executing depfiles commands
config.status: executing libtool commands

@FransUrbo
Copy link
Contributor

@lofoten Could you edit (not post again!) the screen dumps in #2369 (comment) and #2369 (comment) and put it all in tripple backticks according to the "GitHub Markdown Language" (https://help.github.com/articles/github-flavored-markdown#fenced-code-blocks). It's impossible to read.

Where did /usr/src/spl-0.6.2 come from? Did you make your own spl packages from git as well? Recently? Did you install all the devel packages created by a make deb in the spl directory?

The only thing I can think of right now is that there's something wrong with either or both of your git clones. Please run git status in both and let me know what they say.

@lofoten
Copy link
Author

lofoten commented Jun 8, 2014

git status for spl
root@rover:/usr/src/spl# git status
On branch master
Your branch is up-to-date with 'origin/master'.

Untracked files:
(use "git add ..." to include in what will be committed)

config/compile

nothing added to commit but untracked files present (use "git add" to track)
root@rover:/usr/src/spl#

git status zfs
root@rover:/usr/src/zfs# git status
On branch master
Your branch is up-to-date with 'origin/master'.

Untracked files:
(use "git add ..." to include in what will be committed)

config/compile
configure.log
make_deb.log

nothing added to commit but untracked files present (use "git add" to track)

spl ist form github had as well.

I am going to rebuild now and will post the results.

@FransUrbo
Copy link
Contributor

config/compile
Where did that file come from? One could wonder what more is wrong with the directory...
config/compile
configure.log
make_deb.log
Ditto (but I do understand the .log files :).

The problems you're getting just doesn't make sense, so my recommendation is to remove the spl and zfs directories and then clone and rebuild both of them from scratch.

Have a look at http://zfsonlinux.org/generic-deb.html just to be certain you haven't missed anything.

@lofoten
Copy link
Author

lofoten commented Jun 8, 2014

New SPL install
git clone https://github.com/zfsonlinux/spl.git
Cloning into 'spl'...
remote: Reusing existing pack: 6568, done.
remote: Total 6568 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (6568/6568), 3.71 MiB | 1.79 MiB/s, done.
Resolving deltas: 100% (3858/3858), done.
Checking connectivity... done.
root@rover:/usr/src# cd spl
root@rover:/usr/src/spl# ./autogen.sh
autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I config autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR,config'.

libtoolize: copying file `config/ltmain.sh'

libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `config'.

libtoolize: copying file `config/libtool.m4'

libtoolize: copying file `config/ltoptions.m4'

libtoolize: copying file `config/ltsugar.m4'

libtoolize: copying file `config/ltversion.m4'

libtoolize: copying file `config/lt~obsolete.m4'

autoreconf: running: /usr/bin/autoconf --force

autoreconf: running: /usr/bin/autoheader --force

autoreconf: running: automake --add-missing --copy --force-missing

configure.ac:35: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:35: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation

configure.ac:42: installing 'config/compile'

configure.ac:32: installing 'config/config.guess'

configure.ac:32: installing 'config/config.sub'

configure.ac:35: installing 'config/install-sh'

configure.ac:35: installing 'config/missing'

cmd/Makefile.am: installing 'config/depcomp'
autoreconf: Leaving directory `.'
root@rover:/usr/src/spl# ./cofigure > configure.log 2>&1
root@rover:/usr/src/spl# ./configure > configure.log 2>&1
root@rover:/usr/src/spl# vi configure.log
root@rover:/usr/src/spl# make deb-utils deb-kmod > make_deb.log 2>&1

The following debs get created
root@rover:/usr/src/spl# ls *deb

kmod-spl-3.14-1-amd64_0.6.2-42_amd64.deb
kmod-spl-devel_0.6.2-42_amd64.deb
kmod-spl-devel-3.14-1-amd64_0.6.2-42_amd64.deb
spl_0.6.2-42_amd64.deb
Even on a fresh git clone the rpm failure remains persistent:

make pkg="spl-kmod"
def='--define "_without_debug 1" --define "_with_debug_log 1" --define "_with_debug_kmem 1" --define "_without_debug_kmem_tracking 1" --define "kernels 3.14-1-amd64"' rpm-common
make[1]: Entering directory '/usr/src/spl'
make[2]: Entering directory '/usr/src/spl'
make[2]: Leaving directory '/usr/src/spl'
warning: line 63: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kernel-modules-for-kernel = 3.14-1-amd64
warning: line 63: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kmod-spl-uname-r = 3.14-1-amd64
warning: line 63: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kernel-objects-for-kernel = 3.14-1-amd64
warning: line 63: Invalid version (double separator '-'): 3.14-1-amd64: Provides: kmod-spl-devel-uname-r = 3.14-1-amd64
Installing spl-kmod-0.6.2-42_g4cdcdbf.src.rpm

Searching the net gets to
https://bugzilla.redhat.com/show_bug.cgi?id=1065563
where this rpm issues has been discussed.

So maybe a feature problem with this debian rpm package?

@FransUrbo
Copy link
Contributor

Searching the net gets to https://bugzilla.redhat.com/show_bug.cgi?id=1065563 where this rpm issues has been discussed.

So maybe a feature problem with this debian rpm package?

Seems like it, in ALL rpm versions beyond whatever version it was they changed that...

I'm just not sure what to do about this. The kernel version is fixed, and can't really be changed (I doubt VERY MUCH (!!) that Debian GNU/Linux will renumber their kernels just to satisfy rpm :).

We can't just change

Provides: kernel-modules-for-kernel = 3.14-1-amd64

to

Provides: kernel-modules-for-kernel = 3.14-1.amd64

(etc), because that would break the provides/requires chain somewhere...

I really need to think about this.... @behlendorf any idea/hint(s)?

@lofoten
Copy link
Author

lofoten commented Jun 10, 2014

Hi,
problem is solved.
I had the package spl-dkms 0.6.23~wheezy installed.
This package provides the path /var/lib/dkms/spl.
The zfs configure seem to prefer /var/lib/dkms/spl.

After removing the package spl-kmod the zfs build does work again.

@FransUrbo Thank you for your unbelivable short reaction time. Tusend takk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Building Indicates an issue related to building binaries
Projects
None yet
Development

No branches or pull requests

3 participants