commercialhaskell / stackage

Stable Haskell package sets: vetted consistent packages from Hackage
https://www.stackage.org/
MIT License
530 stars 805 forks source link

xxhash-ffi-0.3 #7361

Closed mihaimaruseac closed 7 months ago

mihaimaruseac commented 7 months ago
       While building package xxhash-ffi-0.3 (scroll up to its section to see the error) using:
       /home/curators/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_6HauvNHV_3.10.2.0_ghc-9.8.2 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2 configure --with-ghc=/home/curators/.stack/programs/x86_64-linux/ghc-tinfo6-9.8.2/bin/ghc-9.8.2 --with-ghc-pkg=/home/curators/.stack/programs/x86_64-linux/ghc-tinfo6-9.8.2/bin/ghc-pkg-9.8.2 --user --package-db=clear --package-db=global --package-db=/home/curators/.stack/snapshots/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/pkgdb --package-db=/home/curators/work/unpack-dir/.stack-work/install/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/pkgdb --libdir=/home/curators/work/unpack-dir/.stack-work/install/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/lib --bindir=/home/curators/work/unpack-dir/.stack-work/install/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/bin --datadir=/home/curators/work/unpack-dir/.stack-work/install/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/share --libexecdir=/home/curators/work/unpack-dir/.stack-work/install/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/libexec --sysconfdir=/home/curators/work/unpack-dir/.stack-work/install/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/etc --docdir=/home/curators/work/unpack-dir/.stack-work/install/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/doc/xxhash-ffi-0.3 --htmldir=/home/curators/work/unpack-dir/.stack-work/install/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/doc/xxhash-ffi-0.3 --haddockdir=/home/curators/work/unpack-dir/.stack-work/install/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/doc/xxhash-ffi-0.3 --dependency=QuickCheck=QuickCheck-2.14.3-8McWQWz7wRbIvVsJHksr2R --dependency=base=base-4.19.1.0-cbb2 --dependency=bytestring=bytestring-0.12.1.0-c563 --dependency=hashable=hashable-1.4.3.0-ApfGubvtJzfCDCugT0O0K3 --dependency=tasty=tasty-1.5-Hwt2eXk9X1Wq6xetZYz6k --dependency=tasty-quickcheck=tasty-quickcheck-0.10.3-Al9jhtYZ8u25scTY14MIcN --dependency=text=text-2.1.1-cd34 -fpkg-config --ghc-options -w --exact-configuration --ghc-option=-fhide-source-paths --enable-tests
       Process exited with code: ExitFailure 1 
       Logs have been written to: /home/curators/work/unpack-dir/.stack-work/logs/xxhash-ffi-0.3.log

       Configuring xxhash-ffi-0.3...
       Error: Cabal-simple_6HauvNHV_3.10.2.0_ghc-9.8.2: The pkg-config package
       'libxxhash' version >=0.8 is required but it could not be found.

Will add an upper bound.

CC @hverr

andreasabel commented 7 months ago

Or install https://packages.msys2.org/package/libxxhash on the build server?

mihaimaruseac commented 7 months ago

We can install it on the Dockerfile, but we are also trying to minimize the number of dependencies we have there.

The other thing is that this is a new release, so we should know if this is a new dependency or something else is wrong with the environment. Afaik, we have not changed the docker environment

Bodigrim commented 7 months ago

Maintainer here: pkg-config is an automatic flag, just flip it please.

mihaimaruseac commented 7 months ago

Made #7373 for this, will land later (or next curator)

mihaimaruseac commented 7 months ago

Thank you. This seems resolved now!