Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/fuse-overlayfs.spec'], chrootPath='/var/lib/mock/fuse-overlayfs-0.7.2-6.el7_8-20200428142155-1556/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/fuse-overlayfs.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/fuse-overlayfs-0.7.2-6.el7_8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/fuse-overlayfs.spec'], chrootPath='/var/lib/mock/fuse-overlayfs-0.7.2-6.el7_8-20200428142155-1556/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/fuse-overlayfs.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7R36Hz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc + /usr/bin/gzip -dc /builddir/build/SOURCES/fuse-overlayfs-8c59873.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q -a --author 'rpm-build ' -m 'fuse-overlayfs-0.7.2 base' + /usr/bin/cat /builddir/build/SOURCES/fuse-overlayfs-1803492.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m fuse-overlayfs-1803492.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/fuse-overlayfs-1804849.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m fuse-overlayfs-1804849.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/fuse-overlayfs-1809648.patch + /usr/bin/git commit -q -m fuse-overlayfs-1809648.patch --author 'rpm-build ' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zSX5dA + umask 022 + cd /builddir/build/BUILD + cd fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc + ./autogen.sh configure.ac:13: installing 'build-aux/config.guess' configure.ac:13: installing 'build-aux/config.sub' configure.ac:8: installing 'build-aux/install-sh' configure.ac:8: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' + ./configure --prefix=/usr --libdir=/usr/lib checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for Minix Amsterdam compiler... no checking for ar... ar checking for ranlib... ranlib checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu 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 limits.h... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for wint_t... yes checking whether wint_t is too small... no checking for unsigned long long int... yes checking for long long int... yes checking whether stdint.h conforms to C99... yes checking whether stdint.h predates C++11... no checking whether stdint.h has UINTMAX_WIDTH etc.... no checking for pid_t... yes checking for mode_t... yes checking for ssize_t... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking for limits.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking for ranlib... (cached) ranlib checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... (cached) yes checking for mode_t... (cached) yes checking for obstacks... yes checking for off_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for ptrdiff_t... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for FUSE... yes checking for library containing dlopen... -ldl checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for open_by_handle_at... yes checking for error... yes checking for memset... yes checking for strdup... yes checking for copy_file_range... no checking for statx... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make generate-man make: Nothing to be done for `generate-man'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oMhxzO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fuse-overlayfs-0.7.2-6.el7_8.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fuse-overlayfs-0.7.2-6.el7_8.i386 ++ dirname /builddir/build/BUILDROOT/fuse-overlayfs-0.7.2-6.el7_8.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fuse-overlayfs-0.7.2-6.el7_8.i386 + cd fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc + make DESTDIR=/builddir/build/BUILDROOT/fuse-overlayfs-0.7.2-6.el7_8.i386 install install-man Making install in lib make[1]: Entering directory `/builddir/build/BUILD/fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc/lib' rm -f limits.h-t limits.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_LIMITS_H''@||g' \ < ./limits.in.h; \ } > limits.h-t && \ mv limits.h-t limits.h rm -f stdint.h-t stdint.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_STDINT_H''@/1/g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_STDINT_H''@||g' \ -e 's/@''HAVE_C99_STDINT_H''@/1/g' \ -e 's/@''HAVE_SYS_TYPES_H''@/1/g' \ -e 's/@''HAVE_INTTYPES_H''@/1/g' \ -e 's/@''HAVE_SYS_INTTYPES_H''@/0/g' \ -e 's/@''HAVE_SYS_BITYPES_H''@/0/g' \ -e 's/@''HAVE_WCHAR_H''@/1/g' \ -e 's/@''HAVE_LONG_LONG_INT''@/1/g' \ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/1/g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/0/g' \ -e 's/@''BITSIZEOF_PTRDIFF_T''@//g' \ -e 's/@''PTRDIFF_T_SUFFIX''@//g' \ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@//g' \ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@//g' \ -e 's/@''SIG_ATOMIC_T_SUFFIX''@//g' \ -e 's/@''BITSIZEOF_SIZE_T''@//g' \ -e 's/@''SIZE_T_SUFFIX''@//g' \ -e 's/@''BITSIZEOF_WCHAR_T''@//g' \ -e 's/@''HAVE_SIGNED_WCHAR_T''@//g' \ -e 's/@''WCHAR_T_SUFFIX''@//g' \ -e 's/@''BITSIZEOF_WINT_T''@//g' \ -e 's/@''HAVE_SIGNED_WINT_T''@//g' \ -e 's/@''WINT_T_SUFFIX''@//g' \ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/0/g' \ < ./stdint.in.h; \ } > stdint.h-t && \ mv stdint.h-t stdint.h /usr/bin/mkdir -p sys rm -f sys/types.h-t sys/types.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_TYPES_H''@||g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \ -e 's|@''WINDOWS_STAT_INODES''@|0|g' \ < ./sys_types.in.h; \ } > sys/types.h-t && \ mv sys/types.h-t sys/types.h make install-recursive make[2]: Entering directory `/builddir/build/BUILD/fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc/lib' make[3]: Entering directory `/builddir/build/BUILD/fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc/lib' gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT bitrotate.o -MD -MP -MF .deps/bitrotate.Tpo -c -o bitrotate.o bitrotate.c mv -f .deps/bitrotate.Tpo .deps/bitrotate.Po gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c mv -f .deps/hash.Tpo .deps/hash.Po rm -f libgnu.a ar cr libgnu.a bitrotate.o hash.o ranlib libgnu.a make[4]: Entering directory `/builddir/build/BUILD/fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc/lib' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/builddir/build/BUILD/fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc/lib' make[3]: Leaving directory `/builddir/build/BUILD/fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc/lib' make[2]: Leaving directory `/builddir/build/BUILD/fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc/lib' make[1]: Leaving directory `/builddir/build/BUILD/fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc/lib' make[1]: Entering directory `/builddir/build/BUILD/fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc' gcc -DHAVE_CONFIG_H -I. -DPKGLIBEXECDIR='"/usr/libexec/fuse-overlayfs"' -I . -I /builddir/build/BUILD/fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc/lib -I/usr/include/fuse3 -g -O2 -MT fuse_overlayfs-main.o -MD -MP -MF .deps/fuse_overlayfs-main.Tpo -c -o fuse_overlayfs-main.o `test -f 'main.c' || echo './'`main.c main.c: In function 'node_to_inode': main.c:246:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (ino_t) n->ino; ^ main.c: In function 'lookup_inode': main.c:252:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (struct ovl_ino *) n; ^ main.c: In function 'direct_renameat2': main.c:823:19: error: 'SYS_renameat2' undeclared (first use in this function) return syscall (SYS_renameat2, olddirfd, oldpath, newdirfd, newpath, flags); ^ main.c:823:19: note: each undeclared identifier is reported only once for each function it appears in main.c: In function 'hide_node': main.c:848:37: error: 'SYS_renameat2' undeclared (first use in this function) if (can_mknod && syscall (SYS_renameat2, node_dirfd (node), node->path, lo->workdir_fd, newpath, RENAME_WHITEOUT) == 0) ^ make[1]: *** [fuse_overlayfs-main.o] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/fuse-overlayfs-8c59873b00b3e8ee98be998fec8dbce4cfe984cc' make: *** [install-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.oMhxzO (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.oMhxzO (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/fuse-overlayfs.spec