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/sloccount.spec'], chrootPath='/var/lib/mock/f31-build-52711-27709/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sloccount.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=1549065600 Wrote: /builddir/build/SRPMS/sloccount-2.26-27.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sloccount.spec'], chrootPath='/var/lib/mock/f31-build-52711-27709/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sloccount.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=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l0fCDn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sloccount-2.26 + /usr/bin/gzip -dc /builddir/build/SOURCES/sloccount-2.26.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sloccount-2.26 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hYUGfl + umask 022 + cd /builddir/build/BUILD + cd sloccount-2.26 + make 'CC=gcc -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' BUILDSTDERR: :1331:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: php_count.c: In function 'read_input_line': BUILDSTDERR: php_count.c:81:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 81 | fgets(current_line, sizeof(current_line)-2, stream); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: :1396:16: warning: 'input' defined but not used [-Wunused-function] + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 gcc -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 c_count.c -o c_count cp -p c_count java_count gcc -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 lexcount1.c -o lexcount1 flex -Cfe -t pascal_count.l > pascal_count.c gcc -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 pascal_count.c -o pascal_count gcc -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 php_count.c -o php_count flex -Cfe -t jsp_count.l > jsp_count.c gcc -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 jsp_count.c -o jsp_count gcc -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 ml_count.c -o ml_count Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9Kgl2o + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64 + cd sloccount-2.26 + rm -rf /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/share/man/man1 + make install_programs PREFIX=/builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr + make install_man PREFIX=/builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.26-27.fc31 --unique-debug-suffix -2.26-27.fc31.riscv64 --unique-debug-src-base sloccount-2.26-27.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sloccount-2.26 BUILDSTDERR: 65 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/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs install ada_count asm_count awk_count break_filelist cobol_count compute_all compute_sloc_lang count_extensions count_unknown_ext csh_count exp_count fortran_count f90_count generic_count get_sloc get_sloc_details haskell_count lex_count lisp_count make_filelists makefile_count modula3_count objc_count perl_count print_sum python_count ruby_count sed_count sh_count show_filecount sloccount sql_count tcl_count c_count java_count lexcount1 pascal_count php_count jsp_count ml_count /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin install -d /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/share/man/man1 install sloccount.1.gz /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/share/man/man1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/jsp_count explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/c_count explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/java_count explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/lexcount1 extracting debug info from /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/jsp_count extracting debug info from /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/java_count extracting debug info from /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/c_count extracting debug info from /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/lexcount1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/ml_count explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/pascal_count explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/php_count extracting debug info from /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/ml_count extracting debug info from /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/pascal_count extracting debug info from /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/php_count original debug info size: 284kB, size after compression: 276kB /usr/lib/rpm/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/awk_count from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/compute_sloc_lang from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/show_filecount from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/ada_count from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/csh_count from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/tcl_count from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/ruby_count from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/exp_count from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/sed_count from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/sloccount from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/make_filelists from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/makefile_count from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/compute_all from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/sh_count from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/lisp_count from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/count_unknown_ext from /bin/sh to #!/usr/bin/sh Processing files: sloccount-2.26-27.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SdVmfm + umask 022 + cd /builddir/build/BUILD + cd sloccount-2.26 + DOCDIR=/builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/share/doc/sloccount + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/share/doc/sloccount + cp -pr sloccount.html /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/share/doc/sloccount + cp -pr README /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/share/doc/sloccount + cp -pr ChangeLog /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/share/doc/sloccount + cp -pr COPYING /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/share/doc/sloccount + cp -pr TODO /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/share/doc/sloccount + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: warning: Duplicate build-ids /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/c_count and /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/bin/java_count Provides: sloccount = 2.26-27.fc31 sloccount(riscv-64) = 2.26-27.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl /usr/bin/sh 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) perl(FileHandle) rtld(GNU_HASH) Processing files: sloccount-debugsource-2.26-27.fc31.riscv64 Provides: sloccount-debugsource = 2.26-27.fc31 sloccount-debugsource(riscv-64) = 2.26-27.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sloccount-debuginfo-2.26-27.fc31.riscv64 BUILDSTDERR: warning: Duplicate build-ids /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/lib/debug/usr/bin/c_count-2.26-27.fc31.riscv64.debug and /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64/usr/lib/debug/usr/bin/java_count-2.26-27.fc31.riscv64.debug Provides: debuginfo(build-id) = 53869ab4fbba0361bb8f993e0d3c5458fbc19490 debuginfo(build-id) = a2e631c10b37ca6bcaed8cac1bbeb59d6c45f324 debuginfo(build-id) = bc1bfaf97aeba964ecec42a5a561cb497875a469 debuginfo(build-id) = ca231da56af53920850bc763a3653f97f48d187a debuginfo(build-id) = ea776b321d4cd5cee76ee9a37f3c9ae79951e372 debuginfo(build-id) = fa81a38336b71713087d13b45ccdb87d49bae8db sloccount-debuginfo = 2.26-27.fc31 sloccount-debuginfo(riscv-64) = 2.26-27.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sloccount-debugsource(riscv-64) = 2.26-27.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64 Wrote: /builddir/build/RPMS/sloccount-debugsource-2.26-27.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/sloccount-debuginfo-2.26-27.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/sloccount-2.26-27.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3D51Rm + umask 022 + cd /builddir/build/BUILD + cd sloccount-2.26 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sloccount-2.26-27.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0