rocksdb-haskell testsuite fails to build with Ubuntu 24.04

Building test suite 'rocksdb-tests' for rocksdb-haskell-1.0.1...
       [2 of 2] Linking .stack-work/dist/x86_64-linux-tinfo6/ghc-9.10.2/build/rocksdb-tests/rocksdb-tests
       /home/curators/work/unpack-dir/unpacked/rocksdb-haskell-1.0.1-b63c437c13d505f637ec2ccdbe5044286694312b3f9bbac313cc3b8ff16eff9
a/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.10.2/build/libHSrocksdb-haskell-1.0.1-7wO1otUXs4L7qINYbHcprh.a(Internal.o)(.text+0x4af0
): error: undefined reference to 'rocksdb_filterpolicy_create'
       /home/curators/work/unpack-dir/unpacked/rocksdb-haskell-1.0.1-b63c437c13d505f637ec2ccdbe5044286694312b3f9bbac313cc3b8ff16eff9
a/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.10.2/build/libHSrocksdb-haskell-1.0.1-7wO1otUXs4L7qINYbHcprh.a(C.o):ghc_6.c:function ro
cksdbzmhaskellzm1zi0zi1zm7wO1otUXs4L7qINYbHcprh_DatabaseziRocksDBziC_czurocksdbzufilterpolicyzucreate_info:(.text+0x53be): error: un
defined reference to 'rocksdb_filterpolicy_create'
       collect2: error: ld returned 1 exit status
       ghc-9.10.2: `gcc' failed in phase `Linker'. (Exit code: 1)
       HasCallStack backtrace:
         collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Excep
tion
         toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO
         throwIO, called at libraries/exceptions/src/Control/Monad/Catch.hs:308:12 in exceptions-0.10.9-6e41:Control.Monad.Catch
         throwM, called at libraries/exceptions/src/Control/Monad/Catch.hs:797:84 in exceptions-0.10.9-6e41:Control.Monad.Catch
         onException, called at compiler/GHC/Driver/Make.hs:2983:23 in ghc-9.10.2-2f07:GHC.Driver.Make
This commit is contained in:
Jens Petersen 2025-05-06 02:16:07 +08:00
parent 6a5c3f3cd8
commit 8930596b76

View File

@ -8550,6 +8550,7 @@ expected-test-failures:
- parameterized # 0.5.0.0 https://github.com/commercialhaskell/stackage/issues/5746
- protobuf # 0.2.1.4
- record-wrangler # 0.1.1.0
- rocksdb-haskell # 1.0.1 linking problems with Ubuntu 24.2
- secp256k1-haskell # #5948/closed
- serialise # 0.2.6.1 https://github.com/well-typed/cborg/issues/344
- servant-client # 0.20.2 https://github.com/haskell-servant/servant/issues/1818