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-295528-55507/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=1595808000 Wrote: /builddir/build/SRPMS/elph-1.0.1-25.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-295528-55507/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=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YT5wVd + 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.zVxMxc + umask 022 + cd /builddir/build/BUILD + cd ELPH + make -C sources -j4 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 GString.cpp:2: 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 elph.cc:5: 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); | ~~~~~^~~~~~~~~~~~~~~~ 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); | ~~~~~^~~~~~~~~~~~~ elph.cc: In function 'main': elph.cc:134:30: warning: 'info' may be used uninitialized in this function [-Wmaybe-uninitialized] 134 | globAlignProb=M->optimize(globAlignProb,info,closest); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 motif.cc: In member function '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 member function 'Motif::Motif(char const*, _IO_FILE*, seqType, char const*, char const*, 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.y7Wcid + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64 + cd ELPH + rm -rf /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64/usr/bin + install -m 755 sources/elph /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64//usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.1-25.fc33 --unique-debug-suffix -1.0.1-25.fc33.riscv64 --unique-debug-src-base elph-1.0.1-25.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-25.fc33.riscv64/usr/bin/elph extracting debug info from /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64/usr/bin/elph original debug info size: 1060kB, size after compression: 1012kB /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 '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.K9BUFd + umask 022 + cd /builddir/build/BUILD + cd ELPH + RPM_EC=0 ++ jobs -p + exit 0 Processing files: elph-1.0.1-25.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OJimIc + umask 022 + cd /builddir/build/BUILD + cd ELPH + DOCDIR=/builddir/build/BUILDROOT/elph-1.0.1-25.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-25.fc33.riscv64/usr/share/doc/elph + cp -pr COPYRIGHT /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64/usr/share/doc/elph + cp -pr LICENSE /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64/usr/share/doc/elph + cp -pr README /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64/usr/share/doc/elph + cp -pr Readme.ELPH /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64/usr/share/doc/elph + cp -pr VERSION /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64/usr/share/doc/elph + RPM_EC=0 ++ jobs -p + exit 0 Provides: elph = 1.0.1-25.fc33 elph(riscv-64) = 1.0.1-25.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-25.fc33.riscv64 Provides: elph-debugsource = 1.0.1-25.fc33 elph-debugsource(riscv-64) = 1.0.1-25.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-25.fc33.riscv64 Provides: debuginfo(build-id) = f1ec58bbf6c74713b77ccefab23a2703176c13dd elph-debuginfo = 1.0.1-25.fc33 elph-debuginfo(riscv-64) = 1.0.1-25.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-25.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64 Wrote: /builddir/build/RPMS/elph-1.0.1-25.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/elph-debugsource-1.0.1-25.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/elph-debuginfo-1.0.1-25.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DZMVCd + umask 022 + cd /builddir/build/BUILD + cd ELPH + /usr/bin/rm -rf /builddir/build/BUILDROOT/elph-1.0.1-25.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0