Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rshim.spec'], chrootPath='/var/lib/mock/centos-stream-9-ppc64le-1672886316.990721/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.huhof9jp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.huhof9jp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e8deeca416f94dd0b46b7b9d90b013d1', '-D', '/var/lib/mock/centos-stream-9-ppc64le-1672886316.990721/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.huhof9jp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rshim.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628553600 Wrote: /builddir/build/SRPMS/rshim-2.0.5-2.eln_clang_unknown.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rshim.spec'], chrootPath='/var/lib/mock/centos-stream-9-ppc64le-1672886316.990721/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.huhof9jp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.huhof9jp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4f212dbe45e04ae4b4aa9d9b1b45316c', '-D', '/var/lib/mock/centos-stream-9-ppc64le-1672886316.990721/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.huhof9jp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rshim.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628553600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kGw6PG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rshim-2.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/rshim-2.0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rshim-2.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/rshim-sysconfig.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + '[' -e /usr/lib/rpm/clang/rshim-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.b0tk72 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd rshim-2.0.5 + ./bootstrap.sh autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory config autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:9: installing 'config/compile' configure.ac:20: installing 'config/config.guess' configure.ac:20: installing 'config/config.sub' configure.ac:7: installing 'config/install-sh' configure.ac:7: installing 'config/missing' src/Makefile.am: installing 'config/depcomp' autoreconf: Leaving directory `.' + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + '[' -fltox '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-01-05 02:41:14.373249868 +0000 +++ ./configure 2023-01-05 02:41:15.243224107 +0000 @@ -1743,7 +1743,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now ' ']' ++ find . -name ltmain.sh + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-redhat-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/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 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 powerpc64le-redhat-linux-gnu-gcc... clang 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 clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking for powerpc64le-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 syslog.h... yes Linux checking for libpci... yes checking for libusb... yes checking for libusb_init in -lusb-1.0... yes checking for libusb_get_port_numbers... yes checking for libusb_get_device_address... yes checking for fuse... yes checking for pthread_create in -lpthread... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating rshim.spec config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating rhel/rshim.spec config.status: creating freebsd/rshim config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j5 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/src' clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_RSHIM_NET -I/usr/include/libusb-1.0 -DHAVE_RSHIM_USB -DHAVE_RSHIM_PCIE -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -DHAVE_RSHIM_FUSE -DFUSE_USE_VERSION=30 -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rshim-rshim_net.o `test -f 'rshim_net.c' || echo './'`rshim_net.c make[2]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/src' make[2]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/src' clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_RSHIM_NET -I/usr/include/libusb-1.0 -DHAVE_RSHIM_USB -DHAVE_RSHIM_PCIE -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -DHAVE_RSHIM_FUSE -DFUSE_USE_VERSION=30 -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rshim-rshim_pcie.o `test -f 'rshim_pcie.c' || echo './'`rshim_pcie.c make[2]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/src' make[2]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/src' clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_RSHIM_NET -I/usr/include/libusb-1.0 -DHAVE_RSHIM_USB -DHAVE_RSHIM_PCIE -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -DHAVE_RSHIM_FUSE -DFUSE_USE_VERSION=30 -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rshim-rshim_log.o `test -f 'rshim_log.c' || echo './'`rshim_log.c make[2]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/src' make[2]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/src' clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_RSHIM_NET -I/usr/include/libusb-1.0 -DHAVE_RSHIM_USB -DHAVE_RSHIM_PCIE -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -DHAVE_RSHIM_FUSE -DFUSE_USE_VERSION=30 -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rshim-rshim_pcie_lf.o `test -f 'rshim_pcie_lf.c' || echo './'`rshim_pcie_lf.c make[2]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/src' make[2]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/src' clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_RSHIM_NET -I/usr/include/libusb-1.0 -DHAVE_RSHIM_USB -DHAVE_RSHIM_PCIE -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -DHAVE_RSHIM_FUSE -DFUSE_USE_VERSION=30 -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rshim-rshim_fuse.o `test -f 'rshim_fuse.c' || echo './'`rshim_fuse.c make[2]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/src' rshim_fuse.c:393:8: warning: overflow converting case value to switch condition type (2151445526 to 18446744071566029846) [-Wswitch] case TCSETSF: ^ /usr/include/asm/ioctls.h:24:18: note: expanded from macro 'TCSETSF' #define TCSETSF _IOW('t', 22, struct termios) ^ /usr/include/asm-generic/ioctl.h:85:28: note: expanded from macro '_IOW' #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) ^ /usr/include/asm-generic/ioctl.h:70:2: note: expanded from macro '_IOC' (((dir) << _IOC_DIRSHIFT) | \ ^ rshim_fuse.c:392:8: warning: overflow converting case value to switch condition type (2151445525 to 18446744071566029845) [-Wswitch] case TCSETSW: ^ /usr/include/asm/ioctls.h:23:18: note: expanded from macro 'TCSETSW' #define TCSETSW _IOW('t', 21, struct termios) ^ /usr/include/asm-generic/ioctl.h:85:28: note: expanded from macro '_IOW' #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) ^ /usr/include/asm-generic/ioctl.h:70:2: note: expanded from macro '_IOC' (((dir) << _IOC_DIRSHIFT) | \ ^ rshim_fuse.c:391:8: warning: overflow converting case value to switch condition type (2151445524 to 18446744071566029844) [-Wswitch] case TCSETS: ^ /usr/include/asm/ioctls.h:22:17: note: expanded from macro 'TCSETS' #define TCSETS _IOW('t', 20, struct termios) ^ /usr/include/asm-generic/ioctl.h:85:28: note: expanded from macro '_IOW' #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) ^ /usr/include/asm-generic/ioctl.h:70:2: note: expanded from macro '_IOC' (((dir) << _IOC_DIRSHIFT) | \ ^ 3 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/src' clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_RSHIM_NET -I/usr/include/libusb-1.0 -DHAVE_RSHIM_USB -DHAVE_RSHIM_PCIE -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -DHAVE_RSHIM_FUSE -DFUSE_USE_VERSION=30 -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rshim-rshim_usb.o `test -f 'rshim_usb.c' || echo './'`rshim_usb.c make[2]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/src' make[2]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/src' clang -DHAVE_CONFIG_H -I. -I.. -DHAVE_RSHIM_NET -I/usr/include/libusb-1.0 -DHAVE_RSHIM_USB -DHAVE_RSHIM_PCIE -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -DHAVE_RSHIM_FUSE -DFUSE_USE_VERSION=30 -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rshim-rshim.o `test -f 'rshim.c' || echo './'`rshim.c make[2]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/src' make[2]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/src' clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o rshim rshim-rshim.o rshim-rshim_log.o rshim-rshim_net.o rshim-rshim_usb.o rshim-rshim_pcie.o rshim-rshim_pcie_lf.o rshim-rshim_fuse.o -lpthread -lusb-1.0 -lpci -lfuse -pthread make[2]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/src' Making all in man make[2]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6exS8R + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le ++ dirname /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd rshim-2.0.5 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/src' make[2]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/sbin' /usr/bin/install -p rshim '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/sbin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/src' make[1]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/src' Making install in man make[1]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/man' make[2]: Entering directory '/builddir/build/BUILD/rshim-2.0.5/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/share/man/man8' /usr/bin/install -p -m 644 rshim.8 bfb-install.8 '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/man' make[1]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5/man' make[1]: Entering directory '/builddir/build/BUILD/rshim-2.0.5' make[2]: Entering directory '/builddir/build/BUILD/rshim-2.0.5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/sbin' /usr/bin/install -p scripts/bfb-install '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/etc' /usr/bin/install -p -m 644 etc/rshim.conf '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/share/doc/rshim' /usr/bin/install -p -m 644 README.md '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/share/doc/rshim' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/lib/systemd/system' /usr/bin/install -p -m 644 rshim.service '/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/lib/systemd/system' make[2]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5' make[1]: Leaving directory '/builddir/build/BUILD/rshim-2.0.5' + mkdir -p /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/etc/sysconfig + cat + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/sbin/rshim error: write on a pipe with no reader error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/sbin/rshim built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto Checking for LLVM bitcode artifacts + /usr/lib/rpm/find-debuginfo.sh -j5 --strict-build-id -m -i --build-id-seed 2.0.5-2.eln_clang_unknown --unique-debug-suffix -2.0.5-2.eln_clang_unknown.ppc64le --unique-debug-src-base rshim-2.0.5-2.eln_clang_unknown.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/rshim-2.0.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/sbin/rshim extracting debug info from /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/sbin/rshim original debug info size: 256kB, size after compression: 256kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 403 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/lib/debug/usr/sbin/rshim-2.0.5-2.eln_clang_unknown.ppc64le.debug error: write on a pipe with no reader error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/lib/debug/usr/sbin/rshim-2.0.5-2.eln_clang_unknown.ppc64le.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/sbin/rshim error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/lib/debug/usr/sbin/rshim-2.0.5-2.eln_clang_unknown.ppc64le.debug built with clang + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/bfb-install from /bin/sh to #!/usr/bin/sh Processing files: rshim-2.0.5-2.eln_clang_unknown.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fUU7M4 + umask 022 + cd /builddir/build/BUILD + cd rshim-2.0.5 + DOCDIR=/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/share/doc/rshim + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/share/doc/rshim + cp -pr README.md /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/share/doc/rshim + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.AwOguk + umask 022 + cd /builddir/build/BUILD + cd rshim-2.0.5 + LICENSEDIR=/builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/share/licenses/rshim + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/share/licenses/rshim + cp -pr LICENSE /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le/usr/share/licenses/rshim + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(rshim) = 2.0.5-2.eln_clang_unknown rshim = 2.0.5-2.eln_clang_unknown rshim(ppc-64) = 2.0.5-2.eln_clang_unknown Requires(interp): /bin/sh /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 Requires(postun): /bin/sh Requires: /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.34)(64bit) libfuse.so.2()(64bit) libfuse.so.2(FUSE_2.4)(64bit) libfuse.so.2(FUSE_2.5)(64bit) libfuse.so.2(FUSE_2.8)(64bit) libpci.so.3()(64bit) libpci.so.3(LIBPCI_3.0)(64bit) libpci.so.3(LIBPCI_3.5)(64bit) libusb-1.0.so.0()(64bit) Suggests: kernel-modules-extra Processing files: rshim-debugsource-2.0.5-2.eln_clang_unknown.ppc64le Provides: rshim-debugsource = 2.0.5-2.eln_clang_unknown rshim-debugsource(ppc-64) = 2.0.5-2.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rshim-debuginfo-2.0.5-2.eln_clang_unknown.ppc64le Provides: debuginfo(build-id) = 67d5b7b603f0f43c98e4be38bd8c5862084a627c rshim-debuginfo = 2.0.5-2.eln_clang_unknown rshim-debuginfo(ppc-64) = 2.0.5-2.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rshim-debugsource(ppc-64) = 2.0.5-2.eln_clang_unknown Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le Wrote: /builddir/build/RPMS/rshim-2.0.5-2.eln_clang_unknown.ppc64le.rpm Wrote: /builddir/build/RPMS/rshim-debuginfo-2.0.5-2.eln_clang_unknown.ppc64le.rpm Wrote: /builddir/build/RPMS/rshim-debugsource-2.0.5-2.eln_clang_unknown.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kTvAjC + umask 022 + cd /builddir/build/BUILD + cd rshim-2.0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rshim-2.0.5-2.eln_clang_unknown.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0