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/elph.spec'], chrootPath='/var/lib/mock/f29-build-10655-4817/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/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', '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/elph-1.0.1-20.fc29.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/f29-build-10655-4817/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/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', '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.kjq2x0 + 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 . Patch #0 (elph-chris.patch): + echo 'Patch #0 (elph-chris.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .chris --fuzz=0 patching file sources/elph.cc patching file sources/GBase.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TEvXT9 + 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' 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 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: { 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: { arg1 ^= arg2 ^= arg1 ^= arg2; } 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: { 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: 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: 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: 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: size_t read(FILE* stream, char* delimiter="\n", size_t bufsize=4096); 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: 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: 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: 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: size_t read(FILE* stream, char* delimiter="\n", size_t bufsize=4096); 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: { arg1 ^= arg2 ^= arg1 ^= arg2; } BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: elph.cc: In function 'int main(int, char**)': BUILDSTDERR: elph.cc:81:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 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: 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: 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: double prevProb=0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: motif.cc:2878:14: warning: variable 'locMaxInfo' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 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: fgets(line,5000,M); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~ 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 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: { 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: 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: globAlignProb=optimize(globAlignProb,info,0); BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ g++ -o elph elph.o motif.o GBase.o GString.o GArgs.o make: Leaving directory '/builddir/build/BUILD/ELPH/sources' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I3ZRjn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64 + cd ELPH + rm -rf /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64/usr/bin + install -m 755 sources/elph /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64//usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.1-20.fc29 --unique-debug-suffix -1.0.1-20.fc29.riscv64 --unique-debug-src-base elph-1.0.1-20.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ELPH extracting debug info from /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64/usr/bin/elph /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 299 blocks + /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-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.5Qwl0B Processing files: elph-1.0.1-20.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OVwkc4 + umask 022 + cd /builddir/build/BUILD + cd ELPH + DOCDIR=/builddir/build/BUILDROOT/elph-1.0.1-20.fc29.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-20.fc29.riscv64/usr/share/doc/elph + cp -pr COPYRIGHT /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64/usr/share/doc/elph + cp -pr LICENSE /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64/usr/share/doc/elph + cp -pr README /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64/usr/share/doc/elph + cp -pr Readme.ELPH /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64/usr/share/doc/elph + cp -pr VERSION /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64/usr/share/doc/elph + exit 0 Provides: elph = 1.0.1-20.fc29 elph(riscv-64) = 1.0.1-20.fc29 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-20.fc29.riscv64 Provides: elph-debugsource = 1.0.1-20.fc29 elph-debugsource(riscv-64) = 1.0.1-20.fc29 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-20.fc29.riscv64 Provides: debuginfo(build-id) = ef0432432b9b836ea0dc7449c908494db5e28190 elph-debuginfo = 1.0.1-20.fc29 elph-debuginfo(riscv-64) = 1.0.1-20.fc29 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-20.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64 Wrote: /builddir/build/RPMS/elph-1.0.1-20.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/elph-debugsource-1.0.1-20.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/elph-debuginfo-1.0.1-20.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jKAHhT + umask 022 + cd /builddir/build/BUILD + cd ELPH + rm -rf /builddir/build/BUILDROOT/elph-1.0.1-20.fc29.riscv64 + exit 0 Child return code was: 0