Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-hs-bibutils.spec'], chrootPath='/var/lib/mock/f40-build-776376-128763/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ayvin_n3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ayvin_n3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3e83f4591a184e719cca307a57520a7a', '-D', '/var/lib/mock/f40-build-776376-128763/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ayvin_n3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-hs-bibutils.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Wrote: /builddir/build/SRPMS/ghc-hs-bibutils-6.10.0.0-15.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-hs-bibutils.spec'], chrootPath='/var/lib/mock/f40-build-776376-128763/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ayvin_n3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ayvin_n3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8da7f000cc2245acac7fbcf470ad7156', '-D', '/var/lib/mock/f40-build-776376-128763/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ayvin_n3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-hs-bibutils.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.L2JVZI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hs-bibutils-6.10.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hs-bibutils-6.10.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hs-bibutils-6.10.0.0 + rm -rf /builddir/build/BUILD/hs-bibutils-6.10.0.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/hs-bibutils-6.10.0.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XeekEM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hs-bibutils-6.10.0.0 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f ChangeLog.md -a -x ChangeLog.md ']' + chmod a-x ChangeLog.md + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + chmod a-x README.md + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.lhs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-hs-bibutils '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/hs-bibutils-6.10.0.0 --global Warning: hs-bibutils.cabal:27:28: Packages with 'cabal-version: 1.12' or later should specify a specific version of the Cabal spec of the form 'cabal-version: x.y'. Use 'cabal-version: 1.16'. Configuring hs-bibutils-6.10.0.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j64 Preprocessing library for hs-bibutils-6.10.0.0.. Building library for hs-bibutils-6.10.0.0.. [1 of 1] Compiling Text.Bibutils [1 of 1] Compiling Text.Bibutils bibutils/adsout.c: In function ‘output_4digit_value’: bibutils/adsout.c:349:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 4 bytes from a string of length 5 [-Wstringop-truncation] 349 | else strncpy( pos, buf, 4 ); | ^ | 349 | else strncpy( pos, buf, 4 ); | ^ bibutils/adsout.c:348:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 3 bytes from a string of length 5 [-Wstringop-truncation] 348 | else if ( n < 1000 ) strncpy( pos+1, buf, 3 ); | ^ | 348 | else if ( n < 1000 ) strncpy( pos+1, buf, 3 ); | ^ bibutils/adsout.c:347:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 2 bytes from a string of length 5 [-Wstringop-truncation] 347 | else if ( n < 100 ) strncpy( pos+2, buf, 2 ); | ^ | 347 | else if ( n < 100 ) strncpy( pos+2, buf, 2 ); | ^ bibutils/adsout.c:346:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 1 byte from a string of length 5 [-Wstringop-truncation] 346 | if ( n < 10 ) strncpy( pos+3, buf, 1 ); | ^ | 346 | if ( n < 10 ) strncpy( pos+3, buf, 1 ); | ^ bibutils/adsout.c: In function ‘output_4digit_value’: bibutils/adsout.c:349:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 4 bytes from a string of length 5 [-Wstringop-truncation] 349 | else strncpy( pos, buf, 4 ); | ^ | 349 | else strncpy( pos, buf, 4 ); | ^ bibutils/adsout.c:348:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 3 bytes from a string of length 5 [-Wstringop-truncation] 348 | else if ( n < 1000 ) strncpy( pos+1, buf, 3 ); | ^ | 348 | else if ( n < 1000 ) strncpy( pos+1, buf, 3 ); | ^ bibutils/adsout.c:347:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 2 bytes from a string of length 5 [-Wstringop-truncation] 347 | else if ( n < 100 ) strncpy( pos+2, buf, 2 ); | ^ | 347 | else if ( n < 100 ) strncpy( pos+2, buf, 2 ); | ^ bibutils/adsout.c:346:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 1 byte from a string of length 5 [-Wstringop-truncation] 346 | if ( n < 10 ) strncpy( pos+3, buf, 1 ); | ^ | 346 | if ( n < 10 ) strncpy( pos+3, buf, 1 ); | ^ bibutils/adsout.c: In function ‘output_4digit_value’: bibutils/adsout.c:349:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 4 bytes from a string of length 5 [-Wstringop-truncation] 349 | else strncpy( pos, buf, 4 ); | ^ | 349 | else strncpy( pos, buf, 4 ); | ^ bibutils/adsout.c:348:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 3 bytes from a string of length 5 [-Wstringop-truncation] 348 | else if ( n < 1000 ) strncpy( pos+1, buf, 3 ); | ^ | 348 | else if ( n < 1000 ) strncpy( pos+1, buf, 3 ); | ^ bibutils/adsout.c:347:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 2 bytes from a string of length 5 [-Wstringop-truncation] 347 | else if ( n < 100 ) strncpy( pos+2, buf, 2 ); | ^ | 347 | else if ( n < 100 ) strncpy( pos+2, buf, 2 ); | ^ bibutils/adsout.c:346:30: error: warning: ‘__builtin_strncpy’ output may be truncated copying 1 byte from a string of length 5 [-Wstringop-truncation] 346 | if ( n < 10 ) strncpy( pos+3, buf, 1 ); | ^ | 346 | if ( n < 10 ) strncpy( pos+3, buf, 1 ); | ^ bibutils/adsout_journals.c:4434:18: error: warning: ‘njournals’ defined but not used [-Wunused-const-variable=] 4434 | static const int njournals = sizeof( journals ) / sizeof( journals[0] ); | ^~~~~~~~~ | 4434 | static const int njournals = sizeof( journals ) / sizeof( journals[0] ); | ^ bibutils/adsout_journals.c:4434:18: error: warning: ‘njournals’ defined but not used [-Wunused-const-variable=] 4434 | static const int njournals = sizeof( journals ) / sizeof( journals[0] ); | ^~~~~~~~~ | 4434 | static const int njournals = sizeof( journals ) / sizeof( journals[0] ); | ^ bibutils/adsout_journals.c:4434:18: error: warning: ‘njournals’ defined but not used [-Wunused-const-variable=] 4434 | static const int njournals = sizeof( journals ) / sizeof( journals[0] ); | ^~~~~~~~~ | 4434 | static const int njournals = sizeof( journals ) / sizeof( journals[0] ); | ^ bibutils/str.c: In function ‘str_prepend’: bibutils/str.c:369:9: error: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 369 | strncpy( s->data, addstr, lenaddstr ); | ^ | 369 | strncpy( s->data, addstr, lenaddstr ); | ^ bibutils/str.c:358:21: error: note: length computed here 358 | lenaddstr = strlen( addstr ); | ^~~~~~~~~~~~~~~~ | 358 | lenaddstr = strlen( addstr ); | ^ bibutils/str.c: In function ‘str_strcpyc’: bibutils/str.c:498:9: error: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 498 | strncpy( s->data, p, n ); | ^ | 498 | strncpy( s->data, p, n ); | ^ bibutils/str.c:518:13: error: note: length computed here 518 | n = strlen( from ); | ^~~~~~~~~~~~~~ | 518 | n = strlen( from ); | ^ bibutils/str.c: In function ‘str_prepend’: bibutils/str.c:369:9: error: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 369 | strncpy( s->data, addstr, lenaddstr ); | ^ | 369 | strncpy( s->data, addstr, lenaddstr ); | ^ bibutils/str.c:358:21: error: note: length computed here 358 | lenaddstr = strlen( addstr ); | ^~~~~~~~~~~~~~~~ | 358 | lenaddstr = strlen( addstr ); | ^ bibutils/str.c: In function ‘str_strcpyc’: bibutils/str.c:498:9: error: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 498 | strncpy( s->data, p, n ); | ^ | 498 | strncpy( s->data, p, n ); | ^ bibutils/str.c:518:13: error: note: length computed here 518 | n = strlen( from ); | ^~~~~~~~~~~~~~ | 518 | n = strlen( from ); | ^ bibutils/str.c: In function ‘str_prepend’: bibutils/str.c:369:9: error: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 369 | strncpy( s->data, addstr, lenaddstr ); | ^ | 369 | strncpy( s->data, addstr, lenaddstr ); | ^ bibutils/str.c:358:21: error: note: length computed here 358 | lenaddstr = strlen( addstr ); | ^~~~~~~~~~~~~~~~ | 358 | lenaddstr = strlen( addstr ); | ^ bibutils/str.c: In function ‘str_strcpyc’: bibutils/str.c:498:9: error: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 498 | strncpy( s->data, p, n ); | ^ | 498 | strncpy( s->data, p, n ); | ^ bibutils/str.c:518:13: error: note: length computed here 518 | n = strlen( from ); | ^~~~~~~~~~~~~~ | 518 | n = strlen( from ); | ^ + '[' -n dist/build/libHShs-bibutils-6.10.0.0-JXaNi5AO0ARBvVAZjORf23-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for hs-bibutils-6.10.0.0.. Running Haddock on library for hs-bibutils-6.10.0.0.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-4.17.1.0, ghc-bignum-1.3, ghc-prim-0.9.0, syb-0.7.2.3 Warning: --source-* options are ignored when --hyperlinked-source is enabled. 36% ( 34 / 92) in 'Text.Bibutils' Missing documentation for: bibl_readasis (src/Text/Bibutils.hsc:373) bibl_addtoasis (src/Text/Bibutils.hsc:379) bibl_readcorps (src/Text/Bibutils.hsc:385) bibl_addtocorps (src/Text/Bibutils.hsc:391) bibl_reporterr (src/Text/Bibutils.hsc:397) status (src/Text/Bibutils.hsc:448) unsetBOM (src/Text/Bibutils.hsc:272) unsetLatexOut (src/Text/Bibutils.hsc:291) unsetXmlOut (src/Text/Bibutils.hsc:300) unsetAddcount (src/Text/Bibutils.hsc:309) unsetSinglerefperfile (src/Text/Bibutils.hsc:318) BiblioIn (src/Text/Bibutils.hsc:400) mods_in (src/Text/Bibutils.hsc:403) bibtex_in (src/Text/Bibutils.hsc:405) ris_in (src/Text/Bibutils.hsc:407) endnote_in (src/Text/Bibutils.hsc:409) copac_in (src/Text/Bibutils.hsc:411) isi_in (src/Text/Bibutils.hsc:413) medline_in (src/Text/Bibutils.hsc:415) biblatex_in (src/Text/Bibutils.hsc:419) endnotexml_in (src/Text/Bibutils.hsc:417) ebi_in (src/Text/Bibutils.hsc:421) word_in (src/Text/Bibutils.hsc:423) nbib_in (src/Text/Bibutils.hsc:425) BiblioOut (src/Text/Bibutils.hsc:418) mods_out (src/Text/Bibutils.hsc:421) bibtex_out (src/Text/Bibutils.hsc:423) ris_out (src/Text/Bibutils.hsc:425) endnote_out (src/Text/Bibutils.hsc:427) isi_out (src/Text/Bibutils.hsc:429) word2007_out (src/Text/Bibutils.hsc:431) adsab_out (src/Text/Bibutils.hsc:433) nbib_out (src/Text/Bibutils.hsc:435) FormatOpt (src/Text/Bibutils.hsc:432) bibout_finalcomma (src/Text/Bibutils.hsc:436) bibout_singledash (src/Text/Bibutils.hsc:438) bibout_whitespace (src/Text/Bibutils.hsc:440) bibout_brackets (src/Text/Bibutils.hsc:442) bibout_uppercase (src/Text/Bibutils.hsc:444) bibout_strictkey (src/Text/Bibutils.hsc:446) bibout_shorttitle (src/Text/Bibutils.hsc:448) bibout_dropkey (src/Text/Bibutils.hsc:450) modsout_dropkey (src/Text/Bibutils.hsc:452) Charset (src/Text/Bibutils.hsc:466) bibl_charset_unknown (src/Text/Bibutils.hsc:468) bibl_charset_unicode (src/Text/Bibutils.hsc:470) bibl_charset_gb18030 (src/Text/Bibutils.hsc:472) bibl_charset_default (src/Text/Bibutils.hsc:474) bibl_charset_utf8_default (src/Text/Bibutils.hsc:476) bibl_charset_bom_default (src/Text/Bibutils.hsc:478) Status (src/Text/Bibutils.hsc:448) bibl_ok (src/Text/Bibutils.hsc:451) bibl_err_badinput (src/Text/Bibutils.hsc:453) bibl_err_memerr (src/Text/Bibutils.hsc:455) bibl_err_cantopen (src/Text/Bibutils.hsc:457) Raw (src/Text/Bibutils.hsc:458) bibl_raw_with_charset_convert (src/Text/Bibutils.hsc:461) bibl_raw_with_make_ref_id (src/Text/Bibutils.hsc:463) Warning: Text.Bibutils: could not find link destinations for: - Foreign.Storable.Storable - Foreign.Storable.sizeOf - GHC.Types.Int - Foreign.Storable.alignment - Foreign.Storable.peekElemOff - GHC.Ptr.Ptr - GHC.Types.IO - Foreign.Storable.pokeElemOff - Foreign.Storable.peekByteOff - Foreign.Storable.pokeByteOff - Foreign.Storable.peek - Foreign.Storable.poke - Foreign.C.Types.CInt - Foreign.C.Types.CUChar - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.ForeignPtr.ForeignPtr - GHC.IO.FilePath - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= Documentation created: dist/doc/html/hs-bibutils/index.html, dist/doc/html/hs-bibutils/hs-bibutils.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2IkVli + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hs-bibutils-6.10.0.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/hs-bibutils-6.10.0.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d hs-bibutils-6.10.0.0.conf ']' + install -D --mode=0644 hs-bibutils-6.10.0.0.conf /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/hs-bibutils-6.10.0.0.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/hs-bibutils-6.10.0.0.conf ']' + rm -f ghc-hs-bibutils.files ghc-hs-bibutils-doc.files + touch ghc-hs-bibutils.files ghc-hs-bibutils-doc.files + for i in /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5${subsubdir}/libHShs-bibutils-6.10.0.0-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHShs-bibutils-6.10.0.0-JXaNi5AO0ARBvVAZjORf23-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHShs-bibutils-6.10.0.0-JXaNi5AO0ARBvVAZjORf23-ghc9.4.5.so + pkgdir=/builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/hs-bibutils-6.10.0.0 + '[' -d /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/hs-bibutils-6.10.0.0 ']' + find /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/hs-bibutils-6.10.0.0 -type d -fprintf ghc-hs-bibutils-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-hs-bibutils-prof.files -o -fprint ghc-hs-bibutils-devel.files + ls /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/hs-bibutils-6.10.0.0.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/hs-bibutils-6.10.0.0 + '[' -d /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/share/doc/ghc/html/libraries/hs-bibutils-6.10.0.0 ']' + echo /usr/share/doc/ghc/html/libraries/hs-bibutils-6.10.0.0 + for i in ghc-hs-bibutils.files ghc-hs-bibutils-devel.files ghc-hs-bibutils-doc.files ghc-hs-bibutils-prof.files + '[' -f ghc-hs-bibutils.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64!!g' ghc-hs-bibutils.files + for i in ghc-hs-bibutils.files ghc-hs-bibutils-devel.files ghc-hs-bibutils-doc.files ghc-hs-bibutils-prof.files + '[' -f ghc-hs-bibutils-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64!!g' ghc-hs-bibutils-devel.files + for i in ghc-hs-bibutils.files ghc-hs-bibutils-devel.files ghc-hs-bibutils-doc.files ghc-hs-bibutils-prof.files + '[' -f ghc-hs-bibutils-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64!!g' ghc-hs-bibutils-doc.files + for i in ghc-hs-bibutils.files ghc-hs-bibutils-devel.files ghc-hs-bibutils-doc.files ghc-hs-bibutils-prof.files + '[' -f ghc-hs-bibutils-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64!!g' ghc-hs-bibutils-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHShs-bibutils-6.10.0.0-JXaNi5AO0ARBvVAZjORf23-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHShs-bibutils-6.10.0.0-JXaNi5AO0ARBvVAZjORf23-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHShs-bibutils-6.10.0.0-JXaNi5AO0ARBvVAZjORf23-ghc9.4.5.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.4.5/lib/riscv64-linux-ghc-9.4.5:/usr/lib64/ghc-9.4.5/lib + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qReYUI + umask 022 + cd /builddir/build/BUILD + cd hs-bibutils-6.10.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/share/licenses/ghc-hs-bibutils + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/share/licenses/ghc-hs-bibutils + cp -pr /builddir/build/BUILD/hs-bibutils-6.10.0.0/LICENSE /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/share/licenses/ghc-hs-bibutils + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(bibutils) = 6.10.0.0 ghc-hs-bibutils = 6.10.0.0-15.fc40 ghc-hs-bibutils(riscv-64) = 6.10.0.0-15.fc40 libHShs-bibutils-6.10.0.0-JXaNi5AO0ARBvVAZjORf23-ghc9.4.5.so()(64bit) 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) libHSbase-4.17.1.0-ghc9.4.5.so()(64bit) libHSghc-bignum-1.3-ghc9.4.5.so()(64bit) libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit) libHSsyb-0.7.2.3-J0Qw7O8gTR0DSXObDhEt8i-ghc9.4.5.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-hs-bibutils-devel-6.10.0.0-15.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mHOjtb + umask 022 + cd /builddir/build/BUILD + cd hs-bibutils-6.10.0.0 + DOCDIR=/builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/share/doc/ghc-hs-bibutils-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/share/doc/ghc-hs-bibutils-devel + cp -pr /builddir/build/BUILD/hs-bibutils-6.10.0.0/ChangeLog.md /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/share/doc/ghc-hs-bibutils-devel + cp -pr /builddir/build/BUILD/hs-bibutils-6.10.0.0/README.md /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/share/doc/ghc-hs-bibutils-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(hs-bibutils-6.10.0.0-JXaNi5AO0ARBvVAZjORf23) ghc-hs-bibutils-devel = 6.10.0.0-15.fc40 ghc-hs-bibutils-devel(riscv-64) = 6.10.0.0-15.fc40 ghc-hs-bibutils-static = 6.10.0.0-15.fc40 ghc-hs-bibutils-static(riscv-64) = 6.10.0.0-15.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.17.1.0) ghc-devel(syb-0.7.2.3-J0Qw7O8gTR0DSXObDhEt8i) Processing files: ghc-hs-bibutils-doc-6.10.0.0-15.fc40.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mB5Q63 + umask 022 + cd /builddir/build/BUILD + cd hs-bibutils-6.10.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/share/licenses/ghc-hs-bibutils-doc + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/share/licenses/ghc-hs-bibutils-doc + cp -pr /builddir/build/BUILD/hs-bibutils-6.10.0.0/LICENSE /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64/usr/share/licenses/ghc-hs-bibutils-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-hs-bibutils-doc = 6.10.0.0-15.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-hs-bibutils-prof-6.10.0.0-15.fc40.riscv64 Provides: ghc-hs-bibutils-prof = 6.10.0.0-15.fc40 ghc-hs-bibutils-prof(riscv-64) = 6.10.0.0-15.fc40 ghc-prof(hs-bibutils-6.10.0.0-JXaNi5AO0ARBvVAZjORf23) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.17.1.0) ghc-prof(syb-0.7.2.3-J0Qw7O8gTR0DSXObDhEt8i) Supplements: (ghc-hs-bibutils-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64 Wrote: /builddir/build/RPMS/ghc-hs-bibutils-doc-6.10.0.0-15.fc40.noarch.rpm Wrote: /builddir/build/RPMS/ghc-hs-bibutils-6.10.0.0-15.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-hs-bibutils-devel-6.10.0.0-15.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-hs-bibutils-prof-6.10.0.0-15.fc40.riscv64.rpm Child return code was: 0