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/megatools.spec'], chrootPath='/var/lib/mock/f29-build-7647-1892/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/megatools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/megatools-1.9.98-5.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/megatools.spec'], chrootPath='/var/lib/mock/f29-build-7647-1892/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/megatools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GXRiSe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf megatools-1.9.98 + /usr/bin/gzip -dc /builddir/build/SOURCES/megatools-1.9.98.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd megatools-1.9.98 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CJ2pkk + umask 022 + cd /builddir/build/BUILD + cd megatools-1.9.98 + 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,-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-silent-rules 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 to enable maintainer-specific portions of Makefiles... no 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 for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... 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.16... yes checking for GLIB - version >= 2.32.0... yes (version 2.56.1) checking for OPENSSL... yes checking for LIBCURL... yes checking for a2x... /usr/bin/a2x checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands Configured features: docs build: yes warnings: no Run make now. NOTE: On FreeBSD, you need to use GNU make (gmake) + sed -i 's/\(GLIB_CFLAGS = \)-pthread/\1/' Makefile + export LD_LIBRARY_PATH=/builddir/build/BUILD/megatools-1.9.98/.libs + LD_LIBRARY_PATH=/builddir/build/BUILD/megatools-1.9.98/.libs + make -j4 BUILDSTDERR: lib/mega.c: In function 'rsa_key_gen': BUILDSTDERR: lib/mega.c:807:21: warning: passing argument 2 of 'RSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: RSA_get0_key(key, &k->m, &k->e, &k->d); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from lib/mega.c:34: BUILDSTDERR: /usr/include/openssl/rsa.h:182:34: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} BUILDSTDERR: const BIGNUM **n, const BIGNUM **e, const BIGNUM **d); BUILDSTDERR: ~~~~~~~~~~~~~~~^ BUILDSTDERR: lib/mega.c:807:28: warning: passing argument 3 of 'RSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: RSA_get0_key(key, &k->m, &k->e, &k->d); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from lib/mega.c:34: BUILDSTDERR: /usr/include/openssl/rsa.h:182:52: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} BUILDSTDERR: const BIGNUM **n, const BIGNUM **e, const BIGNUM **d); BUILDSTDERR: ~~~~~~~~~~~~~~~^ BUILDSTDERR: lib/mega.c:807:35: warning: passing argument 4 of 'RSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: RSA_get0_key(key, &k->m, &k->e, &k->d); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from lib/mega.c:34: BUILDSTDERR: /usr/include/openssl/rsa.h:182:70: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} BUILDSTDERR: const BIGNUM **n, const BIGNUM **e, const BIGNUM **d); BUILDSTDERR: ~~~~~~~~~~~~~~~^ BUILDSTDERR: lib/mega.c:808:25: warning: passing argument 2 of 'RSA_get0_factors' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: RSA_get0_factors(key, &k->q, &k->p); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from lib/mega.c:34: BUILDSTDERR: /usr/include/openssl/rsa.h:183:52: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} BUILDSTDERR: void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q); BUILDSTDERR: ~~~~~~~~~~~~~~~^ BUILDSTDERR: lib/mega.c:808:32: warning: passing argument 3 of 'RSA_get0_factors' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: RSA_get0_factors(key, &k->q, &k->p); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from lib/mega.c:34: BUILDSTDERR: /usr/include/openssl/rsa.h:183:70: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} BUILDSTDERR: void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q); BUILDSTDERR: ~~~~~~~~~~~~~~~^ BUILDSTDERR: lib/mega.c:809:40: warning: passing argument 4 of 'RSA_get0_crt_params' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: RSA_get0_crt_params(key, NULL, NULL, &k->u); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from lib/mega.c:34: BUILDSTDERR: /usr/include/openssl/rsa.h:186:41: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} BUILDSTDERR: const BIGNUM **iqmp); BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Kb4HRP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64 + cd megatools-1.9.98 + make DESTDIR=/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64 install /usr/bin/mkdir -p '/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/bin' /usr/bin/install -c megadf megadl megaget megals megamkdir megaput megareg megarm megacopy '/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/doc/megatools' /usr/bin/install -c -m 644 LICENSE NEWS TODO README INSTALL HACKING '/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/doc/megatools' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 docs/megadf.1 docs/megadl.1 docs/megaget.1 docs/megals.1 docs/megamkdir.1 docs/megaput.1 docs/megareg.1 docs/megarm.1 docs/megacopy.1 '/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/man/man5' /usr/bin/install -c -m 644 docs/megarc.5 '/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/man/man7' /usr/bin/install -c -m 644 docs/megatools.7 '/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/man/man7' + find /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64 -name '*' -exec chrpath --delete '{}' ';' + find /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64 -name '*.la' -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64 -name '*.a' -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64 -size 0 -exec rm -f '{}' ';' + rm /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/doc/megatools/INSTALL + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.JHC5gG Processing files: megatools-1.9.98-5.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Pk3DKO + umask 022 + cd /builddir/build/BUILD + cd megatools-1.9.98 + DOCDIR=/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/doc/megatools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/doc/megatools + cp -pr HACKING /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/doc/megatools + cp -pr NEWS /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/doc/megatools + cp -pr README /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/doc/megatools + cp -pr LICENSE /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/doc/megatools + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.c0ANWf + umask 022 + cd /builddir/build/BUILD + cd megatools-1.9.98 + LICENSEDIR=/builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/licenses/megatools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/licenses/megatools + cp -pr LICENSE /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64/usr/share/licenses/megatools + exit 0 Provides: megatools = 1.9.98-5.fc29 megatools(riscv-64) = 1.9.98-5.fc29 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libcurl.so.4()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libpthread.so.0()(64bit) libssl.so.1.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64 Wrote: /builddir/build/RPMS/megatools-1.9.98-5.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.idaLX2 + umask 022 + cd /builddir/build/BUILD + cd megatools-1.9.98 + /usr/bin/rm -rf /builddir/build/BUILDROOT/megatools-1.9.98-5.fc29.riscv64 + exit 0 Child return code was: 0