Skip to content

Instantly share code, notes, and snippets.

@dreamcat4
Created July 20, 2019 18:32
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 dreamcat4/ce90aead67a05024c37268c5d018e840 to your computer and use it in GitHub Desktop.
Save dreamcat4/ce90aead67a05024c37268c5d018e840 to your computer and use it in GitHub Desktop.
diff --git a/zfs-1.build-success b/zfs-2.build-failed
index 8aa7bc7..ebe840c 100644
--- a/zfs-1.build-success
+++ b/zfs-2.build-failed
@@ -1,5 +1,5 @@
-[id:~/.dev/zfs] e34c3ee2f ±
-[id:~/.dev/zfs] e34c3ee2f ± ./autogen.sh
+id@asrock-z170-ocf:~/.dev/zfs$
+id@asrock-z170-ocf:~/.dev/zfs$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I config
@@ -21,7 +21,7 @@ configure.ac:49: installing 'config/compile'
configure.ac:42: installing 'config/missing'
cmd/mount_zfs/Makefile.am: installing 'config/depcomp'
autoreconf: Leaving directory `.'
-[id:~/.dev/zfs] e34c3ee2f ± ./configure --with-config=user
+id@asrock-z170-ocf:~/.dev/zfs$ ./configure --with-config=user
checking for gawk... gawk
checking metadata... META file
checking build system type... x86_64-pc-linux-gnu
@@ -31,7 +31,7 @@ checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
-checking for a thread-safe mkdir -p... /bin/mkdir -p
+checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
@@ -46,10 +46,10 @@ checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
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 a sed that does not truncate output... /usr/bin/sed
+checking for grep that handles long lines and -e... /usr/bin/grep
+checking for egrep... /usr/bin/grep -E
+checking for fgrep... /usr/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
@@ -69,8 +69,8 @@ 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 a working dd... /usr/bin/dd
+checking how to truncate binary pipes... /usr/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
@@ -186,7 +186,7 @@ checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for udev directories... /lib/udev;/lib/udev/rules.d
checking for systemd support... yes
-checking for dracut directory... /usr/share/dracut
+checking for dracut directory... /usr/lib/dracut
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
@@ -521,7 +521,7 @@ config.status: creating zfs_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
-⌂72% [id:~/.dev/zfs] e34c3ee2f ± make -s -j$(nproc)
+id@asrock-z170-ocf:~/.dev/zfs$ make -s -j$(nproc)
Making all in include
Making all in linux
Making all in spl
@@ -626,8 +626,8 @@ Making all in dktp
Making all in util
Making all in asm-x86_64
CC getexecname.lo
- CC gethostid.lo
CC getmntany.lo
+ CC gethostid.lo
CC list.lo
CC mkdirp.lo
CC page.lo
@@ -657,8 +657,8 @@ ar: `u' modifier ignored since `D' is the default (see `U')
Making all in libuutil
CC uu_alloc.lo
CC uu_avl.lo
- CC uu_dprintf.lo
CC uu_ident.lo
+ CC uu_dprintf.lo
CC uu_list.lo
CC uu_misc.lo
CC uu_open.lo
@@ -971,9 +971,9 @@ Making all in checksum
CC edonr_test.o
CC skein_test.o
CC sha2_test.o
+ CCLD sha2_test
CCLD edonr_test
CCLD skein_test
- CCLD sha2_test
Making all in clean_mirror
Making all in cli_root
Making all in zdb
@@ -1109,13 +1109,13 @@ Making all in sparse
Making all in threadsappend
Making all in tmpfile
CC tmpfile_test.o
+ CC tmpfile_001_pos.o
CC tmpfile_002_pos.o
CC tmpfile_003_pos.o
- CC tmpfile_001_pos.o
CCLD tmpfile_test
CCLD tmpfile_003_pos
- CCLD tmpfile_001_pos
CCLD tmpfile_002_pos
+ CCLD tmpfile_001_pos
Making all in trim
Making all in truncate
CC truncate_test.o
@@ -1237,9 +1237,9 @@ writing top-level names to pyzfs.egg-info/top_level.txt
writing manifest file 'pyzfs.egg-info/SOURCES.txt'
reading manifest file 'pyzfs.egg-info/SOURCES.txt'
writing manifest file 'pyzfs.egg-info/SOURCES.txt'
-⌂105% [id:~/.dev/zfs] e34c3ee2f ±
-⌂105% [id:~/.dev/zfs] e34c3ee2f ± # failed
-⌂105% [id:~/.dev/zfs] e34c3ee2f ± make -j1 deb-dkms
+id@asrock-z170-ocf:~/.dev/zfs$
+id@asrock-z170-ocf:~/.dev/zfs$ # failed
+id@asrock-z170-ocf:~/.dev/zfs$ make -j1 deb-dkms
make pkg="zfs-dkms" \
def='--define "build_src_rpm 1" ' srpm-common
make[1]: Entering directory '/home/id/.dev/zfs'
@@ -3198,7 +3198,7 @@ make[2]: Leaving directory '/home/id/.dev/zfs'
if test -d "zfs-0.8.0"; then find "zfs-0.8.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "zfs-0.8.0" || { sleep 5 && rm -rf "zfs-0.8.0"; }; else :; fi
make[2]: Entering directory '/home/id/.dev/zfs'
make[2]: Leaving directory '/home/id/.dev/zfs'
-Wrote: /tmp/zfs-build-id-BGSG2hHg/SRPMS/zfs-dkms-0.8.0-1.src.rpm
+Wrote: /tmp/zfs-build-id-NMv7sEnf/SRPMS/zfs-dkms-0.8.0-1.src.rpm
make[1]: Leaving directory '/home/id/.dev/zfs'
make pkg="zfs-dkms" \
def='--define "_without_debug 1" --define "_without_debug_kmem 1" --define "_without_debug_kmem_tracking 1" --define "_without_debuginfo 1" --define "_without_asan 1" ' rpm-common
@@ -3206,63 +3206,30 @@ make[1]: Entering directory '/home/id/.dev/zfs'
make[2]: Entering directory '/home/id/.dev/zfs'
make[2]: Leaving directory '/home/id/.dev/zfs'
Installing zfs-dkms-0.8.0-1.src.rpm
-Executing(%prep): /bin/sh -e /tmp/zfs-build-id-oeZos28h/TMP/rpm-tmp.KZurBY
+Executing(%prep): /bin/sh -e /tmp/zfs-build-id-j95NLWfc/TMP/rpm-tmp.ZmW6Mj
+ umask 022
-+ cd /tmp/zfs-build-id-oeZos28h/BUILD
-+ cd /tmp/zfs-build-id-oeZos28h/BUILD
++ cd /tmp/zfs-build-id-j95NLWfc/BUILD
++ cd /tmp/zfs-build-id-j95NLWfc/BUILD
+ rm -rf zfs-0.8.0
-+ /bin/gzip -dc /tmp/zfs-build-id-oeZos28h/SOURCES/zfs-0.8.0.tar.gz
++ /bin/gzip -dc /tmp/zfs-build-id-j95NLWfc/SOURCES/zfs-0.8.0.tar.gz
+ /bin/tar -xof -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd zfs-0.8.0
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
-Executing(%build): /bin/sh -e /tmp/zfs-build-id-oeZos28h/TMP/rpm-tmp.IHyDSR
+Executing(%build): /bin/sh -e /tmp/zfs-build-id-j95NLWfc/TMP/rpm-tmp.aRn83q
+ umask 022
-+ cd /tmp/zfs-build-id-oeZos28h/BUILD
++ cd /tmp/zfs-build-id-j95NLWfc/BUILD
+ cd zfs-0.8.0
+ scripts/dkms.mkconf -n zfs -v 0.8.0 -f dkms.conf
-+ exit 0
-Executing(%install): /bin/sh -e /tmp/zfs-build-id-oeZos28h/TMP/rpm-tmp.GLimaL
-+ umask 022
-+ cd /tmp/zfs-build-id-oeZos28h/BUILD
-+ cd zfs-0.8.0
-+ [ /tmp/zfs-build-id-oeZos28h/BUILDROOT/zfs-dkms-0.8.0-1.x86_64 != / ]
-+ rm -rf /tmp/zfs-build-id-oeZos28h/BUILDROOT/zfs-dkms-0.8.0-1.x86_64
-+ mkdir -p /tmp/zfs-build-id-oeZos28h/BUILDROOT/zfs-dkms-0.8.0-1.x86_64/usr/src/
-+ cp -rf /tmp/zfs-build-id-oeZos28h/BUILD/zfs-0.8.0 /tmp/zfs-build-id-oeZos28h/BUILDROOT/zfs-dkms-0.8.0-1.x86_64/usr/src/
-+ /usr/lib/rpm/brp-compress
-+ /usr/lib/rpm/brp-strip /usr/bin/strip
-+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
-+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
-Processing files: zfs-dkms-0.8.0-1.noarch
-Provides: zfs-dkms = 0.8.0-1 zfs-kmod = 0.8.0
-Requires(interp): /bin/sh /bin/sh
-Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
-Requires(post): /bin/sh
-Requires(preun): /bin/sh
-Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/zfs-build-id-oeZos28h/BUILDROOT/zfs-dkms-0.8.0-1.x86_64
-Wrote: /tmp/zfs-build-id-oeZos28h/RPMS/noarch/zfs-dkms-0.8.0-1.noarch.rpm
-Executing(%clean): /bin/sh -e /tmp/zfs-build-id-oeZos28h/TMP/rpm-tmp.IEybi3
-+ umask 022
-+ cd /tmp/zfs-build-id-oeZos28h/BUILD
-+ cd zfs-0.8.0
-+ [ /tmp/zfs-build-id-oeZos28h/BUILDROOT/zfs-dkms-0.8.0-1.x86_64 != / ]
-+ rm -rf /tmp/zfs-build-id-oeZos28h/BUILDROOT/zfs-dkms-0.8.0-1.x86_64
-+ exit 0
-Executing(--clean): /bin/sh -e /tmp/zfs-build-id-oeZos28h/TMP/rpm-tmp.ydhUAl
-+ umask 022
-+ cd /tmp/zfs-build-id-oeZos28h/BUILD
-+ rm -rf zfs-0.8.0
-+ exit 0
+/tmp/zfs-build-id-j95NLWfc/TMP/rpm-tmp.aRn83q: 28: /tmp/zfs-build-id-j95NLWfc/TMP/rpm-tmp.aRn83q: scripts/dkms.mkconf: Permission denied
+error: Bad exit status from /tmp/zfs-build-id-j95NLWfc/TMP/rpm-tmp.aRn83q (%build)
+
+
+RPM build errors:
+ Bad exit status from /tmp/zfs-build-id-j95NLWfc/TMP/rpm-tmp.aRn83q (%build)
+make[1]: *** [Makefile:1336: rpm-common] Error 1
make[1]: Leaving directory '/home/id/.dev/zfs'
-name=zfs; \
-version=0.8.0-1; \
-arch=`rpm -qp ${name}-dkms-${version}.src.rpm --qf %{arch} | tail -1`; \
-debarch=`dpkg --print-architecture`; \
-pkg1=${name}-dkms-${version}.${arch}.rpm; \
-fakeroot alien --bump=0 --scripts --to-deb --target=$debarch $pkg1; \
-rm -f $pkg1
-zfs-dkms_0.8.0-1_amd64.deb generated
-⌂72% [id:~/.dev/zfs] e34c3ee2f ±
+make: *** [Makefile:1291: rpm-dkms] Error 2
+id@asrock-z170-ocf:~/.dev/zfs$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment