Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perdition.spec'], chrootPath='/var/lib/mock/f29-build-28646-15351/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perdition.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/perdition-2.1-7.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perdition.spec'], chrootPath='/var/lib/mock/f29-build-28646-15351/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perdition.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.KMlAHc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf perdition-2.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/perdition-2.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd perdition-2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (perdition-1.19-rc5-const-version.patch):' Patch #0 (perdition-1.19-rc5-const-version.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .const --fuzz=0 patching file makegdbm/options.h patching file perdition/db/gdbm/perditiondb_gdbm.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9oehpX + umask 022 + cd /builddir/build/BUILD + cd perdition-2.1 + 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 -I/usr/kerberos/include' + export CFLAGS + '[' -f configure.in ']' + 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 -I/usr/kerberos/include' + 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,-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-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info riscv64-redhat-linux-gnu --with-ldap-schema-directory=/etc/openldap/schema --enable-shared BUILDSTDERR: configure: WARNING: you should use --build, --host, --target 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 for riscv64-redhat-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-redhat-linux-gnu checking host system type... riscv64-redhat-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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-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-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-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 riscv64-redhat-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... yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... (cached) yes checking for struct sockaddr.sa_len... no checking for dlopen in -ldl... yes checking for yp_match in -lnsl... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for crypt in -lcrypt... yes checking for poptGetContext in -lpopt... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for VANESSA_LOGGER... yes checking for vanessa_queue_create in -lvanessa_adt... yes checking for VANESSA_SOCKET... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for LIBIDN... yes checking if SSL/TLS support has been disabled... "no" checking OpenSSL include path... /usr/include checking OpenSSL library path... /usr/lib64 checking for /usr/include/openssl/ssl.h... yes checking for ERR_error_string in -lssl... yes checking if MySQL support has been disabled... "no" checking MySQL include path... /usr/include/mysql checking MySQL include path... /usr/lib64 checking for /usr/include/mysql/mysql.h... yes checking for mysql_real_connect in -lmysqlclient... yes checking if ODBC support has been disabled... "no" checking ODBC include path... /usr/include checking ODBC include path... /usr/lib64 checking for /usr/include/sql.h... yes checking for /usr/include/sqlext.h... yes checking for /usr/include/sqltypes.h... yes checking for SQLSetEnvAttr in -lodbc... yes checking if PostgreSQL support has been disabled... "no" checking for pg_config... pg_config checking if CDB support has been disabled... "no" checking cdb.h usability... yes checking cdb.h presence... yes checking for cdb.h... yes checking for cdb_bread in -lcdb... yes checking if GDBM support has been disabled... "no" checking gdbm.h usability... yes checking gdbm.h presence... yes checking for gdbm.h... yes checking for gdbm_fetch in -lgdbm... yes checking if Berkeley DB support has been disabled... "no" checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for db_create in -ldb... yes checking If BDB db->open() takes 7 arguments... "yes" checking if NIS support has been disabled... "no" checking if Posix Regular Expression support has been disabled... "no" checking if LDAP support has been disabled... "no" checking OpenLDAP include path... /usr/include checking OpenLDAP library path... /usr/lib64 checking for /usr/include/ldap.h... yes checking for ldap_url_parse in -lldap... yes checking for LDAPURLDesc.lud_exts... yes checking for ldap_set_option in -lldap... yes checking if deamon map has been disabled... "no" checking if PAM support has been disabled... "no" checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking security/pam_misc.h usability... yes checking security/pam_misc.h presence... yes checking for security/pam_misc.h... yes checking for pam_authenticate in -lpam... yes checking if ldap (latex) documentation is disabled... "no" checking for setproctitle... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking for setproctitle in -lutil... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking whether __progname and __progname_full are available... yes checking which argv replacement method to use... writeable checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking for uid_t in sys/types.h... yes checking for size_t... yes checking return type of signal handlers... void checking for wait3 that fills in rusage... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for parse_printf_format... yes checking for flim... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating debian/Makefile config.status: creating perdition.spec config.status: creating perdition/Makefile config.status: creating perdition/db/Makefile config.status: creating perdition/db/cdb/Makefile config.status: creating perdition/db/gdbm/Makefile config.status: creating perdition/db/bdb/Makefile config.status: creating perdition/db/posix_regex/Makefile config.status: creating perdition/db/mysql/Makefile config.status: creating perdition/db/nis/Makefile config.status: creating perdition/db/postgresql/Makefile config.status: creating perdition/db/ldap/Makefile config.status: creating perdition/db/ldap/doc/Makefile config.status: creating perdition/db/odbc/Makefile config.status: creating perdition/db/daemon/Makefile config.status: creating perdition/db/daemon/lib/Makefile config.status: creating makegdbm/Makefile config.status: creating makebdb/Makefile config.status: creating etc/Makefile config.status: creating etc/pam.d/Makefile config.status: creating etc/perdition/Makefile config.status: creating etc/perdition/Makefile.popmap config.status: creating etc/rc.d/Makefile config.status: creating etc/rc.d/init.d/Makefile config.status: creating etc/rc.d/init.d/perdition.debian config.status: creating etc/rc.d/init.d/perdition.rh config.status: creating etc/sysconfig/Makefile config.status: creating Makefile config.status: creating INSTALL config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/perdition-2.1' Making all in makegdbm make[2]: Entering directory '/builddir/build/BUILD/perdition-2.1/makegdbm' CC makegdbm.o CC options.o BUILDSTDERR: options.c: In function 'makegdbm_options': BUILDSTDERR: options.c:49:9: warning: variable 'optarg' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char *optarg; BUILDSTDERR: ^~~~~~ CCLD makegdbm make[2]: Leaving directory '/builddir/build/BUILD/perdition-2.1/makegdbm' Making all in makebdb make[2]: Entering directory '/builddir/build/BUILD/perdition-2.1/makebdb' CC makebdb.o CC options.o BUILDSTDERR: options.c: In function 'makebdb_options': BUILDSTDERR: options.c:49:9: warning: variable 'optarg' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char *optarg; BUILDSTDERR: ^~~~~~ CCLD makebdb make[2]: Leaving directory '/builddir/build/BUILD/perdition-2.1/makebdb' Making all in perdition make[2]: Entering directory '/builddir/build/BUILD/perdition-2.1/perdition' Making all in db make[3]: Entering directory '/builddir/build/BUILD/perdition-2.1/perdition/db' Making all in cdb make[4]: Entering directory '/builddir/build/BUILD/perdition-2.1/perdition/db/cdb' CC perditiondb_cdb.lo CCLD libperditiondb_cdb.la make[4]: Leaving directory '/builddir/build/BUILD/perdition-2.1/perdition/db/cdb' Making all in gdbm make[4]: Entering directory '/builddir/build/BUILD/perdition-2.1/perdition/db/gdbm' CC perditiondb_gdbm.lo CCLD libperditiondb_gdbm.la make[4]: Leaving directory '/builddir/build/BUILD/perdition-2.1/perdition/db/gdbm' Making all in bdb make[4]: Entering directory '/builddir/build/BUILD/perdition-2.1/perdition/db/bdb' CC perditiondb_bdb.lo CCLD libperditiondb_bdb.la make[4]: Leaving directory '/builddir/build/BUILD/perdition-2.1/perdition/db/bdb' Making all in ldap make[4]: Entering directory '/builddir/build/BUILD/perdition-2.1/perdition/db/ldap' make[5]: Entering directory '/builddir/build/BUILD/perdition-2.1/perdition/db/ldap' CC perditiondb_ldap.lo BUILDSTDERR: perditiondb_ldap.c: In function 'pldap_scan_exts': BUILDSTDERR: perditiondb_ldap.c:290:30: warning: comparison between pointer and zero character constant [-Wpointer-compare] BUILDSTDERR: while ((pstr = exts[count]) != '\0') { BUILDSTDERR: ^~ BUILDSTDERR: perditiondb_ldap.c:290:9: note: did you mean to dereference the pointer? BUILDSTDERR: while ((pstr = exts[count]) != '\0') { BUILDSTDERR: ^ CCLD libperditiondb_ldap.la make[5]: Leaving directory '/builddir/build/BUILD/perdition-2.1/perdition/db/ldap' make[4]: Leaving directory '/builddir/build/BUILD/perdition-2.1/perdition/db/ldap' Making all in mysql make[4]: Entering directory '/builddir/build/BUILD/perdition-2.1/perdition/db/mysql' CC perditiondb_mysql.lo CCLD libperditiondb_mysql.la make[4]: Leaving directory '/builddir/build/BUILD/perdition-2.1/perdition/db/mysql' Making all in odbc make[4]: Entering directory '/builddir/build/BUILD/perdition-2.1/perdition/db/odbc' CC perditiondb_odbc.lo CCLD libperditiondb_odbc.la make[4]: Leaving directory '/builddir/build/BUILD/perdition-2.1/perdition/db/odbc' Making all in nis make[4]: Entering directory '/builddir/build/BUILD/perdition-2.1/perdition/db/nis' CC perditiondb_nis.lo BUILDSTDERR: In file included from perditiondb_nis.c:32: BUILDSTDERR: perditiondb_nis.h:32:10: fatal error: rpcsvc/ypclnt.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. make[4]: Leaving directory '/builddir/build/BUILD/perdition-2.1/perdition/db/nis' BUILDSTDERR: make[4]: *** [Makefile:479: perditiondb_nis.lo] Error 1 BUILDSTDERR: make[3]: *** [Makefile:417: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/perdition-2.1/perdition/db' BUILDSTDERR: make[2]: *** [Makefile:758: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/perdition-2.1/perdition' make[1]: Leaving directory '/builddir/build/BUILD/perdition-2.1' RPM build errors: BUILDSTDERR: make[1]: *** [Makefile:457: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:384: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.9oehpX (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.9oehpX (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perdition.spec