Your message dated Thu, 10 Oct 2024 01:52:26 +0000
with message-id <[email protected]>
and subject line Bug#1069171: fixed in haskell-pandoc-lua-engine 0.2.1.2-1
has caused the Debian Bug report #1069171,
regarding haskell-pandoc-lua-engine: 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.)
--
1069171: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069171
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: haskell-pandoc-lua-engine
Version: 0.2.0.1-1
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: loong64
Dear maintainers,
The haskell-pandoc-lua-engine is blocked from building by haskell-pandoc
in the Debian Package Auto-Building environment.
Compiling the haskell-pandoc-lua-engine failed for loong64 in my local ENV.
The error message is consistent with haskel-pandoc, and both are related
to "relocation R_LARCH_B26 overflow ......" during static linking in the
test-pandoc stage.
The build error log of haskell-pandoc-lua-engine from my local ENV is as
follows,
```
[6 of 6] Linking
dist-ghc/build/test-pandoc-lua-engine/test-pandoc-lua-engine
/usr/bin/ld.bfd:
/usr/lib/ghc/lib/../lib/loongarch64-linux-ghc-9.4.7/rts-1.0.2/libHSrts-1.0.2.a(NonMovingMark.o):
relocation R_LARCH_B26 overflow 0xfffffffff61da41c
Dump relocate record:
stack top relocation name symbol
at
/usr/lib/ghc/lib/../lib/loongarch64-linux-ghc-9.4.7/rts-1.0.2/libHSrts-1.0.2.a(NonMovingMark.o)(.text+0xae4):
...
0x0000000000000000 R_LARCH_B16 `.L172'
......
```
There are two suggestions to solve "relocation R_LARCH_B26 overflow
......" during static linking.
1.Add build rules to reduce binary size.
2.Disable tests in d/rules on loong64.
The detailed information can be found from haskell-pandoc's Bug
(#1069165) I just submitted.
It is recommended to use "DEB_ENABLE_TESTS = no" in d/rules for loong64.
Please consider the patch I attached.
With the attached patch, the haskell-pandoc-lua-engine was built
successfully in my local ENV.
```
......
if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null;
then dh_scour -plibghc-pandoc-lua-engine-prof ; fi
dh_md5sums -plibghc-pandoc-lua-engine-prof
dh_builddeb -plibghc-pandoc-lua-engine-prof
dpkg-deb: building package 'libghc-pandoc-lua-engine-prof' in
'../libghc-pandoc-lua-engine-prof_0.2.0.1-1_loong64.deb'.
dpkg-genbuildinfo
-O../haskell-pandoc-lua-engine_0.2.0.1-1_loong64.buildinfo
dpkg-genchanges -O../haskell-pandoc-lua-engine_0.2.0.1-1_loong64.changes
```
Your opinions are welcome.
Thanks,
Dandan Zhang
diff -Nru haskell-pandoc-lua-engine-0.2.0.1/debian/rules
haskell-pandoc-lua-engine-0.2.0.1/debian/rules
--- haskell-pandoc-lua-engine-0.2.0.1/debian/rules 2024-01-04
00:32:40.000000000 +0000
+++ haskell-pandoc-lua-engine-0.2.0.1/debian/rules 2024-01-04
00:32:40.000000000 +0000
@@ -1,6 +1,9 @@
#!/usr/bin/make -f
DEB_ENABLE_TESTS = yes
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU), loong64))
+DEB_ENABLE_TESTS = no
+endif
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
--- End Message ---
--- Begin Message ---
Source: haskell-pandoc-lua-engine
Source-Version: 0.2.1.2-1
Done: Scott Talbert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
haskell-pandoc-lua-engine, 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.
Scott Talbert <[email protected]> (supplier of updated haskell-pandoc-lua-engine
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, 09 Oct 2024 19:19:01 -0400
Source: haskell-pandoc-lua-engine
Architecture: source
Version: 0.2.1.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group
<[email protected]>
Changed-By: Scott Talbert <[email protected]>
Closes: 1069171 1071173
Changes:
haskell-pandoc-lua-engine (0.2.1.2-1) unstable; urgency=medium
.
[ zhangdandan <[email protected]> ]
* Add rules change to fix relocation error on loong64 (Closes: #1071173,
#1069171)
.
[ Ilias Tsitsimpis ]
* Declare compliance with Debian policy 4.7.0
.
[ Scott Talbert ]
* New upstream release
Checksums-Sha1:
97c8d9a2357bfca2e94e97f84046ff64045df14d 4790
haskell-pandoc-lua-engine_0.2.1.2-1.dsc
450c6954690137d2a144bfbddba0e739cb73e880 81179
haskell-pandoc-lua-engine_0.2.1.2.orig.tar.gz
6cbb9630998ffac3ac7415afd7722b1e56f7c1e8 2076
haskell-pandoc-lua-engine_0.2.1.2-1.debian.tar.xz
142967f0d857481cc1bfbf3fbb53a745b92936f4 10716
haskell-pandoc-lua-engine_0.2.1.2-1_source.buildinfo
Checksums-Sha256:
e16b93ef2f3461b7b5dff0f04b8eb02d4afdad5febe451b90802603f777a92ef 4790
haskell-pandoc-lua-engine_0.2.1.2-1.dsc
fb7d5a75c78345a373bde00730607759e3aef8fa98800773e64be4608421a51a 81179
haskell-pandoc-lua-engine_0.2.1.2.orig.tar.gz
e5fe73fcc55db204bbb1af866c53f3935307a5f038319284343d9119cb448d52 2076
haskell-pandoc-lua-engine_0.2.1.2-1.debian.tar.xz
9f82fdf1c0d03c3c0aae0e6b5de0d02bb9cbfe24e4d082d6d96851e4bbffb0ed 10716
haskell-pandoc-lua-engine_0.2.1.2-1_source.buildinfo
Files:
0510330734cbe5273b1848e5fd7bdbfd 4790 haskell optional
haskell-pandoc-lua-engine_0.2.1.2-1.dsc
c75081160506edf996a942a5255a5161 81179 haskell optional
haskell-pandoc-lua-engine_0.2.1.2.orig.tar.gz
2f63b35a007724944db36b0a5ab30499 2076 haskell optional
haskell-pandoc-lua-engine_0.2.1.2-1.debian.tar.xz
b25f45044c8b4def819628379de9cc7d 10716 haskell optional
haskell-pandoc-lua-engine_0.2.1.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEbnQ09Yl9Q7F/zVe3U9W8ZLUjeKIFAmcHD88PHHN3dEB0ZWNo
aWUubmV0AAoJEFPVvGS1I3ii7LUP/3e9jGxgbphX+S6n2J/tGvBGKw/+EyxINXQL
tU/dDYC2pp6mk5Oa4q0TseBXWyztWQuh7DxIxUDHe2EmX2tIgRqnF9O+ucqg1xks
DXGF+tG1Qs6gkpqpj8T+kQfXXUeRvpPwvmnKrDRJ7S1kzKCsf33Y+9FRqVnho4U8
4LmureTkSsWkcGVL6X/Ib6f/RBNfPGQsVdIPS0OhUJqpTrVamSeptsX9DX5bvvmA
81f6pLc3UMVHdRG3dRnaFuXiT7dV+Uo0C+WuRm/eQlLvu66Mlt86gdPzTf+Hp73e
nyYJW/JYk9b5cyKi7m0ph0kz6o0NedvxboOoA+I/M98xC1Wojfoyli305HH7Qjic
ezbXZNq6l4hAzZHpzHW2GbpP9CvLf86hocqivfg61p6OTzrC5jfbwjyaynbW1wK4
gtiKgIxWT1zes9spgWw1TMHvw8i8zhN5ng8pgW7Odppk9uI8AhWgu+DwEwOpW6OP
ocSN0w/gu1gykH/nGf+Jux2a8jf/aXIyNVLfziUFK7bvcri6ayfEnzaYE11sPTeG
DnptdHuVIFntYx45UazTsNSWJZB3xwjpyfQMigkkIikIlMTLFLiJgStBtA7Duwgb
TtZMTL3S//p/6ZuUjELWogPh0p9mEVImIUFY+PrC/9bpb3W7Bikii0+ce6vt/o/w
UTdGe2ZK
=fsPG
-----END PGP SIGNATURE-----
pgpmUwZzqWvQg.pgp
Description: PGP signature
--- End Message ---