Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hostingnuggets/db055d77af71881f1d51fc215fa24cf7 to your computer and use it in GitHub Desktop.
Save hostingnuggets/db055d77af71881f1d51fc215fa24cf7 to your computer and use it in GitHub Desktop.
configure and make pkg-utils pkg-kmod for spl 0.6.5.9
$ ./configure
checking for gawk... gawk
checking metadata... META file
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
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 how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf 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 a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
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) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking spl author... OpenZFS on Linux
checking spl license... GPL
checking linux distribution... debian
checking default package type... deb
checking whether rpm is available... yes (4.11.3)
checking whether rpmbuild is available... yes (4.11.3)
checking whether spec files are available... yes (rpm/generic/*.spec.in)
checking whether dpkg is available... yes (1.17.27)
checking whether dpkg-buildpackage is available... yes (1.17.27.)
checking whether alien is available... yes (8.92)
checking spl config... all
checking kernel source directory... /usr/src/linux-headers-4.4.50-v7+
checking kernel build directory... /usr/src/linux-headers-4.4.50-v7+
checking kernel source version... 4.4.50-v7+
checking kernel file name for module symbols... Module.symvers
checking whether debugging is enabled... no
checking whether basic kmem accounting is enabled... no
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 old 2-argument shrinker exists... no
checking whether old 3-argument shrinker exists... no
checking whether new 2-argument shrinker exists... no
checking whether ->count_objects callback exists... yes
checking whether struct ctl_table has ctl_name... no
checking whether CONFIG_TRIM_UNUSED_KSYM is disabled... yes
checking whether PDE_DATA() is available... yes
checking whether set_fs_pwd() requires const struct path *... yes
checking whether vfs_unlink() wants 2 args... no
checking whether vfs_unlink() wants 3 args... yes
checking whether vfs_rename() wants 4 args... no
checking whether vfs_rename() wants 5 args... no
checking whether vfs_rename() wants 6 args... yes
checking whether vfs_fsync() wants 2 args... yes
checking whether truncate_range() inode operation is available... no
checking whether struct fs_struct uses spinlock_t... yes
checking whether kuid_t/kgid_t is available... yes; mandatory
checking whether __put_task_struct() is available... yes
checking whether fops->fallocate() exists... yes
checking whether iops->fallocate() exists... no
checking whether fops->fallocate() exists... no
checking whether CONFIG_ZLIB_INFLATE is defined... yes
checking whether CONFIG_ZLIB_DEFLATE is defined... yes
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 struct rw_semaphore has member activity... no
checking whether struct rw_semaphore has atomic_long_t member count... no
checking whether header linux/sched/rt.h exists... yes
checking whether vfs_getattr() wants... 2 args
checking whether usleep_range() is available... yes
checking whether struct kmem_cache has allocflags... no
checking whether struct kmem_cache has gfpflags... no
checking whether wait_on_bit() takes an action... no
checking whether inode_lock_shared() exists... no
checking whether mutex has owner... yes
checking whether group_info->gid exists... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating man/man1/Makefile
config.status: creating man/man5/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 include/fs/Makefile
config.status: creating include/linux/Makefile
config.status: creating include/rpc/Makefile
config.status: creating include/sharefs/Makefile
config.status: creating include/sys/Makefile
config.status: creating include/sys/fm/Makefile
config.status: creating include/sys/fs/Makefile
config.status: creating include/sys/sysevent/Makefile
config.status: creating include/util/Makefile
config.status: creating include/vm/Makefile
config.status: creating scripts/Makefile
config.status: creating rpm/Makefile
config.status: creating rpm/redhat/Makefile
config.status: creating rpm/redhat/spl.spec
config.status: creating rpm/redhat/spl-kmod.spec
config.status: creating rpm/redhat/spl-dkms.spec
config.status: creating rpm/generic/Makefile
config.status: creating rpm/generic/spl.spec
config.status: creating rpm/generic/spl-kmod.spec
config.status: creating rpm/generic/spl-dkms.spec
config.status: creating spl.release
config.status: creating spl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
$ make pkg-utils pkg-kmod
make pkg="spl" \
def='--define "build_src_rpm 1" ' srpm-common
make[1]: Entering directory '/tmp/spl-0.6.5.9'
make dist-gzip am__post_remove_distdir='@:'
make[2]: Entering directory '/tmp/spl-0.6.5.9'
if test -d "spl-0.6.5.9"; then find "spl-0.6.5.9" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "spl-0.6.5.9" || { sleep 5 && rm -rf "spl-0.6.5.9"; }; else :; fi
test -d "spl-0.6.5.9" || mkdir "spl-0.6.5.9"
(cd include && make top_distdir=../spl-0.6.5.9 distdir=../spl-0.6.5.9/include \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/tmp/spl-0.6.5.9/include'
(cd fs && make top_distdir=../../spl-0.6.5.9 distdir=../../spl-0.6.5.9/include/fs \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/tmp/spl-0.6.5.9/include/fs'
make[4]: Leaving directory '/tmp/spl-0.6.5.9/include/fs'
(cd linux && make top_distdir=../../spl-0.6.5.9 distdir=../../spl-0.6.5.9/include/linux \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/tmp/spl-0.6.5.9/include/linux'
make[4]: Leaving directory '/tmp/spl-0.6.5.9/include/linux'
(cd rpc && make top_distdir=../../spl-0.6.5.9 distdir=../../spl-0.6.5.9/include/rpc \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/tmp/spl-0.6.5.9/include/rpc'
make[4]: Leaving directory '/tmp/spl-0.6.5.9/include/rpc'
(cd sharefs && make top_distdir=../../spl-0.6.5.9 distdir=../../spl-0.6.5.9/include/sharefs \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/tmp/spl-0.6.5.9/include/sharefs'
make[4]: Leaving directory '/tmp/spl-0.6.5.9/include/sharefs'
(cd sys && make top_distdir=../../spl-0.6.5.9 distdir=../../spl-0.6.5.9/include/sys \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/tmp/spl-0.6.5.9/include/sys'
(cd fm && make top_distdir=../../../spl-0.6.5.9 distdir=../../../spl-0.6.5.9/include/sys/fm \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/tmp/spl-0.6.5.9/include/sys/fm'
make[5]: Leaving directory '/tmp/spl-0.6.5.9/include/sys/fm'
(cd fs && make top_distdir=../../../spl-0.6.5.9 distdir=../../../spl-0.6.5.9/include/sys/fs \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/tmp/spl-0.6.5.9/include/sys/fs'
make[5]: Leaving directory '/tmp/spl-0.6.5.9/include/sys/fs'
(cd sysevent && make top_distdir=../../../spl-0.6.5.9 distdir=../../../spl-0.6.5.9/include/sys/sysevent \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/tmp/spl-0.6.5.9/include/sys/sysevent'
make[5]: Leaving directory '/tmp/spl-0.6.5.9/include/sys/sysevent'
make[4]: Leaving directory '/tmp/spl-0.6.5.9/include/sys'
(cd util && make top_distdir=../../spl-0.6.5.9 distdir=../../spl-0.6.5.9/include/util \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/tmp/spl-0.6.5.9/include/util'
make[4]: Leaving directory '/tmp/spl-0.6.5.9/include/util'
(cd vm && make top_distdir=../../spl-0.6.5.9 distdir=../../spl-0.6.5.9/include/vm \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/tmp/spl-0.6.5.9/include/vm'
make[4]: Leaving directory '/tmp/spl-0.6.5.9/include/vm'
make[3]: Leaving directory '/tmp/spl-0.6.5.9/include'
(cd rpm && make top_distdir=../spl-0.6.5.9 distdir=../spl-0.6.5.9/rpm \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/tmp/spl-0.6.5.9/rpm'
(cd generic && make top_distdir=../../spl-0.6.5.9 distdir=../../spl-0.6.5.9/rpm/generic \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/tmp/spl-0.6.5.9/rpm/generic'
make[4]: Leaving directory '/tmp/spl-0.6.5.9/rpm/generic'
(cd redhat && make top_distdir=../../spl-0.6.5.9 distdir=../../spl-0.6.5.9/rpm/redhat \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/tmp/spl-0.6.5.9/rpm/redhat'
make[4]: Leaving directory '/tmp/spl-0.6.5.9/rpm/redhat'
make[3]: Leaving directory '/tmp/spl-0.6.5.9/rpm'
(cd lib && make top_distdir=../spl-0.6.5.9 distdir=../spl-0.6.5.9/lib \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/tmp/spl-0.6.5.9/lib'
make[3]: Leaving directory '/tmp/spl-0.6.5.9/lib'
(cd cmd && make top_distdir=../spl-0.6.5.9 distdir=../spl-0.6.5.9/cmd \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/tmp/spl-0.6.5.9/cmd'
make[3]: Leaving directory '/tmp/spl-0.6.5.9/cmd'
(cd man && make top_distdir=../spl-0.6.5.9 distdir=../spl-0.6.5.9/man \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/tmp/spl-0.6.5.9/man'
(cd man1 && make top_distdir=../../spl-0.6.5.9 distdir=../../spl-0.6.5.9/man/man1 \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/tmp/spl-0.6.5.9/man/man1'
make[4]: Leaving directory '/tmp/spl-0.6.5.9/man/man1'
(cd man5 && make top_distdir=../../spl-0.6.5.9 distdir=../../spl-0.6.5.9/man/man5 \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/tmp/spl-0.6.5.9/man/man5'
make[4]: Leaving directory '/tmp/spl-0.6.5.9/man/man5'
make[3]: Leaving directory '/tmp/spl-0.6.5.9/man'
(cd scripts && make top_distdir=../spl-0.6.5.9 distdir=../spl-0.6.5.9/scripts \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/tmp/spl-0.6.5.9/scripts'
make[3]: Leaving directory '/tmp/spl-0.6.5.9/scripts'
(cd module && make top_distdir=../spl-0.6.5.9 distdir=../spl-0.6.5.9/module \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/tmp/spl-0.6.5.9/module'
list='spl splat'; for subdir in $list; do \
(find ../module/$subdir -name '*.c' -o -name '*.h' |\
xargs /bin/cp -t $distdir/$subdir); \
done
make[3]: Leaving directory '/tmp/spl-0.6.5.9/module'
make \
top_distdir="spl-0.6.5.9" distdir="spl-0.6.5.9" \
dist-hook
make[3]: Entering directory '/tmp/spl-0.6.5.9'
sed -i 's/Release:[[:print:]]*/Release: 1/' \
spl-0.6.5.9/META
make[3]: Leaving directory '/tmp/spl-0.6.5.9'
test -n "" \
|| find "spl-0.6.5.9" -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 /tmp/spl-0.6.5.9/config/install-sh -c -m a+r {} {} \; \
|| chmod -R a+r "spl-0.6.5.9"
tardir=spl-0.6.5.9 && ${TAR-tar} chof - "$tardir" | GZIP=--best gzip -c >spl-0.6.5.9.tar.gz
make[2]: Leaving directory '/tmp/spl-0.6.5.9'
if test -d "spl-0.6.5.9"; then find "spl-0.6.5.9" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "spl-0.6.5.9" || { sleep 5 && rm -rf "spl-0.6.5.9"; }; else :; fi
make[2]: Entering directory '/tmp/spl-0.6.5.9'
make[2]: Leaving directory '/tmp/spl-0.6.5.9'
warning: bogus date in %changelog: Thu Sep 19 2015 Ned Bass <bass6@llnl.gov> - 0.6.5.1-1
Wrote: /tmp/spl-build-pi-bR1rMpFz/SRPMS/spl-0.6.5.9-1.src.rpm
make[1]: Leaving directory '/tmp/spl-0.6.5.9'
make pkg="spl" \
def='--define "_without_debug 1" --define "_without_debug_kmem 1" --define "_without_debug_kmem_tracking 1" ' rpm-common
make[1]: Entering directory '/tmp/spl-0.6.5.9'
make[2]: Entering directory '/tmp/spl-0.6.5.9'
make[2]: Leaving directory '/tmp/spl-0.6.5.9'
Installing spl-0.6.5.9-1.src.rpm
warning: bogus date in %changelog: Thu Sep 19 2015 Ned Bass <bass6@llnl.gov> - 0.6.5.1-1
Executing(%prep): /bin/sh -e /tmp/spl-build-pi-oYx2i02Y/TMP/rpm-tmp.5stNpr
+ umask 022
+ cd /tmp/spl-build-pi-oYx2i02Y/BUILD
+ cd /tmp/spl-build-pi-oYx2i02Y/BUILD
+ rm -rf spl-0.6.5.9
+ + /bin/tar -xf -
/bin/gzip -dc /tmp/spl-build-pi-oYx2i02Y/SOURCES/spl-0.6.5.9.tar.gz
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd spl-0.6.5.9
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /tmp/spl-build-pi-oYx2i02Y/TMP/rpm-tmp.eNzvUP
+ umask 022
+ cd /tmp/spl-build-pi-oYx2i02Y/BUILD
+ cd spl-0.6.5.9
+ CFLAGS=-O2 -g -march=armv7
+ export CFLAGS
+ CXXFLAGS=-O2 -g -march=armv7
+ export CXXFLAGS
+ FFLAGS=-O2 -g -march=armv7
+ export FFLAGS
+ ./configure --host=arm-unknown-linux-gnueabihf --build=arm-unknown-linux-gnueabihf --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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-config=user
checking for gawk... gawk
checking metadata... META file
checking build system type... arm-unknown-linux-gnueabihf
checking host system type... arm-unknown-linux-gnueabihf
checking target system type... arm-unknown-linux-gnueabihf
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 arm-unknown-linux-gnueabihf-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/spl-build-pi-oYx2i02Y/BUILD/spl-0.6.5.9':
configure: error: C compiler cannot create executables
See `config.log' for more details
error: Bad exit status from /tmp/spl-build-pi-oYx2i02Y/TMP/rpm-tmp.eNzvUP (%build)
RPM build errors:
bogus date in %changelog: Thu Sep 19 2015 Ned Bass <bass6@llnl.gov> - 0.6.5.1-1
Bad exit status from /tmp/spl-build-pi-oYx2i02Y/TMP/rpm-tmp.eNzvUP (%build)
Makefile:1074: recipe for target 'rpm-common' failed
make[1]: *** [rpm-common] Error 1
make[1]: Leaving directory '/tmp/spl-0.6.5.9'
Makefile:1033: recipe for target 'rpm-utils' failed
make: *** [rpm-utils] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment