Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/f29-build-18845-10140/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/annobin.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: gawk: cmd. line:1: warning: escape sequence `\)' treated as plain `)' Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/annobin-8.10-2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/f29-build-18845-10140/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/annobin.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: gawk: cmd. line:1: warning: escape sequence `\)' treated as plain `)' Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7WXkCd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf annobin-8.10 + /usr/bin/xz -dc /builddir/build/SOURCES/annobin-8.10.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd annobin-8.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + touch aclocal.m4 plugin/config.h.in + touch configure plugin/configure Makefile.in annocheck/Makefile.in doc/Makefile.in plugin/Makefile.in scripts/Makefile.in tests/Makefile.in + touch doc/annobin.info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nSRaQl + umask 022 + cd /builddir/build/BUILD + cd annobin-8.10 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./plugin/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./plugin/config.sub BUILDSTDERR: ++ basename ./plugin/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./plugin/config.sub '/usr/lib/rpm/redhat/config.sub' -> './plugin/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./plugin/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./plugin/config.guess BUILDSTDERR: ++ basename ./plugin/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./plugin/config.guess '/usr/lib/rpm/redhat/config.guess' -> './plugin/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess BUILDSTDERR: ++ 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./plugin/ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./config/ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 --quiet --with-gcc-plugin-dir=/usr/lib/gcc/riscv64-redhat-linux/8/plugin + /usr/bin/make -O -j4 Making all in plugin /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/annobin-8.10/plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/8/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dummy.annobin.lo dummy.annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/riscv64-redhat-linux/8/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c dummy.annobin.cc -fPIC -DPIC -o .libs/dummy.annobin.o make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.10/plugin' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.10/plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/8/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o annobin.lo annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/riscv64-redhat-linux/8/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c annobin.cc -fPIC -DPIC -o .libs/annobin.o make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.10/plugin' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.10/plugin' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -module -o annobin.la -rpath /usr/lib/gcc/riscv64-redhat-linux/8/plugin annobin.lo dummy.annobin.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/8/crti.o /usr/lib/gcc/riscv64-redhat-linux/8/crtbeginS.o .libs/annobin.o .libs/dummy.annobin.o -L/usr/lib/gcc/riscv64-redhat-linux/8 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/8/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/8/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,annobin.so.0 -o .libs/annobin.so.0.0.0 libtool: link: (cd ".libs" && rm -f "annobin.so.0" && ln -s "annobin.so.0.0.0" "annobin.so.0") libtool: link: (cd ".libs" && rm -f "annobin.so" && ln -s "annobin.so.0.0.0" "annobin.so") libtool: link: ( cd ".libs" && rm -f "annobin.la" && ln -s "../annobin.la" "annobin.la" ) make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.10/plugin' Making all in scripts make[1]: Nothing to be done for 'all'. Making all in doc make[1]: Nothing to be done for 'all'. Making all in tests make[1]: Nothing to be done for 'all'. Making all in annocheck make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/annocheck' gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/8/plugin/include -O2 -ansi -g -Wshadow=global -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o annocheck-built-by.o `test -f 'built-by.c' || echo './'`built-by.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/annocheck' gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/8/plugin/include -O2 -ansi -g -Wshadow=global -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o annocheck-hardened.o `test -f 'hardened.c' || echo './'`hardened.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/annocheck' gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/8/plugin/include -O2 -ansi -g -Wshadow=global -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o annocheck-annocheck.o `test -f 'annocheck.c' || echo './'`annocheck.c make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/annocheck' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -ansi -g -Wshadow=global -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o annocheck annocheck-annocheck.o annocheck-hardened.o annocheck-built-by.o -lelf -ldw -lrpm -lrpmio -liberty libtool: link: gcc -O2 -ansi -g -Wshadow=global -Wall -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o annocheck annocheck-annocheck.o annocheck-hardened.o annocheck-built-by.o -lelf -ldw -lrpm -lrpmio -liberty make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/annocheck' make[1]: Nothing to be done for 'all-am'. + cp plugin/.libs/annobin.so.0.0.0 /var/tmp/tmp-annobin.so + make -C plugin clean make: Entering directory '/builddir/build/BUILD/annobin-8.10/plugin' rm -rf .libs _libs test -z "annobin.la" || rm -f annobin.la rm -f "./so_locations" rm -f *.o rm -f *.lo make: Leaving directory '/builddir/build/BUILD/annobin-8.10/plugin' + make -C plugin 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fplugin=/var/tmp/tmp-annobin.so' make: Entering directory '/builddir/build/BUILD/annobin-8.10/plugin' make all-am make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/8/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fplugin=/var/tmp/tmp-annobin.so -c -o annobin.lo annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/riscv64-redhat-linux/8/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fplugin=/var/tmp/tmp-annobin.so -c annobin.cc -fPIC -DPIC -o .libs/annobin.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/8/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fplugin=/var/tmp/tmp-annobin.so -c -o dummy.annobin.lo dummy.annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/riscv64-redhat-linux/8/plugin/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fplugin=/var/tmp/tmp-annobin.so -c dummy.annobin.cc -fPIC -DPIC -o .libs/dummy.annobin.o /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fplugin=/var/tmp/tmp-annobin.so -module -o annobin.la -rpath /usr/lib/gcc/riscv64-redhat-linux/8/plugin annobin.lo dummy.annobin.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/8/crti.o /usr/lib/gcc/riscv64-redhat-linux/8/crtbeginS.o .libs/annobin.o .libs/dummy.annobin.o -L/usr/lib/gcc/riscv64-redhat-linux/8 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/8/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/8/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,annobin.so.0 -o .libs/annobin.so.0.0.0 libtool: link: (cd ".libs" && rm -f "annobin.so.0" && ln -s "annobin.so.0.0.0" "annobin.so.0") libtool: link: (cd ".libs" && rm -f "annobin.so" && ln -s "annobin.so.0.0.0" "annobin.so") libtool: link: ( cd ".libs" && rm -f "annobin.la" && ln -s "../annobin.la" "annobin.la" ) make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/plugin' make: Leaving directory '/builddir/build/BUILD/annobin-8.10/plugin' + rm /var/tmp/tmp-annobin.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ENkfFq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64 + cd annobin-8.10 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64 'INSTALL=/usr/bin/install -p' Making install in plugin make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/plugin' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.10/plugin' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/lib/gcc/riscv64-redhat-linux/8/plugin' /bin/sh ../libtool --mode=install /usr/bin/install -p annobin.la '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/lib/gcc/riscv64-redhat-linux/8/plugin' libtool: install: /usr/bin/install -p .libs/annobin.so.0.0.0 /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/lib/gcc/riscv64-redhat-linux/8/plugin/annobin.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/lib/gcc/riscv64-redhat-linux/8/plugin && { ln -s -f annobin.so.0.0.0 annobin.so.0 || { rm -f annobin.so.0 && ln -s annobin.so.0.0.0 annobin.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/lib/gcc/riscv64-redhat-linux/8/plugin && { ln -s -f annobin.so.0.0.0 annobin.so || { rm -f annobin.so && ln -s annobin.so.0.0.0 annobin.so; }; }) libtool: install: /usr/bin/install -p .libs/annobin.lai /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/lib/gcc/riscv64-redhat-linux/8/plugin/annobin.la BUILDSTDERR: libtool: install: warning: remember to run `libtool --finish /usr/lib/gcc/riscv64-redhat-linux/8/plugin' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/annobin-8.10/plugin' rm -f '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/lib/gcc/riscv64-redhat-linux/8/plugin/annobin.la' make[3]: Leaving directory '/builddir/build/BUILD/annobin-8.10/plugin' make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.10/plugin' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/plugin' Making install in scripts make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/scripts' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.10/scripts' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/bin' /usr/bin/install -p built-by check-abi hardened run-on-binaries-in '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.10/scripts' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/scripts' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/doc' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.10/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/share/doc/annobin-plugin' /usr/bin/install -p -m 644 annotation.proposal.txt '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/share/doc/annobin-plugin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/share/info' /usr/bin/install -p -m 644 ./annobin.info '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/share/info' '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/share/info/annobin.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 annobin.1 built-by.1 check-abi.1 hardened.1 run-on-binaries.1 annocheck.1 '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.10/doc' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/doc' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/tests' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.10/tests' 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/annobin-8.10/tests' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/tests' Making install in annocheck make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/annocheck' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.10/annocheck' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p annocheck '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/bin' libtool: install: /usr/bin/install -p annocheck /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/bin/annocheck make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.10/annocheck' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/annocheck' make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10' make[2]: Entering directory '/builddir/build/BUILD/annobin-8.10' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/share/doc/annobin-plugin' /usr/bin/install -p -m 644 LICENSE COPYING3 '/builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/share/doc/annobin-plugin' make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.10' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10' + /usr/bin/rm -f /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 8.10-2.fc29 --unique-debug-suffix -8.10-2.fc29.riscv64 --unique-debug-src-base annobin-8.10-2.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/annobin-8.10 extracting debug info from /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/lib/gcc/riscv64-redhat-linux/8/plugin/annobin.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/annobin-8.10-2.fc29.riscv64/usr/bin/annocheck /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 283 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jzfvpR + umask 022 + cd /builddir/build/BUILD + cd annobin-8.10 + make check Making check in plugin make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/plugin' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/plugin' Making check in scripts make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/scripts' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/scripts' Making check in doc make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/doc' Making check in tests make[1]: Entering directory '/builddir/build/BUILD/annobin-8.10/tests' make check-TESTS make[2]: Entering directory '/builddir/build/BUILD/annobin-8.10/tests' BUILDSTDERR: annobin: ./hello_lib.c: Version 8 BUILDSTDERR: readelf: compile-test.exe: Warning: Gap in build notes detected from 0x637 to 0x6c3 PASS: compile-test BUILDSTDERR: gcc: error: unrecognized command line option '-mstackrealign'; did you mean '-mstrict-align'? Compiler might not support -fcf-protection, retrying without it BUILDSTDERR: gcc: error: unrecognized command line option '-mstackrealign'; did you mean '-mstrict-align'? Compiler might not support -mstackrealign, retrying without it BUILDSTDERR: cc1: error: '-fcf-protection=full' is not supported for this target Compiler might not support either -fcf-protection or -mstackrealign, retrying without both Hardened: hardening-test.exe: pass: Dynamic segment is present. Hardened: hardening-test.exe: pass: -D_FORTIFY_SOURCE=2 specified. Hardened: hardening-test.exe: pass: Compiled with -D_GLIBCXX_ASSERTIONS. Hardened: hardening-test.exe: pass: Linked with -Wl,-z,relro. Hardened: hardening-test.exe: FAIL: Executable stack found ?. Hardened: hardening-test.exe: pass: Sufficient compiler optimization used. Hardened: hardening-test.exe: pass: Compiled with PIC/PIE. Hardened: hardening-test.exe: pass: DT_RPATH/DT_RUNPATH absent or rooted at /usr. Hardened: hardening-test.exe: pass: No RWX segments found. Hardened: hardening-test.exe: pass: Compiled with -fstack-clash-protection. Hardened: hardening-test.exe: pass: Strong stack protection is enabled. Hardened: hardening-test.exe: pass: No text relocations found. Hardened: hardening-test.exe: pass: No thread cancellation problems. Hardened: hardening-test.exe: pass: GOT/PLT relocations are read only. FAIL: hardening-test Hardened: hardening-fail-test.exe: MAYB: Gaps were detected in the annobin coverage. Run with -v to list. Hardened: hardening-fail-test.exe: FAIL: Not linked with -Wl,-z,now. Hardened: hardening-fail-test.exe: FAIL: -D_FORTIFY_SOURCE level too small. Hardened: hardening-fail-test.exe: FAIL: -D_GLIBCXX_ASSERTIONS not used. Hardened: hardening-fail-test.exe: FAIL: Executable stack found ?. Hardened: hardening-fail-test.exe: FAIL: Insufficient compiler optimization. Hardened: hardening-fail-test.exe: FAIL: Compiled without any PIC option. Hardened: hardening-fail-test.exe: FAIL: -fstack-clash-protection not used. Hardened: hardening-fail-test.exe: FAIL: Stack protection is insufficient. XFAIL: hardening-fail-test PASS: abi-test BUILDSTDERR: readelf: missing-notes-test.exe: Warning: Gap in build notes detected from 0x10517 to 0x1058b BUILDSTDERR: readelf: missing-notes-test.exe: Warning: Gap in build notes detected from 0x10605 to 0x1065f PASS: missing-notes-test BUILDSTDERR: /usr/bin/ld: Removing unused section '.sdata' in file '/lib64/lp64d/../lib64/lp64d/Scrt1.o' BUILDSTDERR: /usr/bin/ld: Removing unused section '.text.hotter' in file 'unused_code.o' BUILDSTDERR: /usr/bin/ld: Removing unused section '.text.foo' in file 'hello2.o' BUILDSTDERR: /usr/bin/ld: Removing unused section '.gnu.linkonce.t.linkonce_func_1' in file 'hello2.o' BUILDSTDERR: readelf: function-sections-test.exe: Warning: Gap in build notes detected from 0x593 to 0x61f BUILDSTDERR: readelf: function-sections-test.exe: Warning: Gap in build notes detected from 0x67d to 0x6cf BUILDSTDERR: readelf: function-sections-test.exe: Warning: Gap in build notes detected from 0x6d1 to 0x723 PASS: function-sections-test PASS: assembler-gap-test =================== 1 of 7 tests failed =================== make[2]: Leaving directory '/builddir/build/BUILD/annobin-8.10/tests' make[1]: Leaving directory '/builddir/build/BUILD/annobin-8.10/tests' BUILDSTDERR: make[2]: *** [Makefile:270: check-TESTS] Error 1 BUILDSTDERR: make[1]: *** [Makefile:362: check-am] Error 2 BUILDSTDERR: make: *** [Makefile:337: check-recursive] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.jzfvpR (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.jzfvpR (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/annobin.spec