Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/elph.spec'], chrootPath='/var/lib/mock/f33-build-131329-40988/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=987gid=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=1580169600 Wrote: /builddir/build/SRPMS/elph-1.0.1-24.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/elph.spec'], chrootPath='/var/lib/mock/f33-build-131329-40988/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=987gid=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=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MbSNFk + 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):' 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e29rfg + 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 In file included from GBase.cpp:5: GBase.h: In function 'void swap(bool&, bool&)': GBase.h:122:8: warning: operation on 'arg1' may be undefined [-Wsequence-point] 122 | { arg1 ^= arg2 ^= arg1 ^= arg2; } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from GString.h:8, from elph.cc:5: GBase.h: In function 'void swap(bool&, bool&)': GBase.h:122:8: warning: operation on 'arg1' may be undefined [-Wsequence-point] 122 | { arg1 ^= arg2 ^= arg1 ^= arg2; } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from GFastaFile.h:3, from motif.h:8, from motif.cc:4: GBase.h: In function 'void swap(bool&, bool&)': GBase.h:122:8: warning: operation on 'arg1' may be undefined [-Wsequence-point] 122 | { arg1 ^= arg2 ^= arg1 ^= arg2; } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from GString.h:8, from GString.cpp:2: GBase.h: In function 'void swap(bool&, bool&)': GBase.h:122:8: warning: operation on 'arg1' may be undefined [-Wsequence-point] 122 | { arg1 ^= arg2 ^= arg1 ^= arg2; } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from elph.cc:5: GString.h: At global scope: GString.h:128:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | GString& trim(char* c=" \t\n\r"); | ^~~~~~~~~ GString.h:129:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | GString& trimR(char* c=" \t\n\r"); //trim only right end | ^~~~~~~~~ GString.h:131:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | GString& trimL(char* c=" \t\n\r"); //trim only left end | ^~~~~~~~~ GString.h:136:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | size_t read(FILE* stream, char* delimiter="\n", size_t bufsize=4096); | ^~~~ In file included from GString.cpp:2: GString.h: At global scope: GString.h:128:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | GString& trim(char* c=" \t\n\r"); | ^~~~~~~~~ GString.h:129:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | GString& trimR(char* c=" \t\n\r"); //trim only right end | ^~~~~~~~~ GString.h:131:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | GString& trimL(char* c=" \t\n\r"); //trim only left end | ^~~~~~~~~ GString.h:136:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | size_t read(FILE* stream, char* delimiter="\n", size_t bufsize=4096); | ^~~~ elph.cc: In function 'int main(int, char**)': elph.cc:81:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | GArgs args(argc, argv, "ho:abreglvdzxt:p:s:m:n:LEN=ITERNO=MAXLOOP=SGFNO="); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elph.cc: In function 'seqType Process_Options(GArgs*)': elph.cc:178:12: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | scanf("%d",&motiflen); | ~~~~~^~~~~~~~~~~~~~~~ elph.cc: In function 'int main(int, char**)': elph.cc:134:30: warning: 'info' may be used uninitialized in this function [-Wmaybe-uninitialized] 134 | globAlignProb=M->optimize(globAlignProb,info,closest); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ motif.cc: In member function 'double Motif::findMotif(int, int, int, int, int)': motif.cc:2876:14: warning: variable 'prevProb' set but not used [-Wunused-but-set-variable] 2876 | double prevProb=0; | ^~~~~~~~ motif.cc:2878:14: warning: variable 'locMaxInfo' set but not used [-Wunused-but-set-variable] 2878 | double locMaxInfo=0; | ^~~~~~~~~~ motif.cc: In constructor 'Motif::Motif(const char*, FILE*, seqType, const char*, const char*, int, int, int, int, int)': motif.cc:908:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 908 | fgets(line,5000,M); | ~~~~~^~~~~~~~~~~~~ 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 In file included from GArgs.cpp:7: GBase.h: In function 'void swap(bool&, bool&)': GBase.h:122:8: warning: operation on 'arg1' may be undefined [-Wsequence-point] 122 | { arg1 ^= arg2 ^= arg1 ^= arg2; } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ motif.cc: In member function 'double Motif::findMDet(int)': motif.cc:1222:9: warning: 'maxinfo' may be used uninitialized in this function [-Wmaybe-uninitialized] 1222 | diff=maxinfo-optinfo; | ~~~~^~~~~~~~~~~~~~~~ motif.cc: In constructor 'Motif::Motif(const char*, FILE*, seqType, const char*, const char*, int, int, int, int, int)': motif.cc:1045:29: warning: 'info' may be used uninitialized in this function [-Wmaybe-uninitialized] 1045 | globAlignProb=optimize(globAlignProb,info,0); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ g++ -o elph elph.o motif.o GBase.o GString.o GArgs.o make: Leaving directory '/builddir/build/BUILD/ELPH/sources' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.L9WRKh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64 + cd ELPH + rm -rf /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64/usr/bin + install -m 755 sources/elph /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64//usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.1-24.fc33 --unique-debug-suffix -1.0.1-24.fc33.riscv64 --unique-debug-src-base elph-1.0.1-24.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ELPH explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64/usr/bin/elph extracting debug info from /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64/usr/bin/elph original debug info size: 540kB, size after compression: 488kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 299 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8JWIDj + umask 022 + cd /builddir/build/BUILD + cd ELPH + RPM_EC=0 ++ jobs -p + exit 0 Processing files: elph-1.0.1-24.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XRtutg + umask 022 + cd /builddir/build/BUILD + cd ELPH + DOCDIR=/builddir/build/BUILDROOT/elph-1.0.1-24.fc33.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-24.fc33.riscv64/usr/share/doc/elph + cp -pr COPYRIGHT /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64/usr/share/doc/elph + cp -pr LICENSE /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64/usr/share/doc/elph + cp -pr README /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64/usr/share/doc/elph + cp -pr Readme.ELPH /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64/usr/share/doc/elph + cp -pr VERSION /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64/usr/share/doc/elph + RPM_EC=0 ++ jobs -p + exit 0 Provides: elph = 1.0.1-24.fc33 elph(riscv-64) = 1.0.1-24.fc33 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-24.fc33.riscv64 Provides: elph-debugsource = 1.0.1-24.fc33 elph-debugsource(riscv-64) = 1.0.1-24.fc33 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-24.fc33.riscv64 Provides: debuginfo(build-id) = 9f95c918d4807aeccd18baa571cbc1045c29323b elph-debuginfo = 1.0.1-24.fc33 elph-debuginfo(riscv-64) = 1.0.1-24.fc33 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-24.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64 Wrote: /builddir/build/RPMS/elph-1.0.1-24.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/elph-debugsource-1.0.1-24.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/elph-debuginfo-1.0.1-24.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e6kEVj + umask 022 + cd /builddir/build/BUILD + cd ELPH + /usr/bin/rm -rf /builddir/build/BUILDROOT/elph-1.0.1-24.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0