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/elph.spec'], chrootPath='/var/lib/mock/f31-build-102501-33536/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/elph.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=1563926400 Wrote: /builddir/build/SRPMS/elph-1.0.1-23.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/elph.spec'], chrootPath='/var/lib/mock/f31-build-102501-33536/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/elph.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=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LH4S2T + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ELPH + /usr/bin/gzip -dc /builddir/build/SOURCES/ELPH-1.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ELPH + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (elph-chris.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .chris --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (elph-chris.patch): patching file sources/elph.cc patching file sources/GBase.h Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KwGvrT + umask 022 + cd /builddir/build/BUILD + cd ELPH + make -C sources -j4 '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 -fno-exceptions -fno-rtti -D_REENTRANT' BUILDSTDERR: In file included from GString.h:8, BUILDSTDERR: from GString.cpp:2: BUILDSTDERR: GBase.h: In function 'void swap(bool&, bool&)': BUILDSTDERR: GBase.h:122:8: warning: operation on 'arg1' may be undefined [-Wsequence-point] BUILDSTDERR: 122 | { arg1 ^= arg2 ^= arg1 ^= arg2; } BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from GBase.cpp:5: BUILDSTDERR: GBase.h: In function 'void swap(bool&, bool&)': BUILDSTDERR: GBase.h:122:8: warning: operation on 'arg1' may be undefined [-Wsequence-point] BUILDSTDERR: 122 | { arg1 ^= arg2 ^= arg1 ^= arg2; } BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from GFastaFile.h:3, BUILDSTDERR: from motif.h:8, BUILDSTDERR: from motif.cc:4: BUILDSTDERR: GBase.h: In function 'void swap(bool&, bool&)': BUILDSTDERR: GBase.h:122:8: warning: operation on 'arg1' may be undefined [-Wsequence-point] BUILDSTDERR: 122 | { arg1 ^= arg2 ^= arg1 ^= arg2; } BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from GString.cpp:2: BUILDSTDERR: GString.h: At global scope: BUILDSTDERR: GString.h:128:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 128 | GString& trim(char* c=" \t\n\r"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: GString.h:129:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 129 | GString& trimR(char* c=" \t\n\r"); //trim only right end BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: GString.h:131:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 131 | GString& trimL(char* c=" \t\n\r"); //trim only left end BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: GString.h:136:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 136 | size_t read(FILE* stream, char* delimiter="\n", size_t bufsize=4096); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from GString.h:8, BUILDSTDERR: from elph.cc:5: BUILDSTDERR: GBase.h: In function 'void swap(bool&, bool&)': BUILDSTDERR: GBase.h:122:8: warning: operation on 'arg1' may be undefined [-Wsequence-point] BUILDSTDERR: 122 | { arg1 ^= arg2 ^= arg1 ^= arg2; } BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from elph.cc:5: BUILDSTDERR: GString.h: At global scope: BUILDSTDERR: GString.h:128:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 128 | GString& trim(char* c=" \t\n\r"); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: GString.h:129:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 129 | GString& trimR(char* c=" \t\n\r"); //trim only right end BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: GString.h:131:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 131 | GString& trimL(char* c=" \t\n\r"); //trim only left end BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: GString.h:136:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 136 | size_t read(FILE* stream, char* delimiter="\n", size_t bufsize=4096); BUILDSTDERR: | ^~~~ BUILDSTDERR: elph.cc: In function 'int main(int, char**)': BUILDSTDERR: elph.cc:81:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 81 | GArgs args(argc, argv, "ho:abreglvdzxt:p:s:m:n:LEN=ITERNO=MAXLOOP=SGFNO="); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: elph.cc: In function 'seqType Process_Options(GArgs*)': BUILDSTDERR: elph.cc:178:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 178 | scanf("%d",&motiflen); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: elph.cc: In function 'int main(int, char**)': BUILDSTDERR: elph.cc:134:30: warning: 'info' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 134 | globAlignProb=M->optimize(globAlignProb,info,closest); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: motif.cc: In member function 'double Motif::findMotif(int, int, int, int, int)': BUILDSTDERR: motif.cc:2876:14: warning: variable 'prevProb' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2876 | double prevProb=0; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: motif.cc:2878:14: warning: variable 'locMaxInfo' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2878 | double locMaxInfo=0; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: motif.cc: In constructor 'Motif::Motif(const char*, FILE*, seqType, const char*, const char*, int, int, int, int, int)': BUILDSTDERR: motif.cc:908:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 908 | fgets(line,5000,M); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from GArgs.cpp:7: BUILDSTDERR: GBase.h: In function 'void swap(bool&, bool&)': BUILDSTDERR: GBase.h:122:8: warning: operation on 'arg1' may be undefined [-Wsequence-point] BUILDSTDERR: 122 | { arg1 ^= arg2 ^= arg1 ^= arg2; } BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: motif.cc: In member function 'double Motif::findMDet(int)': BUILDSTDERR: motif.cc:1222:9: warning: 'maxinfo' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1222 | diff=maxinfo-optinfo; BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: motif.cc: In constructor 'Motif::Motif(const char*, FILE*, seqType, const char*, const char*, int, int, int, int, int)': BUILDSTDERR: motif.cc:1045:29: warning: 'info' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1045 | globAlignProb=optimize(globAlignProb,info,0); BUILDSTDERR: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 make: Entering directory '/builddir/build/BUILD/ELPH/sources' g++ -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 -fno-exceptions -fno-rtti -D_REENTRANT -c elph.cc -o elph.o g++ -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 -fno-exceptions -fno-rtti -D_REENTRANT -c motif.cc -o motif.o g++ -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 -fno-exceptions -fno-rtti -D_REENTRANT -c GBase.cpp -o GBase.o g++ -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 -fno-exceptions -fno-rtti -D_REENTRANT -c GString.cpp -o GString.o g++ -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 -fno-exceptions -fno-rtti -D_REENTRANT -c GArgs.cpp -o GArgs.o g++ -o elph elph.o motif.o GBase.o GString.o GArgs.o make: Leaving directory '/builddir/build/BUILD/ELPH/sources' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dNuJAQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64 + cd ELPH + rm -rf /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64/usr/bin + install -m 755 sources/elph /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64//usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.1-23.fc31 --unique-debug-suffix -1.0.1-23.fc31.riscv64 --unique-debug-src-base elph-1.0.1-23.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ELPH BUILDSTDERR: 299 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64/usr/bin/elph extracting debug info from /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64/usr/bin/elph original debug info size: 592kB, size after compression: 532kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZxpAyQ + umask 022 + cd /builddir/build/BUILD + cd ELPH + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Processing files: elph-1.0.1-23.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sydyTS + umask 022 + cd /builddir/build/BUILD + cd ELPH + DOCDIR=/builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64/usr/share/doc/elph + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64/usr/share/doc/elph + cp -pr COPYRIGHT /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64/usr/share/doc/elph + cp -pr LICENSE /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64/usr/share/doc/elph + cp -pr README /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64/usr/share/doc/elph + cp -pr Readme.ELPH /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64/usr/share/doc/elph + cp -pr VERSION /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64/usr/share/doc/elph + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: elph = 1.0.1-23.fc31 elph(riscv-64) = 1.0.1-23.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: elph-debugsource-1.0.1-23.fc31.riscv64 Provides: elph-debugsource = 1.0.1-23.fc31 elph-debugsource(riscv-64) = 1.0.1-23.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: elph-debuginfo-1.0.1-23.fc31.riscv64 Provides: debuginfo(build-id) = 9baeea857d6ce7ac15f52196265ef5c5aeb9fa79 elph-debuginfo = 1.0.1-23.fc31 elph-debuginfo(riscv-64) = 1.0.1-23.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: elph-debugsource(riscv-64) = 1.0.1-23.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64 Wrote: /builddir/build/RPMS/elph-1.0.1-23.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/elph-debugsource-1.0.1-23.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/elph-debuginfo-1.0.1-23.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZkdbfQ + umask 022 + cd /builddir/build/BUILD + cd ELPH + /usr/bin/rm -rf /builddir/build/BUILDROOT/elph-1.0.1-23.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0