Your message dated Wed, 01 May 2024 21:20:13 +0000
with message-id <[email protected]>
and subject line Bug#1069165: fixed in haskell-pandoc 3.1.3-2
has caused the Debian Bug report #1069165,
regarding haskell-pandoc: Disable tests on loong64
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1069165: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069165
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: haskell-pandoc
Version: 3.1.3-1
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: loong64
Dear maintainers,
Compiling the haskell-pandoc failed for loong64 in the Debian Package
Auto-Building environment.
The error log is as follows,
```
[58 of 58] Linking dist-ghc/build/test-pandoc/test-pandoc
/usr/bin/ld.bfd:
/usr/lib/ghc/lib/../lib/loongarch64-linux-ghc-9.4.7/rts-1.0.2/libHSrts-1.0.2_thr.a(NonMovingMark.thr_o):
relocation R_LARCH_B26 overflow 0xfffffffff5fec6a4
Dump relocate record:
stack top relocation name symbol
at
/usr/lib/gcc/loongarch64-linux-gnu/13/../../../loongarch64-linux-gnu/crt1.o(.text+0x0):
...
0x0000000000000000 R_LARCH_NONE `<nameless>' + 3(0x3)
......
```
The Full log can be found at
https://buildd.debian.org/status/logs.php?pkg=haskell-pandoc&ver=3.1.3-1&arch=loong64.
The reason for the above error is that "relocation R_LARCH_B26 overflow
......" occurs during static linking in the test-pandoc stage.
Currently we have two suggestions to solve "relocation R_LARCH_B26
overflow ......" during static linking.
1.Add build rules to reduce binary size.
Use "DEB_SETUP_GHC_CONFIGURE_ARGS += --enable-executable-dynamic -O2"
when compiling haskell-pandoc for loong64.
The parameters are explained as follows,
"--enable-executable-dynamic" means "Enable Executable dynamic linking".
"-O, --enable-optimization[=n]" means "Build with optimization (n is
0--2, default is 1)".
2.Disable tests in d/rules on loong64.
The error "relocation R_LARCH_B26 overflow ......" occurs during the
testing stage.
It is recommended to use "DEB_ENABLE_TESTS = no" in d/rules for loong64.
The haskell-pandoc was built successfully in my local ENV.
About disable tests in d/rules on loong64, please consider the below patch,
```
diff --git a/debian/rules b/debian/rules
index 6fbf01d..385f58e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,10 @@
#!/usr/bin/make -f
DEB_ENABLE_TESTS = yes
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU), loong64))
+DEB_ENABLE_TESTS = no
+endif
+
```
The haskel-pandoc blocks the construction of pandoc.
And pandoc blocks the compilation of 103 packages.
Please help us to choose 1 of the 2 solutions I provided above.
Or help us to solve "relocation R_LARCH_B26 overflow ......".
Looking forward to your reply.
Thanks,
Dandan Zhang
--- End Message ---
--- Begin Message ---
Source: haskell-pandoc
Source-Version: 3.1.3-2
Done: Ilias Tsitsimpis <[email protected]>
We believe that the bug you reported is fixed in the latest version of
haskell-pandoc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ilias Tsitsimpis <[email protected]> (supplier of updated haskell-pandoc
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 01 May 2024 12:36:13 +0300
Source: haskell-pandoc
Architecture: source
Version: 3.1.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group
<[email protected]>
Changed-By: Ilias Tsitsimpis <[email protected]>
Closes: 1069165 1070015
Changes:
haskell-pandoc (3.1.3-2) unstable; urgency=medium
.
* Run build target twice, as a workaround for a GHC bug (Closes: #1070015)
* Disable tests on loong64 (Closes: #1069165)
Checksums-Sha1:
ce71ced4b4edcd8cf51765c5b0ddc8208b77d5cb 8576 haskell-pandoc_3.1.3-2.dsc
66f038da38a86f2aab2a058a46c708c4f9d7d036 14424
haskell-pandoc_3.1.3-2.debian.tar.xz
56fc071c499fcc5668f010b9d17aa9e500fb9232 24496
haskell-pandoc_3.1.3-2_amd64.buildinfo
Checksums-Sha256:
3e13bf95d3d4c95ce9650f3d375ebc08c6fc49cfff1a3ff06bba2bb083605dbb 8576
haskell-pandoc_3.1.3-2.dsc
83d9d0c2b0827fa1206ccdcf1e8054ad19fc5d7f4b71434a5d7c3ea3a9a68ef7 14424
haskell-pandoc_3.1.3-2.debian.tar.xz
42a4aec678c28394e8bfed78283df1c1693c4e354acd75ebaaf12a7312e96068 24496
haskell-pandoc_3.1.3-2_amd64.buildinfo
Files:
810617aa31d3d834c20392717f61e9b8 8576 haskell optional
haskell-pandoc_3.1.3-2.dsc
13b53dd46b4c4011688e6e3e787a2cbc 14424 haskell optional
haskell-pandoc_3.1.3-2.debian.tar.xz
0847284f25ca69be769a64c1f5618dd0 24496 haskell optional
haskell-pandoc_3.1.3-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEJ9c8pfW11+AaUTb116hngMxkQDwFAmYyr2cUHGlsaWFzdHNp
QGRlYmlhbi5vcmcACgkQ16hngMxkQDzutRAAtUDo6lfa0FHW20eDclG5itEHfQe4
kv5Wqmv9vKREiIGWKXVblMAoPC20Tk/fNGDVq4f9mou7C54ELk5Q3gd1fE+kpz2L
50+/yahkxhGVzBsYfkvFgqBn7vhE51BLPo5rXjzGK++GIpmlF0xqdEj6NMgvC1GN
UAe+ei9plO8t8zkLl/v5IEL/jgcixcDc84reIcZJK+v35Wp7CgBnBt8FqJoCcXiT
UTh0ekE4IX0ERr4qRYiN4/p3g/WuxjN5uqhM5diOnR2IzLVSDg5pSazzYfRYcZOV
f98SfO1DS1agZxKAlljZU1y6Y2vpFlB9LxED7673UJBrsh94dbstJHSVx0Z1/OpV
NXzpX0xdx7RGjvPUJSyhnPjKsDIM0M8RDNempYDYP0ak0d1TIvSDOV2L37J5sDuv
xSH2Eprqz68btQirzpLiuD1gMM8yIhVk8TwU2FSj1ypGzSN6gMCXfyAfPRJk3gZ/
Ue7gT0bMD1yrqh8mT5TbJoVG4oBCxt+pqOHVRcj8wbBPn01/OX9l99yBYhaG7MEZ
A5SZMf9GaOnG1+LDhgwF1kTcINI2wI//xHtG5wmBbZk/bn25QwvpDGKI/vxAXaTG
JCRu+0Y8kfwqa2quWsOKp5aAnVqdKj1Nrqm+TCf1218mExzVdw0sQH/b48W0HWuI
dFyosKj4lskVqcQ=
=WgFw
-----END PGP SIGNATURE-----
pgp6vv5eDd5Mi.pgp
Description: PGP signature
--- End Message ---
_______________________________________________
Pkg-haskell-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-haskell-maintainers