Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-language-c99-util.spec'], chrootPath='/var/lib/mock/f45-build-10504-418/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.enae6vtw:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.enae6vtw:/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', '3d3019d4ff9e4b37813d193d2d709185', '-D', '/var/lib/mock/f45-build-10504-418/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.enae6vtw:/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-language-c99-util.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=1784160000 Wrote: /builddir/build/SRPMS/ghc-language-c99-util-0.2.0-12.fc45.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-language-c99-util.spec'], chrootPath='/var/lib/mock/f45-build-10504-418/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.enae6vtw:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.enae6vtw:/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', '642c5f61e25b481a9cf565fb00608ff4', '-D', '/var/lib/mock/f45-build-10504-418/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.enae6vtw:/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-language-c99-util.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=1784160000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.jFLq9r Creating(rpmbuild.env): /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="ghc-language-c99-util" RPM_PACKAGE_VERSION="0.2.0" RPM_PACKAGE_RELEASE="12.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CRRHjL + umask 022 + cd /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build + cd /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build + rm -rf language-c99-util-0.2.0 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/language-c99-util-0.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd language-c99-util-0.2.0 + /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.sglAqy + umask 022 + cd /builddir/build/BUILD/ghc-language-c99-util-0.2.0-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 --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 language-c99-util-0.2.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 ']' ==== Build language-c99-util-0.2.0 ==== + echo + echo '==== Build language-c99-util-0.2.0 ====' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.10.3/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking 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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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-language-c99-util '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.10.3/lib --global '--ghc-options=-fhide-source-paths -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-march=rva23u64 -optc-mabi=lp64d -optc-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optc-mno-omit-leaf-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1' --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/language-c99-util-0.2.0 --global Configuring language-c99-util-0.2.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for language-c99-util-0.2.0... Building library for language-c99-util-0.2.0... [1 of 4] Compiling Language.C99.Util.IsList src/Language/C99/Util/IsList.hs:25:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toList’ • In the instance declaration for ‘IsList ArgExprList’ | 25 | instance IsList ArgExprList where | ^^^^^^^^^^^^^^^^^^ src/Language/C99/Util/IsList.hs:30:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toList’ • In the instance declaration for ‘IsList InitList’ | 30 | instance IsList InitList where | ^^^^^^^^^^^^^^^ src/Language/C99/Util/IsList.hs:37:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toList’ • In the instance declaration for ‘IsList BlockItemList’ | 37 | instance IsList BlockItemList where | ^^^^^^^^^^^^^^^^^^^^ src/Language/C99/Util/IsList.hs:42:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toList’ • In the instance declaration for ‘IsList TransUnit’ | 42 | instance IsList TransUnit where | ^^^^^^^^^^^^^^^^ src/Language/C99/Util/IsList.hs:47:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toList’ • In the instance declaration for ‘IsList DeclnList’ | 47 | instance IsList DeclnList where | ^^^^^^^^^^^^^^^^ [2 of 4] Compiling Language.C99.Util.Wrap [3 of 4] Compiling Language.C99.Util.Expr src/Language/C99/Util/Expr.hs:109:35: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 109 | dec = takeWhile (/='e') $ tail $ dropWhile (/='.') ds | ^^^^ src/Language/C99/Util/Expr.hs:112:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 112 | _ -> tail e | ^^^^ src/Language/C99/Util/Expr.hs:116:17: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 116 | op = case head nat of | ^^^^ src/Language/C99/Util/Expr.hs:119:19: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 119 | nat' = case head nat of | ^^^^ src/Language/C99/Util/Expr.hs:120:36: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 120 | '-' -> digitseq $ digitsc (tail nat) | ^^^^ [4 of 4] Compiling Language.C99.Util + '[' -n dist/build/libHSlanguage-c99-util-0.2.0-7Qp8foL0cyE26L25FQ7vlf-ghc9.10.3.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for language-c99-util-0.2.0... Running Haddock on library for language-c99-util-0.2.0... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.8.0, base-4.20.2.0, deepseq-1.5.0.0, ghc-bignum-1.3, ghc-internal-9.1003.0, ghc-prim-0.12.0, ieee754-0.8.0, language-c99-0.2.0, pretty-1.1.3.6 [1 of 4] Compiling Language.C99.Util.IsList ( src/Language/C99/Util/IsList.hs, nothing ) src/Language/C99/Util/IsList.hs:25:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toList’ • In the instance declaration for ‘IsList ArgExprList’ | 25 | instance IsList ArgExprList where | ^^^^^^^^^^^^^^^^^^ src/Language/C99/Util/IsList.hs:30:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toList’ • In the instance declaration for ‘IsList InitList’ | 30 | instance IsList InitList where | ^^^^^^^^^^^^^^^ src/Language/C99/Util/IsList.hs:37:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toList’ • In the instance declaration for ‘IsList BlockItemList’ | 37 | instance IsList BlockItemList where | ^^^^^^^^^^^^^^^^^^^^ src/Language/C99/Util/IsList.hs:42:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toList’ • In the instance declaration for ‘IsList TransUnit’ | 42 | instance IsList TransUnit where | ^^^^^^^^^^^^^^^^ src/Language/C99/Util/IsList.hs:47:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toList’ • In the instance declaration for ‘IsList DeclnList’ | 47 | instance IsList DeclnList where | ^^^^^^^^^^^^^^^^ [2 of 4] Compiling Language.C99.Util.Wrap ( src/Language/C99/Util/Wrap.hs, nothing ) [3 of 4] Compiling Language.C99.Util.Expr ( src/Language/C99/Util/Expr.hs, nothing ) src/Language/C99/Util/Expr.hs:109:35: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 109 | dec = takeWhile (/='e') $ tail $ dropWhile (/='.') ds | ^^^^ src/Language/C99/Util/Expr.hs:112:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 112 | _ -> tail e | ^^^^ src/Language/C99/Util/Expr.hs:116:17: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 116 | op = case head nat of | ^^^^ src/Language/C99/Util/Expr.hs:119:19: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 119 | nat' = case head nat of | ^^^^ src/Language/C99/Util/Expr.hs:120:36: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 120 | '-' -> digitseq $ digitsc (tail nat) | ^^^^ [4 of 4] Compiling Language.C99.Util ( src/Language/C99/Util.hs, nothing ) Haddock coverage: 0% ( 0 / 19) in 'Language.C99.Util' Missing documentation for: Module header Wrap (src/Language/C99/Util/Wrap.hs:76) group (src/Language/C99/Util/IsList.hs:61) error_emptylist (src/Language/C99/Util/IsList.hs:10) hcharseq (src/Language/C99/Util/IsList.hs:53) qcharseq (src/Language/C99/Util/IsList.hs:57) pptokens (src/Language/C99/Util/IsList.hs:65) paramlist (src/Language/C99/Util/IsList.hs:69) voidparamlist (src/Language/C99/Util/IsList.hs:73) digit (src/Language/C99/Util/Expr.hs:23) nonzerodigit (src/Language/C99/Util/Expr.hs:37) nondigit (src/Language/C99/Util/Expr.hs:50) ident (src/Language/C99/Util/Expr.hs:81) litbool (src/Language/C99/Util/Expr.hs:86) litint (src/Language/C99/Util/Expr.hs:90) litdouble (src/Language/C99/Util/Expr.hs:130) litfloat (src/Language/C99/Util/Expr.hs:133) litstring (src/Language/C99/Util/Expr.hs:136) identdeclr (src/Language/C99/Util/Expr.hs:168) Warning: Language.C99.Util: could not find link destinations for: - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Char - GHC.Types.Double - GHC.Types.Float - GHC.Types.Int - GHC.Num.Integer.Integer - Language.C99.AST.AddExpr - Language.C99.AST.AndExpr - Language.C99.AST.AssignExpr - Language.C99.AST.CastExpr - Language.C99.AST.CondExpr - Language.C99.AST.Declr - Language.C99.AST.Digit - Language.C99.AST.EqExpr - Language.C99.AST.Expr - Language.C99.AST.Group - Language.C99.AST.GroupPart - Language.C99.AST.HChar - Language.C99.AST.HCharSeq - Language.C99.AST.Ident - Language.C99.AST.IdentNonDigit - Language.C99.AST.LAndExpr - Language.C99.AST.LOrExpr - Language.C99.AST.MultExpr - Language.C99.AST.NonZeroDigit - Language.C99.AST.OrExpr - Language.C99.AST.PPTokens - Language.C99.AST.ParamDecln - Language.C99.AST.ParamList - Language.C99.AST.PostfixExpr - Language.C99.AST.PreprocToken - Language.C99.AST.PrimExpr - Language.C99.AST.QChar - Language.C99.AST.QCharSeq - Language.C99.AST.RelExpr - Language.C99.AST.ShiftExpr - Language.C99.AST.UnaryExpr - Language.C99.AST.XOrExpr - Language.C99.Util.Wrap.WrapStep Documentation created: dist/doc/html/language-c99-util/, dist/doc/html/language-c99-util/language-c99-util.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZP6d3K + umask 022 + cd /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build + '[' /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build + mkdir /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT + 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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 --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 language-c99-util-0.2.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT Installing library in /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/language-c99-util-0.2.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.10.3/lib ']' + subsubdir=/lib + '[' -d language-c99-util-0.2.0.conf ']' + install -D --mode=0644 language-c99-util-0.2.0.conf /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/language-c99-util-0.2.0.conf + '[' -d /usr/lib64/ghc-9.10.3/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/language-c99-util-0.2.0.conf ']' + rm -f ghc-language-c99-util.files ghc-language-c99-util-doc.files + touch ghc-language-c99-util.files ghc-language-c99-util-doc.files + pkgdir=/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/language-c99-util-0.2.0 + '[' '!' -d /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/language-c99-util-0.2.0 ']' + '[' -d /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/language-c99-util-0.2.0 ']' + find /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/language-c99-util-0.2.0 -type d -fprintf ghc-language-c99-util-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name '*.p_dyn_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-language-c99-util-prof.files -o -fprint ghc-language-c99-util-devel.files + ls /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/language-c99-util-0.2.0.conf + for i in /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3${subsubdir}/libHSlanguage-c99-util-0.2.0-*ghc9.10.3.so + '[' -x /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHSlanguage-c99-util-0.2.0-7Qp8foL0cyE26L25FQ7vlf-ghc9.10.3.so ']' + case "$i" in + echo /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHSlanguage-c99-util-0.2.0-7Qp8foL0cyE26L25FQ7vlf-ghc9.10.3.so + haddock_dir=/usr/share/doc/ghc/html/libraries/language-c99-util-0.2.0 + '[' -d /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/share/doc/ghc/html/libraries/language-c99-util-0.2.0 ']' + echo /usr/share/doc/ghc/html/libraries/language-c99-util-0.2.0 + for i in ghc-language-c99-util.files ghc-language-c99-util-devel.files ghc-language-c99-util-doc.files ghc-language-c99-util-prof.files + '[' -f ghc-language-c99-util.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT!!g' ghc-language-c99-util.files + for i in ghc-language-c99-util.files ghc-language-c99-util-devel.files ghc-language-c99-util-doc.files ghc-language-c99-util-prof.files + '[' -f ghc-language-c99-util-devel.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT!!g' ghc-language-c99-util-devel.files + for i in ghc-language-c99-util.files ghc-language-c99-util-devel.files ghc-language-c99-util-doc.files ghc-language-c99-util-prof.files + '[' -f ghc-language-c99-util-doc.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT!!g' ghc-language-c99-util-doc.files + for i in ghc-language-c99-util.files ghc-language-c99-util-devel.files ghc-language-c99-util-doc.files ghc-language-c99-util-prof.files + '[' -f ghc-language-c99-util-prof.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT!!g' ghc-language-c99-util-prof.files deleting rpaths: + echo 'deleting rpaths:' + type chrpath ++ find /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHSlanguage-c99-util-0.2.0-7Qp8foL0cyE26L25FQ7vlf-ghc9.10.3.so ++ sed -e 's@^/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHSlanguage-c99-util-0.2.0-7Qp8foL0cyE26L25FQ7vlf-ghc9.10.3.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.10.3/lib/riscv64-linux-ghc-9.10.3:/usr/lib64/ghc-9.10.3/lib + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/language-c99-util-0.2.0/libHSlanguage-c99-util-0.2.0-7Qp8foL0cyE26L25FQ7vlf.a: replacing with normalized version Scanned 19 directories and 28 files, processed 8 inodes, 1 modified (1 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr Scanned 18 directories and 28 files, considered 28 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ghc-language-c99-util-0.2.0-12.fc45.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uvVxKq + umask 022 + cd /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build + cd language-c99-util-0.2.0 + LICENSEDIR=/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/share/licenses/ghc-language-c99-util + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/share/licenses/ghc-language-c99-util + cp -pr /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/language-c99-util-0.2.0/LICENSE /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/share/licenses/ghc-language-c99-util + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-language-c99-util = 0.2.0-12.fc45 ghc-language-c99-util(riscv-64) = 0.2.0-12.fc45 libHSlanguage-c99-util-0.2.0-7Qp8foL0cyE26L25FQ7vlf-ghc9.10.3.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSarray-0.5.8.0-inplace-ghc9.10.3.so()(64bit) libHSbase-4.20.2.0-inplace-ghc9.10.3.so()(64bit) libHSdeepseq-1.5.0.0-inplace-ghc9.10.3.so()(64bit) libHSghc-bignum-1.3-inplace-ghc9.10.3.so()(64bit) libHSghc-internal-9.1003.0-inplace-ghc9.10.3.so()(64bit) libHSghc-prim-0.12.0-inplace-ghc9.10.3.so()(64bit) libHSieee754-0.8.0-LjLHVAK5VgZ5GVZZutKcrh-ghc9.10.3.so()(64bit) libHSlanguage-c99-0.2.0-93Ge4frPZioCLXyfiShMrV-ghc9.10.3.so()(64bit) libHSpretty-1.1.3.6-inplace-ghc9.10.3.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-language-c99-util-devel-0.2.0-12.fc45.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mJPCyG + umask 022 + cd /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build + cd language-c99-util-0.2.0 + DOCDIR=/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/share/doc/ghc-language-c99-util-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/share/doc/ghc-language-c99-util-devel + cp -pr /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/language-c99-util-0.2.0/ChangeLog.md /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/share/doc/ghc-language-c99-util-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(language-c99-util-0.2.0-7Qp8foL0cyE26L25FQ7vlf) ghc-language-c99-util-devel = 0.2.0-12.fc45 ghc-language-c99-util-devel(riscv-64) = 0.2.0-12.fc45 ghc-language-c99-util-static = 0.2.0-12.fc45 ghc-language-c99-util-static(riscv-64) = 0.2.0-12.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.20.2.0-inplace) ghc-devel(ieee754-0.8.0-LjLHVAK5VgZ5GVZZutKcrh) ghc-devel(language-c99-0.2.0-93Ge4frPZioCLXyfiShMrV) Processing files: ghc-language-c99-util-doc-0.2.0-12.fc45.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TV5Lsw + umask 022 + cd /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build + cd language-c99-util-0.2.0 + LICENSEDIR=/builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/share/licenses/ghc-language-c99-util-doc + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/share/licenses/ghc-language-c99-util-doc + cp -pr /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/language-c99-util-0.2.0/LICENSE /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT/usr/share/licenses/ghc-language-c99-util-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-language-c99-util-doc = 0.2.0-12.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/ghc-language-c99-util-0.2.0-build/BUILDROOT Wrote: /builddir/build/RPMS/ghc-language-c99-util-0.2.0-12.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-language-c99-util-devel-0.2.0-12.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-language-c99-util-doc-0.2.0-12.fc45.noarch.rpm Child return code was: 0