Bug#1053711: haskell-primitive-unaligned: FTBFS: enable build for LoongArch

zhangdandan zhangdandan at loongson.cn
Mon Oct 9 13:02:53 BST 2023


Source: haskell-primitive-unaligned
Version: 0.1.1.2-2
Severity: wishlist
Tags: patch ftbfs
User: debian-devel at lists.debian.org
Usertags: loongarch64

Dear maintainers,

When compiling the package haskell-primitive-unaligned for loong64 in 
the Debian Package Auto-Building environment [1], The error message is 
as follows:
......Omit
Preprocessing library for primitive-unaligned-0.1.1.2..
Error: hlibrary.setup: can't find source for 
Data/Primitive/Unaligned/Mach in
src, dist-ghc/build/autogen, dist-ghc/build/global-autogen
......Omit

The full compilation log can be found at [2].

Please consider the patch I have attached.
BTW, the patch I provided in the attachment doesn't affect other 
architectures and compiles fine on the loongarch architecture.
If you have any questions, you can contact me at any time.

[1]:https://buildd.debian.org/status/package.php?p=haskell-primitive-unaligned&suite=sid
[2]:https://buildd.debian.org/status/logs.php?pkg=haskell-primitive-unaligned&ver=0.1.1.2-2&arch=loong64

thanks,
Dandan Zhang

-------------- next part --------------
A non-text attachment was scrubbed...
Name: haskell-primitive-unaligned-add-support-for-loongarch64.patch
Type: text/x-patch
Size: 1007 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20231009/716cc9d3/attachment.bin>


More information about the Pkg-haskell-maintainers mailing list