Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-JuicyPixels.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-222206-81000/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-JuicyPixels.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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ghc-JuicyPixels-3.3.9-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-JuicyPixels.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-222206-81000/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-JuicyPixels.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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8Y32Gf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf JuicyPixels-3.3.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/JuicyPixels-3.3.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd JuicyPixels-3.3.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/\r$//' LICENSE + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cbtTPu + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 JuicyPixels-3.3.9 ++ 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 README.md -a -x README.md ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f changelog -a -x changelog ']' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.8.4/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 + ./Setup --version Cabal library version 3.10.3.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-JuicyPixels '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.8.4/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-D_FORTIFY_SOURCE=2 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -optc-fstack-protector-strong -optc-mbranch-protection=standard -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-Wl,--build-id=sha1 -fhide-source-paths' --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/JuicyPixels-3.3.9 --global Configuring JuicyPixels-3.3.9... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for JuicyPixels-3.3.9.. Building library for JuicyPixels-3.3.9.. [ 1 of 30] Compiling Codec.Picture.InternalHelper [ 2 of 30] Compiling Codec.Picture.Metadata.Exif [ 3 of 30] Compiling Codec.Picture.Metadata [ 4 of 30] Compiling Codec.Picture.Tiff.Internal.Types [ 5 of 30] Compiling Codec.Picture.Tiff.Internal.Metadata [ 6 of 30] Compiling Codec.Picture.Types src/Codec/Picture/Types.hs:705:34: warning: [GHC-39567] [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead. | 705 | type PixelBaseComponent a :: * | ^ [ 7 of 30] Compiling Codec.Picture.Png.Internal.Type [ 8 of 30] Compiling Codec.Picture.Png.Internal.Metadata [ 9 of 30] Compiling Codec.Picture.VectorByteConversion [10 of 30] Compiling Codec.Picture.Tga [11 of 30] Compiling Codec.Picture.Png.Internal.Export [12 of 30] Compiling Codec.Picture.Png [13 of 30] Compiling Codec.Picture.HDR [14 of 30] Compiling Codec.Picture.Bitmap [15 of 30] Compiling Codec.Picture.BitWriter [16 of 30] Compiling Codec.Picture.Jpg.Internal.DefaultTable [17 of 30] Compiling Codec.Picture.Jpg.Internal.Types [18 of 30] Compiling Codec.Picture.Jpg.Internal.Metadata [19 of 30] Compiling Codec.Picture.Jpg.Internal.FastIdct [20 of 30] Compiling Codec.Picture.Jpg.Internal.FastDct [21 of 30] Compiling Codec.Picture.Jpg.Internal.Common [22 of 30] Compiling Codec.Picture.Jpg.Internal.Progressive [23 of 30] Compiling Codec.Picture.Jpg src/Codec/Picture/Jpg.hs:495:22: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 495 | gatherScanInfo img = head [(a, b) | JpgScans a b <- jpgFrame img] | ^^^^ src/Codec/Picture/Jpg.hs:613:13: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Maybe JpgFrameHeader’ not matched: Nothing | 613 | Just fHdr = currentFrame st | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Codec/Picture/Jpg.hs:627:13: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Maybe JpgFrameHeader’ not matched: Nothing | 627 | Just fHdr = currentFrame st | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [24 of 30] Compiling Codec.Picture.Gif.Internal.LZWEncoding [25 of 30] Compiling Codec.Picture.Gif.Internal.LZW [26 of 30] Compiling Codec.Picture.Tiff src/Codec/Picture/Tiff.hs:212:27: warning: [GHC-39567] [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use[27 of 30] Compiling Codec.Picture.Gif ‘Type’ from ‘Data.Kind’ instead. | 212 | type StorageType a :: * | ^ src/Codec/Picture/Gif.hs:636:58: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.List): [28 of 30] Compiling Codec.Picture.ColorQuant [29 of 30] Compiling Codec.Picture.Saving "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 636 | [TrueColorImage $ ImageRGB8 img | (_, _, img) <- tail $ scanl scanner initState rest] | ^^^^ [30 of 30] Compiling Codec.Picture + '[' -n dist/build/libHSJuicyPixels-3.3.9-4SCljbXlG0nCwh9VgWY4tI-ghc9.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for JuicyPixels-3.3.9.. Running Haddock on library for JuicyPixels-3.3.9.. 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.19.2.0, binary-0.8.9.1, bytestring-0.12.1.0, containers-0.6.8, deepseq-1.5.1.0, ghc-bignum-1.3, ghc-boot-th-9.8.4, ghc-prim-0.11.0, mtl-2.3.1, pretty-1.1.3.6, primitive-0.9.0.0, template-haskell-2.21.0.0, transformers-0.6.1.0, vector-0.13.1.0, vector-stream-0.1.0.1, zlib-0.7.1.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled.