Running phase: setupCompilerEnvironmentPhase Build with /nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4. Running phase: unpackPhase unpacking source archive /nix/store/m981mdy5c3mczg1szxz26bl9aind65ny-cryptohash-sha256-0.11.102.1.tar.gz source root is cryptohash-sha256-0.11.102.1 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "cryptohash-sha256-0.11.102.1/src-tests/test-sha256.hs" Running phase: patchPhase Replace Cabal file with edited version from mirror://hackage/cryptohash-sha256-0.11.102.1/revision/6.cabal. Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.8mwTAsVVXi/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.hs, /build/tmp.8mwTAsVVXi/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --with-gcc=gcc --package-db=/build/tmp.8mwTAsVVXi/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --disable-library-profiling --disable-profiling --disable-shared --disable-coverage --enable-static --disable-executable-dynamic --disable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping -fuse-cbits Using Parsec parser Configuring cryptohash-sha256-0.11.102.1... Flags chosen: exe=False, use-cbits=True Dependency base >=4.5 && <5: using base-4.19.2.0 Dependency bytestring >=0.9.2.0 && <0.10 || >=0.10.0.0 && <0.11 || >=0.11.0.0 && <0.12 || >=0.12.0.2 && <0.13: using bytestring-0.12.1.0 Source component graph: component lib Configured component graph: component cryptohash-sha256-0.11.102.1-9ZQl4TXIXRw8TfuvAMn6Qx include base-4.19.2.0-9f38 include bytestring-0.12.1.0-b3e5 Linked component graph: unit cryptohash-sha256-0.11.102.1-9ZQl4TXIXRw8TfuvAMn6Qx include base-4.19.2.0-9f38 include bytestring-0.12.1.0-b3e5 Crypto.Hash.SHA256=cryptohash-sha256-0.11.102.1-9ZQl4TXIXRw8TfuvAMn6Qx:Crypto.Hash.SHA256 Ready component graph: definite cryptohash-sha256-0.11.102.1-9ZQl4TXIXRw8TfuvAMn6Qx depends base-4.19.2.0-9f38 depends bytestring-0.12.1.0-b3e5 Using Cabal-3.10.3.0 compiled by ghc-9.8 Using compiler: ghc-9.8.4 Using install prefix: /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1 Executables installed in: /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1/bin Libraries installed in: /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1/lib/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4/cryptohash-sha256-0.11.102.1-9ZQl4TXIXRw8TfuvAMn6Qx Dynamic Libraries installed in: /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1/lib/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4 Private executables installed in: /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1/libexec/x86_64-linux-ghc-9.8.4/cryptohash-sha256-0.11.102.1 Data files installed in: /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1/share/x86_64-linux-ghc-9.8.4/cryptohash-sha256-0.11.102.1 Documentation installed in: /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1/share/doc/x86_64-linux-ghc-9.8.4/cryptohash-sha256-0.11.102.1 Configuration files installed in: /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1/etc No alex found Using ar found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.2.0 given by user at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/gcc Using ghc version 9.8.4 found on system at: /nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/ghc Using ghc-pkg version 9.8.4 found on system at: /nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/ghc-pkg-9.8.4 No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.30.0 found on system at: /nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/haddock-ghc-9.8.4 No happy found Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.69 found on system at: /nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/hpc-ghc-9.8.4 Using hsc2hs version 0.68.10 found on system at: /nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/hsc2hs-ghc-9.8.4 Using hscolour version 1.25 found on system at: /nix/store/sy862bjhh1f1lb02qhsf6jpqii56s617-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/ld No pkg-config found Using runghc version 9.8.4 found on system at: /nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/runghc-9.8.4 Using strip version 2.46 found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/strip Using tar found on system at: /nix/store/fq62mc3s8ddxgk1nvlbzly2zmr7v2cax-gnutar-1.35/bin/tar No uhc found Running phase: buildPhase Preprocessing library for cryptohash-sha256-0.11.102.1.. Building library for cryptohash-sha256-0.11.102.1.. [1 of 3] Compiling Compat ( src/Compat.hs, dist/build/Compat.o ) [2 of 3] Compiling Crypto.Hash.SHA256.FFI ( src/Crypto/Hash/SHA256/FFI.hs, dist/build/Crypto/Hash/SHA256/FFI.o ) [3 of 3] Compiling Crypto.Hash.SHA256 ( src/Crypto/Hash/SHA256.hs, dist/build/Crypto/Hash/SHA256.o ) src/Crypto/Hash/SHA256.hs:144:19: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 144 | copyCtx dst src = memcpy (castPtr dst) (castPtr src) (fromIntegral sizeCtx) | ^^^^^^ src/Crypto/Hash/SHA256.hs:336:53: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 336 | withByteStringPtr t' $ \tptr' -> memcpy p tptr' 32 | ^^^^^^ Running phase: haddockPhase Running phase: installPhase Installing library in /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1/lib/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4/cryptohash-sha256-0.11.102.1-9ZQl4TXIXRw8TfuvAMn6Qx Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1 checking for references to /build/ in /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1... patching script interpreter paths in /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1 stripping (with command strip and flags -S -p) in /nix/store/s9qfsnpl7z43cmqqj58azcxpvrw0324m-cryptohash-sha256-0.11.102.1/lib