Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/devtoolset-9-annobin-8.79-2.el7-20200212120834-2855/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/annobin.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: /opt/rh/devtoolset-9/root/usr/bin/gcc: No such file or directory sh: /opt/rh/devtoolset-9/root/usr/bin/gcc: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/devtoolset-9-annobin-8.79-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/devtoolset-9-annobin-8.79-2.el7-20200212120834-2855/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/annobin.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.btAl24 + umask 022 + cd /builddir/build/BUILD + '[' -z 9.1.1-2 ']' + echo 'Requires: (devtoolset-9-gcc >= 9 with devtoolset-9-gcc < 10)' Requires: (devtoolset-9-gcc >= 9 with devtoolset-9-gcc < 10) + cd /builddir/build/BUILD + rm -rf annobin-8.79 + /usr/bin/xz -dc /builddir/build/SOURCES/annobin-8.79.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd annobin-8.79 + /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.9HwnPb + umask 022 + cd /builddir/build/BUILD + cd annobin-8.79 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/opt/rh/devtoolset-9/root/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/opt/rh/devtoolset-9/root/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./plugin/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./plugin/config.guess ++ 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 . -name config.guess -o -name config.sub)' ++ basename ./plugin/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./plugin/config.sub ++ 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 . -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' + for i in '$(find . -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' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/devtoolset-9/root/usr --exec-prefix=/opt/rh/devtoolset-9/root/usr --bindir=/opt/rh/devtoolset-9/root/usr/bin --sbindir=/opt/rh/devtoolset-9/root/usr/sbin --sysconfdir=/opt/rh/devtoolset-9/root/etc --datadir=/opt/rh/devtoolset-9/root/usr/share --includedir=/opt/rh/devtoolset-9/root/usr/include --libdir=/opt/rh/devtoolset-9/root/usr/lib64 --libexecdir=/opt/rh/devtoolset-9/root/usr/libexec --localstatedir=/opt/rh/devtoolset-9/root/var --sharedstatedir=/opt/rh/devtoolset-9/root/var/lib --mandir=/opt/rh/devtoolset-9/root/usr/share/man --infodir=/opt/rh/devtoolset-9/root/usr/share/info --quiet --with-gcc-plugin-dir=/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin CC=/opt/rh/devtoolset-9/root/usr/bin/gcc CXX=/opt/rh/devtoolset-9/root/usr/bin/g++ + /usr/bin/make -j40 Making all in plugin make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/plugin' /usr/bin/make all-am make[2]: Entering directory `/builddir/build/BUILD/annobin-8.79/plugin' /bin/sh ../libtool --tag=CXX --mode=compile /opt/rh/devtoolset-9/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o annobin.lo annobin.cc /bin/sh ../libtool --tag=CXX --mode=compile /opt/rh/devtoolset-9/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o x86_64.annobin.lo x86_64.annobin.cc libtool: compile: /opt/rh/devtoolset-9/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c annobin.cc -fPIC -DPIC -o .libs/annobin.o libtool: compile: /opt/rh/devtoolset-9/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c x86_64.annobin.cc -fPIC -DPIC -o .libs/x86_64.annobin.o /bin/sh ../libtool --tag=CXX --mode=link /opt/rh/devtoolset-9/root/usr/bin/g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -module -o annobin.la -rpath /opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin annobin.lo x86_64.annobin.lo libtool: link: /opt/rh/devtoolset-9/root/usr/bin/g++ -fPIC -DPIC -shared -nostdlib /lib/../lib64/crti.o /opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/crtbeginS.o .libs/annobin.o .libs/x86_64.annobin.o -L/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9 -L/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/../../.. -lstdc++ -lm -lc -lgcc_s /opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/crtendS.o /lib/../lib64/crtn.o -O2 -g -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -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.79/plugin' make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/plugin' Making all in scripts make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/scripts' Making all in doc make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/doc' Making all in tests make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/tests' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/tests' Making all in annocheck make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/annocheck' /opt/rh/devtoolset-9/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o annocheck-annocheck.o `test -f 'annocheck.c' || echo './'`annocheck.c /opt/rh/devtoolset-9/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o annocheck-timing.o `test -f 'timing.c' || echo './'`timing.c /opt/rh/devtoolset-9/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o annocheck-size.o `test -f 'size.c' || echo './'`size.c /opt/rh/devtoolset-9/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o annocheck-notes.o `test -f 'notes.c' || echo './'`notes.c /opt/rh/devtoolset-9/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o annocheck-hardened.o `test -f 'hardened.c' || echo './'`hardened.c /opt/rh/devtoolset-9/root/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../plugin -I'..' -I'..' -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o annocheck-built-by.o `test -f 'built-by.c' || echo './'`built-by.c /bin/sh ../libtool --tag=CC --mode=link /opt/rh/devtoolset-9/root/usr/bin/gcc -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -o annocheck annocheck-annocheck.o annocheck-timing.o annocheck-size.o annocheck-notes.o annocheck-hardened.o annocheck-built-by.o -lelf -ldw -lrpm -lrpmio -liberty libtool: link: /opt/rh/devtoolset-9/root/usr/bin/gcc -O2 -ansi -g -Wall -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o annocheck annocheck-annocheck.o annocheck-timing.o annocheck-size.o annocheck-notes.o annocheck-hardened.o annocheck-built-by.o -lelf -ldw -lrpm -lrpmio -liberty make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/annocheck' make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79' + 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.79/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.79/plugin' + BUILD_FLAGS='-fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename' + BUILD_FLAGS='-fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -fplugin-arg-tmp_annobin-no-attach' + make -C plugin 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -fplugin-arg-tmp_annobin-no-attach' make: Entering directory `/builddir/build/BUILD/annobin-8.79/plugin' make all-am make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/plugin' /bin/sh ../libtool --tag=CXX --mode=compile /opt/rh/devtoolset-9/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -fplugin-arg-tmp_annobin-no-attach -c -o annobin.lo annobin.cc libtool: compile: /opt/rh/devtoolset-9/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -fplugin-arg-tmp_annobin-no-attach -c annobin.cc -fPIC -DPIC -o .libs/annobin.o /bin/sh ../libtool --tag=CXX --mode=compile /opt/rh/devtoolset-9/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -fplugin-arg-tmp_annobin-no-attach -c -o x86_64.annobin.lo x86_64.annobin.cc libtool: compile: /opt/rh/devtoolset-9/root/usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -fplugin-arg-tmp_annobin-no-attach -c x86_64.annobin.cc -fPIC -DPIC -o .libs/x86_64.annobin.o /bin/sh ../libtool --tag=CXX --mode=link /opt/rh/devtoolset-9/root/usr/bin/g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fplugin=/var/tmp/tmp_annobin.so -fplugin-arg-tmp_annobin-rename -fplugin-arg-tmp_annobin-no-attach -module -o annobin.la -rpath /opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin annobin.lo x86_64.annobin.lo libtool: link: /opt/rh/devtoolset-9/root/usr/bin/g++ -fPIC -DPIC -shared -nostdlib /lib/../lib64/crti.o /opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/crtbeginS.o .libs/annobin.o .libs/x86_64.annobin.o -L/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9 -L/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/../../.. -lstdc++ -lm -lc -lgcc_s /opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/crtendS.o /lib/../lib64/crtn.o -O2 -g -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -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.79/plugin' make: Leaving directory `/builddir/build/BUILD/annobin-8.79/plugin' + rm /var/tmp/tmp_annobin.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.e4IBWz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64 + cd annobin-8.79 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64 Making install in plugin make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/plugin' make[2]: Entering directory `/builddir/build/BUILD/annobin-8.79/plugin' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin' /bin/sh ../libtool --mode=install /usr/bin/install -c annobin.la '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin' libtool: install: /usr/bin/install -c .libs/annobin.so.0.0.0 /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/annobin.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/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/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/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 -c .libs/annobin.lai /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/annobin.la libtool: warning: remember to run 'libtool --finish /opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin' /usr/bin/make install-data-hook make[3]: Entering directory `/builddir/build/BUILD/annobin-8.79/plugin' rm -f '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/annobin.la' make[3]: Leaving directory `/builddir/build/BUILD/annobin-8.79/plugin' make[2]: Leaving directory `/builddir/build/BUILD/annobin-8.79/plugin' make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/plugin' Making install in scripts make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/scripts' make[2]: Entering directory `/builddir/build/BUILD/annobin-8.79/scripts' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/bin' /usr/bin/install -c built-by check-abi hardened run-on-binaries-in '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/bin' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/annobin-8.79/scripts' make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/scripts' Making install in doc make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/doc' make[2]: Entering directory `/builddir/build/BUILD/annobin-8.79/doc' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/doc/annobin-plugin' /usr/bin/install -c -m 644 annotation.proposal.txt '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/doc/annobin-plugin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/info' /usr/bin/install -c -m 644 ./annobin.info '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/info' '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/info/annobin.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/man/man1' /usr/bin/install -c -m 644 annobin.1 built-by.1 check-abi.1 hardened.1 run-on-binaries-in.1 annocheck.1 '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/man/man1' make[2]: Leaving directory `/builddir/build/BUILD/annobin-8.79/doc' make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/doc' Making install in tests make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/tests' make[2]: Entering directory `/builddir/build/BUILD/annobin-8.79/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.79/tests' make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/tests' Making install in annocheck make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/annocheck' make[2]: Entering directory `/builddir/build/BUILD/annobin-8.79/annocheck' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c annocheck '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/bin' libtool: install: /usr/bin/install -c annocheck /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/bin/annocheck make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/annobin-8.79/annocheck' make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/annocheck' make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79' make[2]: Entering directory `/builddir/build/BUILD/annobin-8.79' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/doc/annobin-plugin' /usr/bin/install -c -m 644 LICENSE COPYING3 '/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/doc/annobin-plugin' make[2]: Leaving directory `/builddir/build/BUILD/annobin-8.79' make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79' + /usr/bin/rm -f /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/annobin-8.79 extracting debug info from /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/bin/annocheck extracting debug info from /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/annobin.so.0.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/annobin.so.0.0.0.debug to /usr/lib/debug/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/annobin.so.0.debug symlinked /usr/lib/debug/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/annobin.so.0.0.0.debug to /usr/lib/debug/opt/rh/devtoolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/annobin.so.debug 509 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/devtoolset-9/root + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /opt/rh/devtoolset-9/root/usr/bin/python3 1 /opt/rh/devtoolset-9/root + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6mwuGZ + umask 022 + cd /builddir/build/BUILD + cd annobin-8.79 + make check GCC=/opt/rh/devtoolset-9/root/usr/bin/gcc Making check in plugin make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/plugin' make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/plugin' Making check in scripts make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/scripts' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/scripts' Making check in doc make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/doc' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/doc' Making check in tests make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/tests' make check-TESTS make[2]: Entering directory `/builddir/build/BUILD/annobin-8.79/tests' make[3]: Entering directory `/builddir/build/BUILD/annobin-8.79/tests' PASS: compile-test PASS: hardening-test XFAIL: hardening-fail-test XFAIL: missing-notes-test XFAIL: active-checks-test PASS: abi-test PASS: function-sections-test PASS: assembler-gap-test PASS: dynamic-notes-test PASS: section-size-test ============================================================================ Testsuite summary for Binary Annotations 8.6 ============================================================================ # TOTAL: 10 # PASS: 7 # SKIP: 0 # XFAIL: 3 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory `/builddir/build/BUILD/annobin-8.79/tests' make[2]: Leaving directory `/builddir/build/BUILD/annobin-8.79/tests' make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/tests' Making check in annocheck make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79/annocheck' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79/annocheck' make[1]: Entering directory `/builddir/build/BUILD/annobin-8.79' make[1]: Nothing to be done for `check-am'. make[1]: Leaving directory `/builddir/build/BUILD/annobin-8.79' + '[' -f tests/test-suite.log ']' + cat tests/test-suite.log ================================================== Binary Annotations 8.6: tests/test-suite.log ================================================== # TOTAL: 10 # PASS: 7 # SKIP: 0 # XFAIL: 3 # FAIL: 0 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 XFAIL: hardening-fail-test ========================== annocheck: Version 8.79. Hardened: hardening-fail-test.exe: FAIL: Not linked with -Wl,-z,now. Hardened: hardening-fail-test.exe: FAIL: The binary was compiled without sufficient -fcf-protection. Hardened: hardening-fail-test.exe: FAIL: Entry point instruction is not ENDBR64. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without -D_FORTIFY_SOURCE=2. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without -D_GLIBCXX_ASSRTIONS. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Not linked with -Wl,-z,relro. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without sufficient optimization. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Not linked as a position independent executable (ie need to add '-pie' to link command line). Hardened: hardening-fail-test.exe: FAIL: Linked with different -fshort-enum settings. Run with -v to see where. Hardened: hardening-fail-test.exe: FAIL: Parts of the binary were compiled without suffcient stack protection. Run with -v to see where. XFAIL hardening-fail-test (exit status: 1) XFAIL: missing-notes-test ========================= annocheck: Version 8.79. Hardened: missing-notes-test.exe: binary producer gcc version 4. Hardened: missing-notes-test.exe: Warning: Multiple versions of a tool were used to build this file (9 4) - using highest version. Hardened: missing-notes-test.exe: gap: (11e0..1290 probable component: foo) in annobin notes. Hardened: missing-notes-test.exe: FAIL: Gaps were detected in the annobin coverage. Hardened: missing-notes-test.exe: PASS: Linked with -Wl,-z,now. Hardened: missing-notes-test.exe: PASS: Compiled with -fcf-protection. Hardened: missing-notes-test.exe: PASS: One dynamic section/segment found. Hardened: missing-notes-test.exe: FAIL: Entry point instruction is not ENDBR64. Hardened: missing-notes-test.exe: (Entry Address: 0x10ba. Bytes at this address: 31 ed 49 89). Hardened: missing-notes-test.exe: PASS: Compiled with -D_FORTIFY_SOURCE=2. Hardened: missing-notes-test.exe: PASS: Compiled with -D_GLIBCXX_ASSERTIONS. Hardened: missing-notes-test.exe: PASS: Linked with -Wl,-z,relro. Hardened: missing-notes-test.exe: PASS: Stack not executable. Hardened: missing-notes-test.exe: PASS: Compiled with sufficient optimization. Hardened: missing-notes-test.exe: PASS: Compiled with PIC/PIE. Hardened: missing-notes-test.exe: PASS: Compiled as a position independent binary. Hardened: missing-notes-test.exe: FAIL: Control flow protection has been enabled for only some parts of the binary. Other parts (probably assembler sources) are missing the protection, and without it global control flow protection cannot be enabled.. Hardened: missing-notes-test.exe: PASS: DT_RPATH/DT_RUNPATH absent or rooted at /usr. Hardened: missing-notes-test.exe: PASS: No RWX segments found. Hardened: missing-notes-test.exe: PASS: Consistent use of the -fshort-enum option. Hardened: missing-notes-test.exe: PASS: Compiled with -fstack-clash-protection. Hardened: missing-notes-test.exe: PASS: Compiled with sufficient stack protection. Hardened: missing-notes-test.exe: skip: Test for stack realignment support. (Only needed on i686 binaries). Hardened: missing-notes-test.exe: PASS: No text relocations found. Hardened: missing-notes-test.exe: PASS: No thread cancellation problems. Hardened: missing-notes-test.exe: PASS: GOT/PLT relocations are read only. XFAIL missing-notes-test (exit status: 1) XFAIL: active-checks-test ========================= ./hello.c:1: error: optimization level is too low! 1 | #include | XFAIL active-checks-test (exit status: 1) Processing files: devtoolset-9-annobin-8.79-2.el7.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.meQVFs + exit 0 + umask 022 + cd /builddir/build/BUILD + cd annobin-8.79 + LICENSEDIR=/builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/licenses/devtoolset-9-annobin-8.79 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/licenses/devtoolset-9-annobin-8.79 + cp -pr COPYING3 /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/licenses/devtoolset-9-annobin-8.79 + cp -pr LICENSE /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64/opt/rh/devtoolset-9/root/usr/share/licenses/devtoolset-9-annobin-8.79 + exit 0 Provides: devtoolset-9-annobin = 8.79-2.el7 devtoolset-9-annobin(x86-64) = 8.79-2.el7 scl-package(devtoolset-9) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash devtoolset-9-runtime libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: devtoolset-9-annobin-annocheck-8.79-2.el7.x86_64 Provides: devtoolset-9-annobin-annocheck = 8.79-2.el7 devtoolset-9-annobin-annocheck(x86-64) = 8.79-2.el7 scl-package(devtoolset-9) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devtoolset-9-runtime libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libdw.so.1()(64bit) libdw.so.1(ELFUTILS_0.122)(64bit) libdw.so.1(ELFUTILS_0.126)(64bit) libdw.so.1(ELFUTILS_0.159)(64bit) libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(64bit) libelf.so.1(ELFUTILS_1.3)(64bit) libelf.so.1(ELFUTILS_1.5)(64bit) libelf.so.1(ELFUTILS_1.6)(64bit) librpm.so.3()(64bit) librpmio.so.3()(64bit) rtld(GNU_HASH) Processing files: devtoolset-9-annobin-debuginfo-8.79-2.el7.x86_64 Provides: scl-package(devtoolset-9) devtoolset-9-annobin-debuginfo = 8.79-2.el7 devtoolset-9-annobin-debuginfo(x86-64) = 8.79-2.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64 Wrote: /builddir/build/RPMS/devtoolset-9-annobin-8.79-2.el7.x86_64.rpm Wrote: /builddir/build/RPMS/devtoolset-9-annobin-annocheck-8.79-2.el7.x86_64.rpm Wrote: /builddir/build/RPMS/devtoolset-9-annobin-debuginfo-8.79-2.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aky0Lm + umask 022 + cd /builddir/build/BUILD + cd annobin-8.79 + /usr/bin/rm -rf /builddir/build/BUILDROOT/devtoolset-9-annobin-8.79-2.el7.x86_64 + exit 0 Child return code was: 0