Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libmbim.spec'], chrootPath='/var/lib/mock/f30-build-37306-21326/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libmbim.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 Wrote: /builddir/build/SRPMS/libmbim-1.16.0-3.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libmbim.spec'], chrootPath='/var/lib/mock/f30-build-37306-21326/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libmbim.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bdqs4S + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libmbim-1.16.0 + /usr/bin/xz -dc /builddir/build/SOURCES/libmbim-1.16.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libmbim-1.16.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KOb3iG + umask 022 + cd /builddir/build/BUILD + cd libmbim-1.16.0 + 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.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 '/usr/lib/rpm/redhat/config.sub' -> './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 '/usr/lib/rpm/redhat/config.guess' -> './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"~' ./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 --enable-gtk-doc 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 UID '996' is supported by ustar format... yes checking whether GID '135' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... 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 for style of include used by make... GNU checking dependency style of gcc... none 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... no checking for 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 checking if gcc static flag -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 more warnings... yes checking whether gcc understands -Wmissing-declarations... yes checking whether gcc understands -Wmissing-prototypes... yes checking whether gcc understands -Wdeclaration-after-statement... yes checking whether gcc understands -Wstrict-prototypes... yes checking whether gcc understands -fno-strict-aliasing... yes checking whether gcc understands -Wno-deprecated-declarations... yes checking whether gcc understands -Wint-to-pointer-cast... yes checking whether gcc understands -Wfloat-equal... yes checking whether gcc understands -Wno-unused-parameter... yes checking whether gcc understands -Wno-sign-compare... yes checking whether gcc understands -Wunused-but-set-variable... yes checking whether gcc understands -Wundef... yes checking whether gcc understands -Wimplicit-function-declaration... yes checking whether gcc understands -Wpointer-arith... yes checking whether gcc understands -Winit-self... yes checking whether gcc understands -Wshadow... yes checking whether gcc understands -Wmissing-include-dirs... yes checking whether gcc understands -Waggregate-return... yes checking whether gcc understands -Wformat-security... yes checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for glib-2.0 >= 2.36... yes checking for glib-2.0 >= 2.36 gobject-2.0 gio-2.0 gio-unix-2.0... yes checking for glib-2.0 >= 2.36 gobject-2.0 gio-2.0... yes checking for glib-2.0 >= 2.36 gobject-2.0 gio-2.0... yes checking for gtk-doc... yes checking for gtkdoc-check... gtkdoc-check.test checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf checking whether to build gtk-doc documentation... yes checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0... yes checking for gudev-1.0 >= 147... yes checking for help2man... false checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating build-aux/Makefile config.status: creating build-aux/templates/Makefile config.status: creating build-aux/mbim-codegen/Makefile config.status: creating data/Makefile config.status: creating data/pkg-config/Makefile config.status: creating data/pkg-config/mbim-glib.pc config.status: creating src/Makefile config.status: creating src/common/Makefile config.status: creating src/common/test/Makefile config.status: creating src/libmbim-glib/Makefile config.status: creating src/libmbim-glib/mbim-version.h config.status: creating src/libmbim-glib/generated/Makefile config.status: creating src/libmbim-glib/test/Makefile config.status: creating src/mbimcli/Makefile config.status: creating src/mbim-proxy/Makefile config.status: creating utils/Makefile config.status: creating docs/Makefile config.status: creating docs/reference/Makefile config.status: creating docs/reference/libmbim-glib/Makefile config.status: creating docs/reference/libmbim-glib/version.xml config.status: creating docs/man/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands libmbim 1.16.0 ============================================== Build: compiler: gcc cflags: -Wall -std=gnu89 -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 -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wstrict-prototypes -fno-strict-aliasing -Wno-deprecated-declarations -Wint-to-pointer-cast -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -Wunused-but-set-variable -Wundef -Wimplicit-function-declaration -Wpointer-arith -Winit-self -Wshadow -Wmissing-include-dirs -Waggregate-return -Wformat-security -Werror ldflags: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld Maintainer mode: yes Documentation: yes System paths: prefix: /usr udev base directory: /lib/udev Features: udev support: yes MBIM username: no (root) + V=1 + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0' Making all in . make[2]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0' make[2]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0' Making all in build-aux make[2]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/build-aux' Making all in templates make[3]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/build-aux/templates' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/build-aux/templates' Making all in mbim-codegen make[3]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/build-aux/mbim-codegen' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/build-aux/mbim-codegen' make[3]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/build-aux' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/build-aux' make[2]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/build-aux' Making all in data make[2]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/data' Making all in . make[3]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/data' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/data' Making all in pkg-config make[3]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/data/pkg-config' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/data/pkg-config' make[2]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/data' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/src' Making all in common make[3]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/src/common' Making all in . make[4]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/src/common' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../.. -I../.. -I../../src/common -Wall -std=gnu89 -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 -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wstrict-prototypes -fno-strict-aliasing -Wno-deprecated-declarations -Wint-to-pointer-cast -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -Wunused-but-set-variable -Wundef -Wimplicit-function-declaration -Wpointer-arith -Winit-self -Wshadow -Wmissing-include-dirs -Waggregate-return -Wformat-security -Werror -c -o libmbim_common_la-mbim-common.lo `test -f 'mbim-common.c' || echo './'`mbim-common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../.. -I../.. -I../../src/common -Wall -std=gnu89 -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 -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wstrict-prototypes -fno-strict-aliasing -Wno-deprecated-declarations -Wint-to-pointer-cast -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -Wunused-but-set-variable -Wundef -Wimplicit-function-declaration -Wpointer-arith -Winit-self -Wshadow -Wmissing-include-dirs -Waggregate-return -Wformat-security -Werror -c mbim-common.c -fPIC -DPIC -o .libs/libmbim_common_la-mbim-common.o /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -std=gnu89 -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 -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wstrict-prototypes -fno-strict-aliasing -Wno-deprecated-declarations -Wint-to-pointer-cast -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -Wunused-but-set-variable -Wundef -Wimplicit-function-declaration -Wpointer-arith -Winit-self -Wshadow -Wmissing-include-dirs -Waggregate-return -Wformat-security -Werror -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libmbim-common.la libmbim_common_la-mbim-common.lo -lglib-2.0 libtool: link: ar cr .libs/libmbim-common.a .libs/libmbim_common_la-mbim-common.o libtool: link: ranlib .libs/libmbim-common.a libtool: link: ( cd ".libs" && rm -f "libmbim-common.la" && ln -s "../libmbim-common.la" "libmbim-common.la" ) make[4]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/src/common' Making all in test make[4]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/src/common/test' gcc -DHAVE_CONFIG_H -I. -I../../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../.. -I../../.. -I../../../src/common -Wall -std=gnu89 -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 -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wstrict-prototypes -fno-strict-aliasing -Wno-deprecated-declarations -Wint-to-pointer-cast -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -Wunused-but-set-variable -Wundef -Wimplicit-function-declaration -Wpointer-arith -Winit-self -Wshadow -Wmissing-include-dirs -Waggregate-return -Wformat-security -Werror -c -o test_common-test-common.o `test -f 'test-common.c' || echo './'`test-common.c /bin/sh ../../../libtool --tag=CC --mode=link gcc -Wall -std=gnu89 -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 -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wstrict-prototypes -fno-strict-aliasing -Wno-deprecated-declarations -Wint-to-pointer-cast -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -Wunused-but-set-variable -Wundef -Wimplicit-function-declaration -Wpointer-arith -Winit-self -Wshadow -Wmissing-include-dirs -Waggregate-return -Wformat-security -Werror -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test-common test_common-test-common.o ../../../src/common/libmbim-common.la -lglib-2.0 libtool: link: gcc -Wall -std=gnu89 -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 -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wstrict-prototypes -fno-strict-aliasing -Wno-deprecated-declarations -Wint-to-pointer-cast -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -Wunused-but-set-variable -Wundef -Wimplicit-function-declaration -Wpointer-arith -Winit-self -Wshadow -Wmissing-include-dirs -Waggregate-return -Wformat-security -Werror -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test-common test_common-test-common.o ../../../src/common/.libs/libmbim-common.a -lglib-2.0 make[4]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/src/common/test' make[3]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/src/common' Making all in libmbim-glib make[3]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/src/libmbim-glib' Making all in generated make[4]: Entering directory '/builddir/build/BUILD/libmbim-1.16.0/src/libmbim-glib/generated' /usr/bin/glib-mkenums \ --fhead "#ifndef __LIBMBIM_GLIB_ERROR_TYPES_H__\n#define __LIBMBIM_GLIB_ERROR_TYPES_H__\n#include \"mbim-errors.h\"\n" \ --template ../../../build-aux/templates/mbim-error-types-template.h \ --ftail "#endif /* __LIBMBIM_GLIB_ERROR_TYPES_H__ */\n" \ ../../../src/libmbim-glib/mbim-errors.h > mbim-error-types.h /usr/bin/glib-mkenums \ --fhead "#ifndef __LIBMBIM_GLIB_ENUM_TYPES_H__\n#define __LIBMBIM_GLIB_ENUM_TYPES_H__\n#include \"mbim-uuid.h\"\n#include \"mbim-cid.h\"\n#include \"mbim-message.h\"\n#include \"mbim-enums.h\"\n" \ --template ../../../build-aux/templates/mbim-enum-types-template.h \ --ftail "#endif /* __LIBMBIM_GLIB_ENUM_TYPES_H__ */\n" \ ../../../src/libmbim-glib/mbim-uuid.h ../../../src/libmbim-glib/mbim-cid.h ../../../src/libmbim-glib/mbim-message.h ../../../src/libmbim-glib/mbim-enums.h > mbim-enum-types.h \ rm -f mbim-basic-connect.h && \ rm -f mbim-basic-connect.c && \ ../../../build-aux/mbim-codegen/mbim-codegen \ --input ../../../data/mbim-service-basic-connect.json \ --output mbim-basic-connect \ rm -f mbim-sms.h && \ rm -f mbim-sms.c && \ ../../../build-aux/mbim-codegen/mbim-codegen \ --input ../../../data/mbim-service-sms.json \ --output mbim-sms BUILDSTDERR: /usr/bin/env: 'python': No such file or directory BUILDSTDERR: make[4]: *** [Makefile:939: mbim-sms.h] Error 127 BUILDSTDERR: make[4]: *** Waiting for unfinished jobs.... BUILDSTDERR: /usr/bin/env: 'python': No such file or directory BUILDSTDERR: make[4]: *** [Makefile:930: mbim-basic-connect.h] Error 127 make[4]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/src/libmbim-glib/generated' make[3]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/src/libmbim-glib' BUILDSTDERR: make[3]: *** [Makefile:693: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0/src' BUILDSTDERR: make[2]: *** [Makefile:380: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libmbim-1.16.0' BUILDSTDERR: make[1]: *** [Makefile:435: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:367: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.KOb3iG (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.KOb3iG (%build) 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 636, 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/libmbim.spec