Package: libghc-lzma-dev Severity: normal Hi,
I am new to Debian's ecosystem for Haskell, so please forgive me if this filing is perhaps not entirely justified. When building my new package 'kickoff' [1] using sbuild in a fresh 'unstable' chroot, I received the build error below. It looks to me like the linker could not find the static LZMA library. I believe the library is available in the installable 'liblzma-dev'. (Your package [2] only pulls in the shared version via liblzma5.) Are consuming sources supposed to depend on the C library separately? The full build log was attached to this message. Thank you for your guidance! Kind regards Felix Lechner [1] https://bugs.debian.org/1003751 [2] https://packages.debian.org/sid/libghc-lzma-dev * * * /usr/bin/ld.gold: error: cannot find -llzma /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.8.4/lzma-0.0.0.3-2n8nD73xk8SLYSVlgeU5jz/libHSlzma-0.0.0.3-2n8nD73xk8SLYSVlgeU5jz.a(lzma_wrapper.o):function hs_lzma_init_decoder: error: undefined reference to 'lzma_stream_decoder' /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.8.4/lzma-0.0.0.3-2n8nD73xk8SLYSVlgeU5jz/libHSlzma-0.0.0.3-2n8nD73xk8SLYSVlgeU5jz.a(lzma_wrapper.o):function hs_lzma_init_decoder: error: undefined reference to 'lzma_auto_decoder' /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.8.4/lzma-0.0.0.3-2n8nD73xk8SLYSVlgeU5jz/libHSlzma-0.0.0.3-2n8nD73xk8SLYSVlgeU5jz.a(lzma_wrapper.o):function hs_lzma_init_encoder: error: undefined reference to 'lzma_easy_encoder' /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.8.4/lzma-0.0.0.3-2n8nD73xk8SLYSVlgeU5jz/libHSlzma-0.0.0.3-2n8nD73xk8SLYSVlgeU5jz.a(lzma_wrapper.o):function hs_lzma_run: error: undefined reference to 'lzma_code' /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.8.4/lzma-0.0.0.3-2n8nD73xk8SLYSVlgeU5jz/libHSlzma-0.0.0.3-2n8nD73xk8SLYSVlgeU5jz.a(lzma_wrapper.o):function hs_lzma_done: error: undefined reference to 'lzma_end' collect2: error: ld returned 1 exit status `x86_64-linux-gnu-gcc' failed in phase `Linker'. (Exit code: 1) make: *** [/usr/share/cdbs/1/class/hlibrary.mk:147: build-ghc-stamp] Error 1 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
kickoff_0.1.0_amd64-2022-01-16T04:50:08Z.build.xz
Description: application/xz
_______________________________________________ Pkg-haskell-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-haskell-maintainers
