D: [iurt_root_command] chroot warning: Macro expanded in comment on line 20: %{version}-%{rev}.tar.xz Installing /home/pterjan/rpmbuild/SRPMS/aufs-tools-5.8-0.git20201212.1.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sohU1U + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf aufs-util + /usr/bin/xz -dc /home/pterjan/rpmbuild/SOURCES/aufs-tools-5.8-git20201212.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd aufs-util + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (aufs-tools-3.14-deb-static.patch):' Patch #0 (aufs-tools-3.14-deb-static.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile Hunk #1 succeeded at 119 (offset 43 lines). + echo 'Patch #1 (aufs-tools-3.14-deb-manpage.patch):' Patch #1 (aufs-tools-3.14-deb-manpage.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file aufs.in.5 Hunk #1 succeeded at 2245 (offset 239 lines). Hunk #2 succeeded at 2257 (offset 239 lines). + sed -i 's|-o root -g root||g' Makefile + sed -i '/install_ulib: Tgt/ s,/usr/lib,/usr/lib64,' fhsm/Makefile + sed -i '/install_ulib: Tgt/ s,/usr/lib,/usr/lib64,' libau/Makefile + sed -i '/install_sbin: Tgt/ s,/sbin,/usr/sbin,' Makefile + sed -i 's|/sbin|/usr/sbin|g' README aufs.in.5 aubrsync + sed -i 's|sudo ||g' aufs.in.5 aubrsync aufs.shlib + make clean rm -f aufs.5 auibusy aumvdown auplink mount.aufs umount.aufs etc_default_aufs libautil.a libau.so* test_glibc *~ rm -f auibusy.o aumvdown.o auplink.o mount.aufs.o umount.aufs.o perror.o proc_mnt.o br.o plink.o mtab.o au_nftw.o for i in au_nftw.c au_nftw.c au_decode_mntpnt.c error_at_line.c; \ do test -L ${i} && rm -f ${i} || :; \ done make CC="cc" CPPFLAGS="-D_GNU_SOURCE -I./libau -DAUFHSM_CMD=\"/usr/bin/aufhsm\" -DMOUNT_CMD=\"/bin/mount\" -DUMOUNT_CMD=\"/bin/umount\"" CFLAGS="-O -Wall" INSTALL="install" Install="install -p" ManDir="/usr/share/man" TopDir="/home/pterjan/rpmbuild/BUILD/aufs-util" LibUtilHdr="au_util.h" Glibc="" LibAuDir="/usr/lib" ExtlibPath="extlib/glibc" -C libau clean make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/aufs-util/libau' rm -f libau.so libau.so.* libau.o rdu_lib.o rdu.o pathconf.o error_at_line.o *~ rm -f libau.exp rdu_lib.exp rdu.exp pathconf.exp error_at_line.exp libau.exp.err rdu_lib.exp.err rdu.exp.err pathconf.exp.err error_at_line.exp.err verscript for i in rdu64.c error_at_line.[ch]; \ do test -L ${i} && rm -f ${i} || :; \ done make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/aufs-util/libau' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eREdRj + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd aufs-util + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/make -O -j8 V=1 VERBOSE=1 LibAuDir=/usr/lib64 make: 'pre' is up to date. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rxGyFI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64 + cd aufs-util + '[' 1 -eq 1 ']' + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/usr exec_prefix=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/usr bindir=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/usr/bin sbindir=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/usr/sbin sysconfdir=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/etc datadir=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/usr/share includedir=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/usr/include libdir=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/usr/lib64 libexecdir=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/usr/libexec localstatedir=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/var sharedstatedir=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/var/lib mandir=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/usr/share/man infodir=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64/usr/share/info install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/aufs-tools-5.8-0.git20201212.1.mga9.x86_64 LibAuDir=/usr/lib64 cc -O -Wall -D_GNU_SOURCE -I./libau -DAUFHSM_CMD=\"/usr/bin/aufhsm\" -DMOUNT_CMD=\"/bin/mount\" -DUMOUNT_CMD=\"/bin/umount\" ver.c -o ver ./ver Wrong version! aufs-util for aufs5.x-rcN 20200518, but aufs is 5.17.3. See README in detail and try git branch -a. make: *** [Makefile:120: ver_test] Error 255 rm ver error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rxGyFI (%install) RPM build errors: Macro expanded in comment on line 20: %{version}-%{rev}.tar.xz Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rxGyFI (%install) I: [iurt_root_command] ERROR: chroot