Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/chrpath.spec'], chrootPath='/var/lib/mock/fedora-37-ppc64le-1660846963.395602/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.ko387nkq:/etc/resolv.conf', '--bind=/dev/btrfs-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.ko387nkq:/etc/resolv.conf', '--bind=/dev/btrfs-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', '64f7ee05cbb84098bbf0c690ec1c1f8d', '-D', '/var/lib/mock/fedora-37-ppc64le-1660846963.395602/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ko387nkq:/etc/resolv.conf', '--bind=/dev/btrfs-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/chrpath.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=1658275200 Wrote: /builddir/build/SRPMS/chrpath-0.16-18.fc37_clang15_10.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/chrpath.spec'], chrootPath='/var/lib/mock/fedora-37-ppc64le-1660846963.395602/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.ko387nkq:/etc/resolv.conf', '--bind=/dev/btrfs-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.ko387nkq:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'a6e0294053c04a04b1522ac57cabb705', '-D', '/var/lib/mock/fedora-37-ppc64le-1660846963.395602/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ko387nkq:/etc/resolv.conf', '--bind=/dev/btrfs-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/chrpath.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=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.52CAUv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chrpath-0.16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/chrpath-0.16.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd chrpath-0.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' -e /usr/lib/rpm/clang/chrpath-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DdXFRG + 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=power8 -mtune=power8 -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=power8 -mtune=power8 -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=power8 -mtune=power8 -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=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd chrpath-0.16 + 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=power8 -mtune=power8 -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=power8 -mtune=power8 -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=power8 -mtune=power8 -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=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + 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 2014-01-12 08:03:02.000000000 +0000 +++ ./configure 2022-08-18 18:26:00.048105678 +0000 @@ -1962,7 +1962,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.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './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 build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking target system type... powerpc64le-redhat-linux-gnu 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 to enable maintainer-specific portions of Makefiles... no 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 for style of include used by make... GNU checking dependency style of clang... none 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 getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking link.h usability... yes checking link.h presence... yes checking for link.h... yes checking sys/link.h usability... no checking sys/link.h presence... no checking for sys/link.h... no checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking size of void *... 8 checking for getopt_long... yes configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating deb/Makefile config.status: creating config.h config.status: executing depfiles commands Configure status: ----------------- CC = clang 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=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes LDRPATH= -Wl,-rpath, + /usr/bin/make -O -j2 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in testsuite make[2]: Entering directory '/builddir/build/BUILD/chrpath-0.16/testsuite' clang -Wl,-rpath,/usr/local/lib -o prog prog.c make[2]: Leaving directory '/builddir/build/BUILD/chrpath-0.16/testsuite' Making all in deb make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/builddir/build/BUILD/chrpath-0.16' clang -DHAVE_CONFIG_H -I. -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=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -c killrpath.c make[2]: Leaving directory '/builddir/build/BUILD/chrpath-0.16' make[2]: Entering directory '/builddir/build/BUILD/chrpath-0.16' clang -DHAVE_CONFIG_H -I. -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=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -c chrpath.c make[2]: Leaving directory '/builddir/build/BUILD/chrpath-0.16' make[2]: Entering directory '/builddir/build/BUILD/chrpath-0.16' clang -DHAVE_CONFIG_H -I. -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=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -c main.c make[2]: Leaving directory '/builddir/build/BUILD/chrpath-0.16' make[2]: Entering directory '/builddir/build/BUILD/chrpath-0.16' clang -DHAVE_CONFIG_H -I. -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=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -c elf.c make[2]: Leaving directory '/builddir/build/BUILD/chrpath-0.16' make[2]: Entering directory '/builddir/build/BUILD/chrpath-0.16' 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=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o chrpath chrpath.o killrpath.o main.o elf.o clang-15: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-package-notes' [-Wunused-command-line-argument] make[2]: Leaving directory '/builddir/build/BUILD/chrpath-0.16' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7Nrrrp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le ++ dirname /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.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=power8 -mtune=power8 -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=power8 -mtune=power8 -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=power8 -mtune=power8 -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=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd chrpath-0.16 + make install DESTDIR=/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le 'INSTALL=install -p' Making install in testsuite make[1]: Entering directory '/builddir/build/BUILD/chrpath-0.16/testsuite' make[2]: Entering directory '/builddir/build/BUILD/chrpath-0.16/testsuite' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/chrpath-0.16/testsuite' make[1]: Leaving directory '/builddir/build/BUILD/chrpath-0.16/testsuite' Making install in deb make[1]: Entering directory '/builddir/build/BUILD/chrpath-0.16/deb' make[2]: Entering directory '/builddir/build/BUILD/chrpath-0.16/deb' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/chrpath-0.16/deb' make[1]: Leaving directory '/builddir/build/BUILD/chrpath-0.16/deb' make[1]: Entering directory '/builddir/build/BUILD/chrpath-0.16' make[2]: Entering directory '/builddir/build/BUILD/chrpath-0.16' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/bin' install -p chrpath '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/doc/chrpath-0.16' install -p -m 644 AUTHORS COPYING ChangeLog INSTALL NEWS README '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/doc/chrpath-0.16' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/share/man/man1' install -p -m 644 chrpath.1 '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/chrpath-0.16' make[1]: Leaving directory '/builddir/build/BUILD/chrpath-0.16' + rm -fr /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/doc + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/bin/chrpath error: write on a pipe with no reader error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0~rc1-2.fc37) /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/bin/chrpath built with clang + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.16-18.fc37_clang15_10 --unique-debug-suffix -0.16-18.fc37_clang15_10.ppc64le --unique-debug-src-base chrpath-0.16-18.fc37_clang15_10.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/chrpath-0.16 extracting debug info from /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/bin/chrpath original debug info size: 64kB, size after compression: 64kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 36 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/lib/debug/usr/bin/chrpath-0.16-18.fc37_clang15_10.ppc64le.debug llvm-readelf: warning: '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/lib/debug/usr/bin/chrpath-0.16-18.fc37_clang15_10.ppc64le.debug': PT_DYNAMIC segment offset (0x2fc38) + file size (0x210) exceeds the size of the file (0x9c30) llvm-readelf: warning: '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/lib/debug/usr/bin/chrpath-0.16-18.fc37_clang15_10.ppc64le.debug': PT_DYNAMIC segment offset (0x2fc38) + file size (0x210) exceeds the size of the file (0x9c30) llvm-readelf: warning: '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/lib/debug/usr/bin/chrpath-0.16-18.fc37_clang15_10.ppc64le.debug': PT_DYNAMIC segment offset (0x2fc38) + file size (0x210) exceeds the size of the file (0x9c30) pure virtual method called terminate called without an active exception llvm-readelf: warning: '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/lib/debug/usr/bin/chrpath-0.16-18.fc37_clang15_10.ppc64le.debug': PT_DYNAMIC segment offset (0x2fc38) + file size (0x210) exceeds the size of the file (0x9c30) [ 2e] clang version 15.0.0 (Fedora 15.0.0~rc1-2.fc37) /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/lib/debug/usr/bin/chrpath-0.16-18.fc37_clang15_10.ppc64le.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/bin/chrpath llvm-readelf: warning: '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/lib/debug/usr/bin/chrpath-0.16-18.fc37_clang15_10.ppc64le.debug': PT_DYNAMIC segment offset (0x2fc38) + file size (0x210) exceeds the size of the file (0x9c30) llvm-readelf: warning: '/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/lib/debug/usr/bin/chrpath-0.16-18.fc37_clang15_10.ppc64le.debug': PT_DYNAMIC segment offset (0x2fc38) + file size (0x210) exceeds the size of the file (0x9c30) [ 2e] clang version 15.0.0 (Fedora 15.0.0~rc1-2.fc37) /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/lib/debug/usr/bin/chrpath-0.16-18.fc37_clang15_10.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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.uYQ7qj + 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=power8 -mtune=power8 -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=power8 -mtune=power8 -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=power8 -mtune=power8 -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=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd chrpath-0.16 + make check Making check in testsuite make[1]: Entering directory '/builddir/build/BUILD/chrpath-0.16/testsuite' ./runtest.sh + CHRPATH=../chrpath + retval=0 + rm prog + make prog make[2]: Entering directory '/builddir/build/BUILD/chrpath-0.16/testsuite' clang -Wl,-rpath,/usr/local/lib -o prog prog.c make[2]: Leaving directory '/builddir/build/BUILD/chrpath-0.16/testsuite' + ../chrpath -h Usage: ../chrpath [-v|-d|-c|-r ] [ ...] -v|--version Display program version number -d|--delete Delete current rpath/runpath setting -c|--convert Convert rpath to runpath -r |--replace Replace current rpath/runpath setting with the path given -l|--list List the current rpath/runpath (default) -k|--keepgoing Do not fail on first error -h|--help Show this usage information. success: chrpath -h worked. + echo 'success: chrpath -h worked.' + ../chrpath -v chrpath version 0.16 success: chrpath -v worked. + echo 'success: chrpath -v worked.' + ../chrpath ./runtest.sh `./runtest.sh' probably isn't an ELF file. elf_open: Exec format error + echo 'success: chrpath on /bin/sh script failed.' success: chrpath on /bin/sh script failed. + ../chrpath non-existant-file open: No such file or directory elf_open: Invalid argument + echo 'success: chrpath on non-existant file failed.' success: chrpath on non-existant file failed. + ../chrpath -l prog + grep -q 'R.*PATH=.*/usr/local/lib' + echo 'success: chrpath listed current rpath.' success: chrpath listed current rpath. + ../chrpath -r /usr/lib prog + ../chrpath -l prog + grep -q 'R.*PATH=/usr/lib' + echo 'success: chrpath changed rpath.' success: chrpath changed rpath. + ../chrpath -r /usr/lib:/usr/local/lib prog new rpath '/usr/lib:/usr/local/lib' too large; maximum length 14 + echo 'error: chrpath unable to change rpath to larger path.' error: chrpath unable to change rpath to larger path. + ../chrpath -c prog + ../chrpath -l prog + grep -q RUNPATH=/usr/lib + echo 'success: chrpath converted rpath to runpath.' success: chrpath converted rpath to runpath. + ../chrpath -d prog + ../chrpath -l prog + grep -q 'no rpath or runpath tag found' + echo 'success: chrpath removed rpath and runpath successfully.' success: chrpath removed rpath and runpath successfully. + exit 0 make[1]: Leaving directory '/builddir/build/BUILD/chrpath-0.16/testsuite' Making check in deb make[1]: Entering directory '/builddir/build/BUILD/chrpath-0.16/deb' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/chrpath-0.16/deb' make[1]: Entering directory '/builddir/build/BUILD/chrpath-0.16' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/builddir/build/BUILD/chrpath-0.16' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: chrpath-0.16-18.fc37_clang15_10.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DdrWNi + umask 022 + cd /builddir/build/BUILD + cd chrpath-0.16 + DOCDIR=/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/share/doc/chrpath + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/share/doc/chrpath + cp -pr AUTHORS /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/share/doc/chrpath + cp -pr README /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/share/doc/chrpath + cp -pr NEWS /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/share/doc/chrpath + cp -pr ChangeLog /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/share/doc/chrpath + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YeLlvJ + umask 022 + cd /builddir/build/BUILD + cd chrpath-0.16 + LICENSEDIR=/builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/share/licenses/chrpath + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/share/licenses/chrpath + cp -pr COPYING /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le/usr/share/licenses/chrpath + RPM_EC=0 ++ jobs -p + exit 0 Provides: chrpath = 0.16-18.fc37_clang15_10 chrpath(ppc-64) = 0.16-18.fc37_clang15_10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: chrpath-debugsource-0.16-18.fc37_clang15_10.ppc64le Provides: chrpath-debugsource = 0.16-18.fc37_clang15_10 chrpath-debugsource(ppc-64) = 0.16-18.fc37_clang15_10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: chrpath-debuginfo-0.16-18.fc37_clang15_10.ppc64le Provides: chrpath-debuginfo = 0.16-18.fc37_clang15_10 chrpath-debuginfo(ppc-64) = 0.16-18.fc37_clang15_10 debuginfo(build-id) = 1046222139ba7573d254cc993264e55a2b5daa7a Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: chrpath-debugsource(ppc-64) = 0.16-18.fc37_clang15_10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le Wrote: /builddir/build/RPMS/chrpath-debuginfo-0.16-18.fc37_clang15_10.ppc64le.rpm Wrote: /builddir/build/RPMS/chrpath-0.16-18.fc37_clang15_10.ppc64le.rpm Wrote: /builddir/build/RPMS/chrpath-debugsource-0.16-18.fc37_clang15_10.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YSMJ0d + umask 022 + cd /builddir/build/BUILD + cd chrpath-0.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/chrpath-0.16-18.fc37_clang15_10.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.RrZMmx + umask 022 + cd /builddir/build/BUILD + rm -rf chrpath-0.16 chrpath-0.16.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0