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/hscolour.spec'], chrootPath='/var/lib/mock/f45-build-13532-451/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.gx8dmbbo:/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.gx8dmbbo:/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', 'a96b0585902840fc89c36598818fe0f4', '-D', '/var/lib/mock/f45-build-13532-451/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gx8dmbbo:/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/hscolour.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/hscolour-1.25-8.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/hscolour.spec'], chrootPath='/var/lib/mock/f45-build-13532-451/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.gx8dmbbo:/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.gx8dmbbo:/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', '84f1971a5bca49a1be087840f157f0ad', '-D', '/var/lib/mock/f45-build-13532-451/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gx8dmbbo:/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/hscolour.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.gSM9aL Creating(rpmbuild.env): /builddir/build/BUILD/hscolour-1.25-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/hscolour-1.25-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/hscolour-1.25-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="hscolour" RPM_PACKAGE_VERSION="1.25" RPM_PACKAGE_RELEASE="8.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/hscolour-1.25-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.urp2p0 + umask 022 + cd /builddir/build/BUILD/hscolour-1.25-build + cd /builddir/build/BUILD/hscolour-1.25-build + rm -rf hscolour-1.25 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/hscolour-1.25.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hscolour-1.25 + /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.g1M082 + umask 022 + cd /builddir/build/BUILD/hscolour-1.25-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 hscolour-1.25 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + echo ==== Build hscolour-1.25 ==== + echo '==== Build hscolour-1.25 ====' + '[' -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/hscolour '--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/hscolour-1.25 --global Configuring hscolour-1.25... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for hscolour-1.25... Building library for hscolour-1.25... [ 1 of 16] Compiling Language.Haskell.HsColour.Classify Language/Haskell/HsColour/Classify.hs:41:34: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:41:50: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, 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"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:50:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^^^ Language/Haskell/HsColour/Classify.hs:50:39: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 7 further locations. Suggested fix: Please use spaces instead. | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^ [ 2 of 16] Compiling Language.Haskell.HsColour.ColourHighlight [ 3 of 16] Compiling Language.Haskell.HsColour.Colourise [ 4 of 16] Compiling Language.Haskell.HsColour.General [ 5 of 16] Compiling Language.Haskell.HsColour.Anchors Language/Haskell/HsColour/Anchors.hs:73:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in four further locations. Suggested fix: Please use spaces instead. | 73 | | v `inST` st -> Nothing | ^^^^^^^^ Language/Haskell/HsColour/Anchors.hs:161:27: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): [ 6 of 16] Compiling Language.Haskell.HsColour.HTML "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"." | 161 | then tail . dropWhile (`notElem`[(Keyglyph,"=>") | ^^^^ [ 7 of 16] Compiling Language.Haskell.HsColour.CSS [ 8 of 16] Compiling Language.Haskell.HsColour.ACSS [ 9 of 16] Compiling Language.Haskell.HsColour.InlineCSS Language/Haskell/HsColour/InlineCSS.hs:12:24: warning: [GHC-94817] [-Wtabs] Tab character found here. Suggested fix: Please use spaces instead. | 12 | hscolour :: ColourPrefs -- ^ Preferences for styling. | ^ [10 of 16] Compiling Language.Haskell.HsColour.LaTeX [11 of 16] Compiling Language.Haskell.HsColour.MIRC [12 of 16] Compiling Language.Haskell.HsColour.Output [13 of 16] Compiling Language.Haskell.HsColour.Options Language/Haskell/HsColour/Options.hs:11:9: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 12 further locations. Suggested fix: Please use spaces instead. | 11 | Help -- ^ print usage message | ^^^^^^^^ [14 of 16] Compiling Language.Haskell.HsColour.ANSI Language/Haskell/HsColour/ANSI.hs:62:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toEnum’ • In the instance declaration for ‘Enum Highlight’ | 62 | instance Enum Highlight where | ^^^^^^^^^^^^^^ [15 of 16] Compiling Language.Haskell.HsColour.TTY [16 of 16] Compiling Language.Haskell.HsColour Language/Haskell/HsColour.hs:37:19: warning: [GHC-94817] [-Wtabs] Tab character found here, and in two further locations. Suggested fix: Please use spaces instead. | 37 | -> String -- ^ Title for output. | ^^^^^^ Preprocessing executable 'HsColour' for hscolour-1.25... Building executable 'HsColour' for hscolour-1.25... : warning: [GHC-32850] [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules for ‘hscolour-1.25-83xphvZK2IpJ6ceizNa0eT-HsColour’ : Language.Haskell.HsColour Language.Haskell.HsColour.ACSS Language.Haskell.HsColour.ANSI Language.Haskell.HsColour.Anchors Language.Haskell.HsColour.CSS Language.Haskell.HsColour.Classify Language.Haskell.HsColour.ColourHighlight Language.Haskell.HsColour.Colourise Language.Haskell.HsColour.General Language.Haskell.HsColour.HTML Language.Haskell.HsColour.InlineCSS Language.Haskell.HsColour.LaTeX Language.Haskell.HsColour.MIRC Language.Haskell.HsColour.Options Language.Haskell.HsColour.Output Language.Haskell.HsColour.TTY [ 1 of 17] Compiling Language.Haskell.HsColour.Classify Language/Haskell/HsColour/Classify.hs:41:34: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:41:50: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, 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"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:50:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^^^ Language/Haskell/HsColour/Classify.hs:50:39: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 7 further locations. Suggested fix: Please use spaces instead. | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^ [ 2 of 17] Compiling Language.Haskell.HsColour.ColourHighlight [ 3 of 17] Compiling Language.Haskell.HsColour.Colourise [ 4 of 17] Compiling Language.Haskell.HsColour.General [ 5 of 17] Compiling Language.Haskell.HsColour.Anchors Language/Haskell/HsColour/Anchors.hs:73:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in four further locations. Suggested fix: Please use spaces instead. | 73 | | v `inST` st -> Nothing | ^^^^^^^^ Language/Haskell/HsColour/Anchors.hs:161:27: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, 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"." | [ 6 of 17] Compiling Language.Haskell.HsColour.HTML 161 | then tail . dropWhile (`notElem`[(Keyglyph,"=>") | ^^^^ [ 7 of 17] Compiling Language.Haskell.HsColour.CSS [ 8 of 17] Compiling Language.Haskell.HsColour.ACSS [ 9 of 17] Compiling Language.Haskell.HsColour.InlineCSS Language/Haskell/HsColour/InlineCSS.hs:12:24: warning: [GHC-94817] [-Wtabs] Tab character found here[. Suggested fix: Please use spaces instead. | 12 | hscolour :: ColourPrefs -- ^ Preferences for styling. | ^ 10 of 17] Compiling Language.Haskell.HsColour.LaTeX [11 of 17] Compiling Language.Haskell.HsColour.MIRC [12 of 17] Compiling Language.Haskell.HsColour.Output [13 of 17] Compiling Language.Haskell.HsColour.Options Language/Haskell/HsColour/Options.hs:11:9: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 12 further locations. Suggested fix: Please use spaces instead. | 11 | Help -- ^ print usage message | ^^^^^^^^ [14 of 17] Compiling Language.Haskell.HsColour.ANSI Language/Haskell/HsColour/ANSI.hs:62:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toEnum’ • In the instance declaration for ‘Enum Highlight’ | 62 | instance Enum Highlight where [15 of 17] Compiling Language.Haskell.HsColour.TTY [16 of 17] Compiling Language.Haskell.HsColour | ^^^^^^^^^^^^^^ Language/Haskell/HsColour.hs:37:19: warning: [GHC-94817] [-Wtabs] Tab character found here, and in two further locations. Suggested fix: Please use spaces instead. | 37 | -> String -- ^ Title for output. | ^^^^^^ [17 of 17] Compiling Main HsColour.hs:72:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in two further locations. Suggested fix: Please use spaces instead. | 72 | [(f, guessLiterate lhs f) | Input f <- good] | ^^^^^^^^ HsColour.hs:115:43: 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"." | 115 | | otherwise = f (head list) | ^^^^ : warning: [GHC-32850] [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules for ‘hscolour-1.25-83xphvZK2IpJ6ceizNa0eT-HsColour’ : Language.Haskell.HsColour Language.Haskell.HsColour.ACSS Language.Haskell.HsColour.ANSI Language.Haskell.HsColour.Anchors Language.Haskell.HsColour.CSS Language.Haskell.HsColour.Classify Language.Haskell.HsColour.ColourHighlight Language.Haskell.HsColour.Colourise Language.Haskell.HsColour.General Language.Haskell.HsColour.HTML Language.Haskell.HsColour.InlineCSS Language.Haskell.HsColour.LaTeX Language.Haskell.HsColour.MIRC Language.Haskell.HsColour.Options Language.Haskell.HsColour.Output Language.Haskell.HsColour.TTY [18 of 18] Linking dist/build/HsColour/HsColour + '[' -n dist/build/libHShscolour-1.25-DiCXrN1phzxJkHCYzcmfBR-ghc9.10.3.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for hscolour-1.25... Running Haddock on library for hscolour-1.25... 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, containers-0.7, deepseq-1.5.0.0, ghc-bignum-1.3, ghc-boot-th-9.10.3, ghc-internal-9.1003.0, ghc-prim-0.12.0, pretty-1.1.3.6, template-haskell-2.22.0.0 [ 1 of 16] Compiling Language.Haskell.HsColour.Classify ( Language/Haskell/HsColour/Classify.hs, nothing ) Language/Haskell/HsColour/Classify.hs:41:34: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:41:50: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, 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"." | 41 | [] -> [head s]: chunk (tail s) -- e.g. inside comment | ^^^^ Language/Haskell/HsColour/Classify.hs:50:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^^^ Language/Haskell/HsColour/Classify.hs:50:39: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 7 further locations. Suggested fix: Please use spaces instead. | 50 | glue (q:".":n:rest) | isUpper (head q) -- qualified names | ^^ [ 2 of 16] Compiling Language.Haskell.HsColour.ColourHighlight ( Language/Haskell/HsColour/ColourHighlight.hs, nothing ) [ 3 of 16] Compiling Language.Haskell.HsColour.Colourise ( Language/Haskell/HsColour/Colourise.hs, nothing ) [ 4 of 16] Compiling Language.Haskell.HsColour.General ( Language/Haskell/HsColour/General.hs, nothing ) [ 5 of 16] Compiling Language.Haskell.HsColour.Anchors ( Language/Haskell/HsColour/Anchors.hs, nothing ) Language/Haskell/HsColour/Anchors.hs:73:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in four further locations. Suggested fix: Please use spaces instead. | 73 | | v `inST` st -> Nothing | ^^^^^^^^ Language/Haskell/HsColour/Anchors.hs:161:27: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, 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"." | 161 | then tail . dropWhile (`notElem`[(Keyglyph,"=>") | ^^^^ [ 6 of 16] Compiling Language.Haskell.HsColour.HTML ( Language/Haskell/HsColour/HTML.hs, nothing ) [ 7 of 16] Compiling Language.Haskell.HsColour.CSS ( Language/Haskell/HsColour/CSS.hs, nothing ) [ 8 of 16] Compiling Language.Haskell.HsColour.ACSS ( Language/Haskell/HsColour/ACSS.hs, nothing ) [ 9 of 16] Compiling Language.Haskell.HsColour.InlineCSS ( Language/Haskell/HsColour/InlineCSS.hs, nothing ) Language/Haskell/HsColour/InlineCSS.hs:12:24: warning: [GHC-94817] [-Wtabs] Tab character found here. Suggested fix: Please use spaces instead. | 12 | hscolour :: ColourPrefs -- ^ Preferences for styling. | ^ [10 of 16] Compiling Language.Haskell.HsColour.LaTeX ( Language/Haskell/HsColour/LaTeX.hs, nothing ) [11 of 16] Compiling Language.Haskell.HsColour.MIRC ( Language/Haskell/HsColour/MIRC.hs, nothing ) [12 of 16] Compiling Language.Haskell.HsColour.Output ( Language/Haskell/HsColour/Output.hs, nothing ) [13 of 16] Compiling Language.Haskell.HsColour.Options ( Language/Haskell/HsColour/Options.hs, nothing ) Language/Haskell/HsColour/Options.hs:11:9: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 12 further locations. Suggested fix: Please use spaces instead. | 11 | Help -- ^ print usage message | ^^^^^^^^ [14 of 16] Compiling Language.Haskell.HsColour.ANSI ( Language/Haskell/HsColour/ANSI.hs, nothing ) Language/Haskell/HsColour/ANSI.hs:62:10: warning: [GHC-06201] [-Wmissing-methods] • No explicit implementation for ‘toEnum’ • In the instance declaration for ‘Enum Highlight’ | 62 | instance Enum Highlight where | ^^^^^^^^^^^^^^ [15 of 16] Compiling Language.Haskell.HsColour.TTY ( Language/Haskell/HsColour/TTY.hs, nothing ) [16 of 16] Compiling Language.Haskell.HsColour ( Language/Haskell/HsColour.hs, nothing ) Language/Haskell/HsColour.hs:37:19: warning: [GHC-94817] [-Wtabs] Tab character found here, and in two further locations. Suggested fix: Please use spaces instead. | 37 | -> String -- ^ Title for output. | ^^^^^^ Haddock coverage: 66% ( 2 / 3) in 'Language.Haskell.HsColour.Classify' Missing documentation for: Module header 87% ( 7 / 8) in 'Language.Haskell.HsColour.ColourHighlight' Missing documentation for: Module header 66% ( 4 / 6) in 'Language.Haskell.HsColour.Colourise' Missing documentation for: Module header defaultColourPrefs (Language/Haskell/HsColour/Colourise.hs:27) 0% ( 0 / 3) in 'Language.Haskell.HsColour.General' Missing documentation for: Module header dropLast (Language/Haskell/HsColour/General.hs:8) dropFirst (Language/Haskell/HsColour/General.hs:14) 50% ( 1 / 2) in 'Language.Haskell.HsColour.Anchors' Missing documentation for: Module header 37% ( 3 / 8) in 'Language.Haskell.HsColour.HTML' Missing documentation for: top'n'tail (Language/Haskell/HsColour/HTML.hs:32) renderAnchors (Language/Haskell/HsColour/HTML.hs:42) renderComment (Language/Haskell/HsColour/HTML.hs:48) renderNewLinesAnchors (Language/Haskell/HsColour/HTML.hs:60) escape (Language/Haskell/HsColour/HTML.hs:83) 40% ( 2 / 5) in 'Language.Haskell.HsColour.CSS' Missing documentation for: top'n'tail (Language/Haskell/HsColour/CSS.hs:30) renderToken (Language/Haskell/HsColour/CSS.hs:36) pre (Language/Haskell/HsColour/CSS.hs:33) 42% ( 3 / 7) in 'Language.Haskell.HsColour.ACSS' Missing documentation for: AnnMap (Language/Haskell/HsColour/ACSS.hs:24) Loc (Language/Haskell/HsColour/ACSS.hs:25) breakS (Language/Haskell/HsColour/ACSS.hs:117) srcModuleName (Language/Haskell/HsColour/ACSS.hs:108) 66% ( 2 / 3) in 'Language.Haskell.HsColour.InlineCSS' Missing documentation for: top'n'tail (Language/Haskell/HsColour/InlineCSS.hs:28) 66% ( 2 / 3) in 'Language.Haskell.HsColour.LaTeX' Missing documentation for: top'n'tail (Language/Haskell/HsColour/LaTeX.hs:16) 100% ( 2 / 2) in 'Language.Haskell.HsColour.MIRC' 33% ( 1 / 3) in 'Language.Haskell.HsColour.Output' Missing documentation for: Module header TerminalType (Language/Haskell/HsColour/Output.hs:3) 50% ( 2 / 4) in 'Language.Haskell.HsColour.Options' Missing documentation for: Module header TerminalType (Language/Haskell/HsColour/Output.hs:3) 37% ( 10 / 27) in 'Language.Haskell.HsColour.ANSI' Missing documentation for: highlightOnG (Language/Haskell/HsColour/ANSI.hs:92) highlightOff (Language/Haskell/HsColour/ANSI.hs:97) cleareol (Language/Haskell/HsColour/ANSI.hs:46) clearbol (Language/Haskell/HsColour/ANSI.hs:47) clearline (Language/Haskell/HsColour/ANSI.hs:48) clearDown (Language/Haskell/HsColour/ANSI.hs:49) clearUp (Language/Haskell/HsColour/ANSI.hs:50) cursorUp (Language/Haskell/HsColour/ANSI.hs:41) cursorDown (Language/Haskell/HsColour/ANSI.hs:42) cursorLeft (Language/Haskell/HsColour/ANSI.hs:44) cursorRight (Language/Haskell/HsColour/ANSI.hs:43) savePosition (Language/Haskell/HsColour/ANSI.hs:55) restorePosition (Language/Haskell/HsColour/ANSI.hs:56) scrollUp (Language/Haskell/HsColour/ANSI.hs:119) scrollDown (Language/Haskell/HsColour/ANSI.hs:117) lineWrap (Language/Haskell/HsColour/ANSI.hs:123) TerminalType (Language/Haskell/HsColour/Output.hs:3) 100% ( 3 / 3) in 'Language.Haskell.HsColour.TTY' 100% ( 4 / 4) in 'Language.Haskell.HsColour' Warning: Language.Haskell.HsColour.Classify: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Internal.Show.Show - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Classes./= Warning: Language.Haskell.HsColour.ColourHighlight: could not find link destinations for: - GHC.Internal.Enum.enumFrom - GHC.Internal.Enum.enumFromThen - GHC.Internal.Enum.enumFromTo - GHC.Internal.Enum.enumFromThenTo - GHC.Classes.== - GHC.Internal.Enum.Enum - GHC.Classes.Eq - GHC.Internal.Real.Integral - GHC.Internal.Read.Read - GHC.Internal.Show.Show - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Internal.Word.Word8 - GHC.Internal.Enum.fromEnum - GHC.Internal.Enum.pred - GHC.Internal.Enum.succ - GHC.Internal.Enum.toEnum - GHC.Internal.Read.readList - GHC.Internal.Read.readsPrec - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Internal.Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Internal.Read.readListPrec - GHC.Internal.Read.readPrec - GHC.Internal.Text.ParserCombinators.ReadPrec.ReadPrec Warning: Language.Haskell.HsColour.Colourise: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Internal.Read.Read - GHC.Internal.Show.Show - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Types.IO - GHC.Internal.Read.readList - GHC.Internal.Read.readsPrec - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Internal.Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Internal.Read.readListPrec - GHC.Internal.Read.readPrec - GHC.Internal.Text.ParserCombinators.ReadPrec.ReadPrec Warning: Language.Haskell.HsColour.General: could not find link destinations for: - GHC.Classes.Eq Warning: Language.Haskell.HsColour.Anchors: could not find link destinations for: - GHC.Internal.Base.String - GHC.Internal.Data.Either.Either - Language.Haskell.HsColour.Anchors.Anchor Warning: Language.Haskell.HsColour.HTML: could not find link destinations for: - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Internal.Data.Either.Either Warning: Language.Haskell.HsColour.CSS: could not find link destinations for: - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int Warning: Language.Haskell.HsColour.ACSS: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Internal.Show.Show - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Types.Ordering - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - Data.Map.Internal.Map Warning: Language.Haskell.HsColour.InlineCSS: could not find link destinations for: - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int Warning: Language.Haskell.HsColour.LaTeX: could not find link destinations for: - GHC.Internal.Base.String Warning: Language.Haskell.HsColour.MIRC: could not find link destinations for: - GHC.Internal.Base.String Warning: Language.Haskell.HsColour.Output: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Internal.Show.Show - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Types.Ordering - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min Warning: Language.Haskell.HsColour.Options: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Internal.Show.Show - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Types.Ordering - GHC.Internal.IO.FilePath - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min Warning: Language.Haskell.HsColour.ANSI: could not find link destinations for: - GHC.Internal.Enum.enumFrom - GHC.Internal.Enum.enumFromThen - GHC.Internal.Enum.enumFromTo - GHC.Internal.Enum.enumFromThenTo - GHC.Classes.== - GHC.Classes.>= - GHC.Internal.Enum.Enum - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Internal.Read.Read - GHC.Internal.Show.Show - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Char - GHC.Types.Int - GHC.Types.Ordering - GHC.Internal.Word.Word8 - GHC.Internal.Enum.fromEnum - GHC.Internal.Enum.pred - GHC.Internal.Enum.succ - GHC.Internal.Enum.toEnum - GHC.Internal.Read.readList - GHC.Internal.Read.readsPrec - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Internal.Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Internal.Read.readListPrec - GHC.Internal.Read.readPrec - GHC.Internal.Text.ParserCombinators.ReadPrec.ReadPrec Warning: Language.Haskell.HsColour.TTY: could not find link destinations for: - GHC.Internal.Base.String - GHC.Types.Char Warning: Language.Haskell.HsColour: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Internal.Read.Read - GHC.Internal.Show.Show - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Internal.Read.readList - GHC.Internal.Read.readsPrec - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Internal.Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Internal.Read.readListPrec - GHC.Internal.Read.readPrec - GHC.Internal.Text.ParserCombinators.ReadPrec.ReadPrec Documentation created: dist/doc/html/hscolour/, dist/doc/html/hscolour/hscolour.txt Preprocessing executable 'HsColour' for hscolour-1.25... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gqyGbf + umask 022 + cd /builddir/build/BUILD/hscolour-1.25-build + '[' /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT ++ dirname /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT + mkdir -p /builddir/build/BUILD/hscolour-1.25-build + mkdir /builddir/build/BUILD/hscolour-1.25-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 hscolour-1.25 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILD/hscolour-1.25-build/BUILDROOT Installing library in /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/hscolour-1.25 Installing executable HsColour in /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/bin Warning: Executable installed in /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/bin + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.10.3/lib ']' + subsubdir=/lib + '[' -d hscolour-1.25.conf ']' + install -D --mode=0644 hscolour-1.25.conf /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/hscolour-1.25.conf + '[' -d /usr/lib64/ghc-9.10.3/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/hscolour-1.25.conf ']' + rm -f ghc-hscolour.files ghc-hscolour-doc.files + touch ghc-hscolour.files ghc-hscolour-doc.files + pkgdir=/builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/hscolour-1.25 + '[' '!' -d /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/hscolour-1.25 ']' + '[' -d /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/hscolour-1.25 ']' + find /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/hscolour-1.25 -type d -fprintf ghc-hscolour-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name '*.p_dyn_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-hscolour-prof.files -o -fprint ghc-hscolour-devel.files + ls /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/hscolour-1.25.conf + for i in /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3${subsubdir}/libHShscolour-1.25-*ghc9.10.3.so + '[' -x /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHShscolour-1.25-DiCXrN1phzxJkHCYzcmfBR-ghc9.10.3.so ']' + case "$i" in + echo /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHShscolour-1.25-DiCXrN1phzxJkHCYzcmfBR-ghc9.10.3.so + haddock_dir=/usr/share/doc/ghc/html/libraries/hscolour-1.25 + '[' -d /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/share/doc/ghc/html/libraries/hscolour-1.25 ']' + echo /usr/share/doc/ghc/html/libraries/hscolour-1.25 + for i in ghc-hscolour.files ghc-hscolour-devel.files ghc-hscolour-doc.files ghc-hscolour-prof.files + '[' -f ghc-hscolour.files ']' + sed -i -e 's!/builddir/build/BUILD/hscolour-1.25-build/BUILDROOT!!g' ghc-hscolour.files + for i in ghc-hscolour.files ghc-hscolour-devel.files ghc-hscolour-doc.files ghc-hscolour-prof.files + '[' -f ghc-hscolour-devel.files ']' + sed -i -e 's!/builddir/build/BUILD/hscolour-1.25-build/BUILDROOT!!g' ghc-hscolour-devel.files + for i in ghc-hscolour.files ghc-hscolour-devel.files ghc-hscolour-doc.files ghc-hscolour-prof.files + '[' -f ghc-hscolour-doc.files ']' + sed -i -e 's!/builddir/build/BUILD/hscolour-1.25-build/BUILDROOT!!g' ghc-hscolour-doc.files + for i in ghc-hscolour.files ghc-hscolour-devel.files ghc-hscolour-doc.files ghc-hscolour-prof.files + '[' -f ghc-hscolour-prof.files ']' + sed -i -e 's!/builddir/build/BUILD/hscolour-1.25-build/BUILDROOT!!g' ghc-hscolour-prof.files deleting rpaths: + echo 'deleting rpaths:' + type chrpath ++ find /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHShscolour-1.25-DiCXrN1phzxJkHCYzcmfBR-ghc9.10.3.so ++ sed -e 's@^/builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHShscolour-1.25-DiCXrN1phzxJkHCYzcmfBR-ghc9.10.3.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.10.3/lib/riscv64-linux-ghc-9.10.3 + case "$rpath" in + for i in $(find /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/bin/HsColour ++ sed -e 's@^/builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/bin/HsColour: R.*PATH=@@' + rpath='/builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/bin/HsColour: no rpath or runpath tag found.' + case "$rpath" in + mv /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/share/licenses/hscolour /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/share/licenses/hscolour-common + /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/hscolour-1.25-build/BUILDROOT /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/hscolour-1.25/libHShscolour-1.25-DiCXrN1phzxJkHCYzcmfBR.a: replacing with normalized version Scanned 22 directories and 82 files, processed 35 inodes, 1 modified (1 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr Scanned 21 directories and 82 files, considered 82 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/hscolour-1.25-build/SPECPARTS/rpm-debuginfo.specpart Processing files: hscolour-1.25-8.fc45.riscv64 Provides: hscolour = 1.25-8.fc45 hscolour(riscv-64) = 1.25-8.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libffi.so.8()(64bit) libffi.so.8(LIBFFI_BASE_8.0)(64bit) libffi.so.8(LIBFFI_CLOSURE_8.0)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libnuma.so.1()(64bit) libnuma.so.1(libnuma_1.1)(64bit) libnuma.so.1(libnuma_1.2)(64bit) rtld(GNU_HASH) Processing files: hscolour-common-1.25-8.fc45.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.m5Ux3i + umask 022 + cd /builddir/build/BUILD/hscolour-1.25-build + cd hscolour-1.25 + LICENSEDIR=/builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/share/licenses/hscolour-common + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/share/licenses/hscolour-common + cp -pr /builddir/build/BUILD/hscolour-1.25-build/hscolour-1.25/LICENCE-LGPL /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/share/licenses/hscolour-common + RPM_EC=0 ++ jobs -p + exit 0 Provides: hscolour-common = 1.25-8.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-hscolour-1.25-8.fc45.riscv64 Provides: ghc-hscolour = 1.25-8.fc45 ghc-hscolour(riscv-64) = 1.25-8.fc45 libHShscolour-1.25-DiCXrN1phzxJkHCYzcmfBR-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) libHScontainers-0.7-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-boot-th-9.10.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) libHSpretty-1.1.3.6-inplace-ghc9.10.3.so()(64bit) libHStemplate-haskell-2.22.0.0-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-hscolour-devel-1.25-8.fc45.riscv64 Provides: ghc-devel(hscolour-1.25-DiCXrN1phzxJkHCYzcmfBR) ghc-hscolour-devel = 1.25-8.fc45 ghc-hscolour-devel(riscv-64) = 1.25-8.fc45 ghc-hscolour-static = 1.25-8.fc45 ghc-hscolour-static(riscv-64) = 1.25-8.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(containers-0.7-inplace) Processing files: ghc-hscolour-doc-1.25-8.fc45.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YyomQq + umask 022 + cd /builddir/build/BUILD/hscolour-1.25-build + cd hscolour-1.25 + LICENSEDIR=/builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/share/licenses/ghc-hscolour-doc + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/share/licenses/ghc-hscolour-doc + cp -pr /builddir/build/BUILD/hscolour-1.25-build/hscolour-1.25/LICENCE-LGPL /builddir/build/BUILD/hscolour-1.25-build/BUILDROOT/usr/share/licenses/ghc-hscolour-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-hscolour-doc = 1.25-8.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/hscolour-1.25-build/BUILDROOT Wrote: /builddir/build/RPMS/hscolour-common-1.25-8.fc45.noarch.rpm Wrote: /builddir/build/RPMS/ghc-hscolour-1.25-8.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/hscolour-1.25-8.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-hscolour-doc-1.25-8.fc45.noarch.rpm Wrote: /builddir/build/RPMS/ghc-hscolour-devel-1.25-8.fc45.riscv64.rpm Child return code was: 0