Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcpuid.spec'], chrootPath='/var/lib/mock/f31-build-58442-28436/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcpuid.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548979200 Wrote: /builddir/build/SRPMS/libcpuid-0.4.0-7.20171023git2f10315.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcpuid.spec'], chrootPath='/var/lib/mock/f31-build-58442-28436/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcpuid.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548979200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GGml5L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965 + /usr/bin/gzip -dc /builddir/build/SOURCES/libcpuid-2f10315.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gKv4EP + umask 022 + cd /builddir/build/BUILD + cd libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965 + autoreconf -vfi BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force -I m4 BUILDSTDERR: aclocal: warning: couldn't open directory 'm4': No such file or directory BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: autoreconf: running: libtoolize --copy --force BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: running: /usr/bin/autoheader --force BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing BUILDSTDERR: configure.ac:37: installing './ar-lib' BUILDSTDERR: configure.ac:36: installing './compile' BUILDSTDERR: configure.ac:39: installing './config.guess' BUILDSTDERR: configure.ac:39: installing './config.sub' BUILDSTDERR: configure.ac:5: installing './install-sh' BUILDSTDERR: configure.ac:5: installing './missing' BUILDSTDERR: cpuid_tool/Makefile.am: installing './depcomp' BUILDSTDERR: autoreconf: Leaving directory `.' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 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"~' ./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 --disable-static libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for riscv64-koji-linux-gnu-ar... no checking for riscv64-koji-linux-gnu-lib... no checking for riscv64-koji-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for an ANSI C-conforming const... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes BUILDSTDERR: checking if gcc static flag+ /usr/bin/make -O -j4 V=1 VERBOSE=1 -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for stdint.h... (cached) yes checking for doxygen... doxygen checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libcpuid.pc config.status: creating libcpuid/Makefile config.status: creating cpuid_tool/Makefile config.status: creating tests/Makefile config.status: creating libcpuid/Doxyfile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands /usr/bin/make all-recursive Making all in libcpuid make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rdtsc.lo rdtsc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c rdtsc.c -fPIC -DPIC -o .libs/rdtsc.o make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o recog_amd.lo recog_amd.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c recog_amd.c -fPIC -DPIC -o .libs/recog_amd.o make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o asm-bits.lo asm-bits.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c asm-bits.c -fPIC -DPIC -o .libs/asm-bits.o make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpuid_main.lo cpuid_main.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c cpuid_main.c -fPIC -DPIC -o .libs/cpuid_main.o make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o recog_intel.lo recog_intel.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c recog_intel.c -fPIC -DPIC -o .libs/recog_intel.o make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o msrdriver.lo msrdriver.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c msrdriver.c -fPIC -DPIC -o .libs/msrdriver.o make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libcpuid_util.lo libcpuid_util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c libcpuid_util.c -fPIC -DPIC -o .libs/libcpuid_util.o make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rdmsr.lo rdmsr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -Wmissing-declarations -Wmissing-prototypes -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c rdmsr.c -fPIC -DPIC -o .libs/rdmsr.o make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' doxygen Doxyfile Notice: Output directory `docs' does not exist. I have created it for you. Searching for include files... Searching for example files... Searching for images... Searching for dot files... Searching for msc files... Searching for dia files... Searching for files to exclude Searching INPUT for files to process... Searching for files in directory /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid Reading and parsing tag files Parsing files Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/amd_code_t.h... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/amd_code_t.h... Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/asm-bits.h... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/asm-bits.h... Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/intel_code_t.h... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/intel_code_t.h... Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid.h... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid.h... Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid_constants.h... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid_constants.h... Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid_internal.h... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid_internal.h... Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid_types.h... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid_types.h... Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid_util.h... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid_util.h... Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/rdtsc.h... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/rdtsc.h... Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/recog_amd.h... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/recog_amd.h... Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/recog_intel.h... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/recog_intel.h... Preprocessing /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/cpuid_tool/cpuid_tool.c... Parsing file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/cpuid_tool/cpuid_tool.c... Building group list... Building directory list... Building namespace list... Building file list... Building class list... Associating documentation with classes... Computing nesting relations for classes... Building example list... Searching for enumerations... Searching for documented typedefs... Searching for members imported via using declarations... Searching for included using directives... Searching for documented variables... Building interface member list... Building member list... Searching for friends... Searching for documented defines... Computing class inheritance relations... Computing class usage relations... Flushing cached template relations that have become invalid... Computing class relations... Add enum values to enums... Searching for member function documentation... Creating members for template instances... Building page list... Search for main page... Computing page relations... Determining the scope of groups... Sorting lists... Freeing entry tree Determining which enums are documented Computing member relations... Building full member lists recursively... Adding members to member groups. Computing member references... Inheriting documentation... Generating disk names... Adding source references... Adding xrefitems... Sorting member lists... Computing dependencies between directories... Generating citations page... Counting data structures... Resolving user defined references... Finding anchors and sections in the documentation... Transferring function references... Combining using relations... Adding members to index pages... Generating style sheet... Generating search indices... Generating example documentation... Generating file sources... Parsing code for file /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/cpuid_tool/cpuid_tool.c... Generating code for file amd_code_t.h... Generating code for file asm-bits.h... Generating code for file intel_code_t.h... Generating code for file libcpuid.h... Generating code for file libcpuid_constants.h... Generating code for file libcpuid_internal.h... Generating code for file libcpuid_types.h... Generating code for file libcpuid_util.h... Generating code for file rdtsc.h... Generating code for file recog_amd.h... Generating code for file recog_intel.h... Generating file documentation... Generating docs for file libcpuid.h... Generating page documentation... Generating docs for page cpuid_tool... Generating group documentation... Generating class documentation... Generating docs for compound cpu_epc_t... Generating docs for compound cpu_id_t... Generating docs for compound cpu_list_t... Generating docs for compound cpu_mark_t... Generating docs for compound cpu_raw_data_t... Generating docs for compound cpu_sgx_t... Generating docs for compound feature_map_t... Generating docs for compound internal_id_info_t... BUILDSTDERR: Generating docs for compound/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid.h:1110: warning: argument 'data' of command @param is not found in the argument list of msr_serialize_raw_data(struct msr_driver_t *handle, const char *filename) BUILDSTDERR: /builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid/libcpuid.h:1126: warning: The following parameters of msr_serialize_raw_data(struct msr_driver_t *handle, const char *filename) are not documented: BUILDSTDERR: parameter 'handle' match_entry_t... Generating namespace index... Generating graph info page... Generating directory documentation... Generating index page... Generating page index... Generating module index... Generating namespace index... Generating namespace member index... Generating annotated compound index... Generating alphabetical compound index... Generating hierarchical class index... Generating member index... Generating file index... Generating file member index... Generating example index... finalizing index lists... writing tag file... lookup cache used 380/65536 hits=1707 misses=383 finished... echo Timestamp > doxyfile.stamp make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -export-symbols ./libcpuid.sym -no-undefined -version-info 14:0:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libcpuid.la -rpath /usr/lib64 cpuid_main.lo recog_intel.lo recog_amd.lo rdtsc.lo asm-bits.lo libcpuid_util.lo rdmsr.lo msrdriver.lo libtool: link: echo "{ global:" > .libs/libcpuid.ver libtool: link: cat ./libcpuid.sym | sed -e "s/\(.*\)/\1;/" >> .libs/libcpuid.ver libtool: link: echo "local: *; };" >> .libs/libcpuid.ver libtool: link: gcc -shared -fPIC -DPIC .libs/cpuid_main.o .libs/recog_intel.o .libs/recog_amd.o .libs/rdtsc.o .libs/asm-bits.o .libs/libcpuid_util.o .libs/rdmsr.o .libs/msrdriver.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libcpuid.so.14 -Wl,-version-script -Wl,.libs/libcpuid.ver -o .libs/libcpuid.so.14.0.0 libtool: link: (cd ".libs" && rm -f "libcpuid.so.14" && ln -s "libcpuid.so.14.0.0" "libcpuid.so.14") libtool: link: (cd ".libs" && rm -f "libcpuid.so" && ln -s "libcpuid.so.14.0.0" "libcpuid.so") libtool: link: ( cd ".libs" && rm -f "libcpuid.la" && ln -s "../libcpuid.la" "libcpuid.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/libcpuid' Making all in cpuid_tool make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/cpuid_tool' gcc -DHAVE_CONFIG_H -I. -I.. -I../libcpuid -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cpuid_tool.o cpuid_tool.c make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/cpuid_tool' make[2]: Entering directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/cpuid_tool' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Wall -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o cpuid_tool cpuid_tool.o ../libcpuid/libcpuid.la BUILDSTDERR: libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_/usr/bin/ld: ../libcpuid/.libs/libcpuid.so: undefined reference to `cpu_rdtsc' BUILDSTDERR: /usr/bin/ld: ../libcpuid/.libs/libcpuid.so: undefined reference to `busy_sse_loop' BUILDSTDERR: /usr/bin/ld: ../libcpuid/.libs/libcpuid.so: undefined reference to `exec_cpuid' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [Makefile:389: cpuid_tool] Error 1 BUILDSTDERR: make[1]: *** [Makefile:459: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:368: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.gKv4EP (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.gKv4EP (%build) ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Wall -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/cpuid_tool cpuid_tool.o ../libcpuid/.libs/libcpuid.so make[2]: Leaving directory '/builddir/build/BUILD/libcpuid-2f1031543caac4b4d2ebc3d7bea3dabf09f10965/cpuid_tool' RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, 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/libcpuid.spec