Your message dated Sun, 22 Sep 2024 06:54:42 +0000
with message-id <[email protected]>
and subject line Bug#1071153: fixed in haskell-lua 2.3.3+ds1-1
has caused the Debian Bug report #1071153,
regarding haskell-lua: Use extra --ghc-options in d/rules 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.)


-- 
1071153: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071153
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libghc-lua-dev
Version: 2.3.1+ds1-1+loong64
Severity: important
Tags: ftbfs patch 
User: [email protected]
Usertags: loong64 

```            
diff --git a/debian/rules b/debian/rules
index 59f790b..3d9f28f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,9 @@
 DEB_ENABLE_TESTS = yes
 DEB_SETUP_GHC_CONFIGURE_ARGS += --flags="system-lua pkg-config"
 
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU), loong64))
+  DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc-mcmodel=medium"
+endif
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk
```            
               
Meanwhile, you can also consider the patch I attached.
Your opinions are welcome.
               
Thanks.



-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 5.10.0-60.121.0.148.oe2203.loongarch64 (SMP w/32 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to POSIX), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages libghc-lua-dev depends on:
ii  ghc [libghc-base-dev-4.17.2.0-b12f0]  9.4.7-1+loong64.1
ii  libc6                                 2.38-11
ii  libgmp10                              2:6.3.0+dfsg-2
ii  liblua5.4-0                           5.4.6-3+b1
ii  liblua5.4-dev                         5.4.6-3+b1

libghc-lua-dev recommends no packages.

libghc-lua-dev suggests no packages.

-- no debconf information
diff --git a/debian/rules b/debian/rules
index 59f790b..3d9f28f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,9 @@
 DEB_ENABLE_TESTS = yes
 DEB_SETUP_GHC_CONFIGURE_ARGS += --flags="system-lua pkg-config"
 
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU), loong64))
+  DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc-mcmodel=medium"
+endif
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk

--- End Message ---
--- Begin Message ---
Source: haskell-lua
Source-Version: 2.3.3+ds1-1
Done: Ilias Tsitsimpis <[email protected]>

We believe that the bug you reported is fixed in the latest version of
haskell-lua, 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-lua 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: Sun, 22 Sep 2024 09:23:56 +0300
Source: haskell-lua
Architecture: source
Version: 2.3.3+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group 
<[email protected]>
Changed-By: Ilias Tsitsimpis <[email protected]>
Closes: 1071153
Changes:
 haskell-lua (2.3.3+ds1-1) unstable; urgency=medium
 .
   [ Peng Fan <[email protected]> ]
   * Use extra --ghc-options in d/rules on loong64 (Closes: #1071153)
 .
   [ Ilias Tsitsimpis ]
   * Declare compliance with Debian policy 4.7.0
   * New upstream release
Checksums-Sha1:
 d770b38891a009aebe495cdeeca169ed36937f80 2414 haskell-lua_2.3.3+ds1-1.dsc
 0b9e15022c6cffcb43d87d6d14078c2022c2f03f 31892 
haskell-lua_2.3.3+ds1.orig.tar.xz
 899aaf8ab1fba877df7253289a6e7a5f3cd8935a 2408 
haskell-lua_2.3.3+ds1-1.debian.tar.xz
 a214170976cb4c07b50fcdc9768fbf9b4f0df321 6232 
haskell-lua_2.3.3+ds1-1_source.buildinfo
Checksums-Sha256:
 2dcb29800f54f2f0b64b2b35c7f56213821fd19e9e09d95a0a37cd9d9d07e84b 2414 
haskell-lua_2.3.3+ds1-1.dsc
 5c256d49f42741ac686e9c2dcbe5fdd7c8840f35b7c54e044bd47062d9121543 31892 
haskell-lua_2.3.3+ds1.orig.tar.xz
 47790c74ef23bcab8f1545aa9d9c56625171b5b0de88fec94bde6a92ef595456 2408 
haskell-lua_2.3.3+ds1-1.debian.tar.xz
 6f78c4cecc2f167b1e73b186a139eb953ba6f9d3da913472e51a28ab02fa38ba 6232 
haskell-lua_2.3.3+ds1-1_source.buildinfo
Files:
 28d86d3c93cfa3b56cf06df5a08eb641 2414 haskell optional 
haskell-lua_2.3.3+ds1-1.dsc
 263cb34dd97c5ef641054928b5df4d87 31892 haskell optional 
haskell-lua_2.3.3+ds1.orig.tar.xz
 225f775f746c62fa697d8cb19a09053d 2408 haskell optional 
haskell-lua_2.3.3+ds1-1.debian.tar.xz
 cdc195e4ddad1954557317acee46517c 6232 haskell optional 
haskell-lua_2.3.3+ds1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEJ9c8pfW11+AaUTb116hngMxkQDwFAmbvuncUHGlsaWFzdHNp
QGRlYmlhbi5vcmcACgkQ16hngMxkQDwR3A//TY/JVbLfiad1KU5Tp1F8fP+CK4XR
Pcqpg9AhvE5F7reH6Ca/UsW219xtDZBbOyqCvKZBkNZS0Ldl8K/XvahYIX1iFaKe
+T4aFFCV83aYDozBBK2iPO5rJwgLElXrxpATj4Lkk1QosvT4AGx3nwpUXHKmErIa
orn+D9/+Q1Lg0k4I3RpbLVRzfhLnZCMiVpQkKtFnR9yXEgfApu2j+AOWw4nKHCHf
pf7inbTm4GQ+VCsuRMv/8qQ8PPq2M3qcqqa2sfrk+4cPQT0y1VN6WLRjqbJMdu+x
SgRpUfU8pXQhOp2XNNx1eAZHu8Mo0X88QGsK/77lIyeAUKsJ8UFDfd0FakCn6UhH
NaP80rmhKUA6WDEkhSE+Bc61Q9jguwvD6AOT8FHPCNpfk3i2nLzdHyt5EHFo1kYS
dH570FYaQJW9AAvF6CGWrejC5OGgHK/C0j/bF8l2H+htttke5pFLj1THxnDeradD
rrs4znqrur4qQBowZ7dsbyuKBp41z5aqqHy9SO7ic6PDcuDU510MwKbSGw5puITZ
KwsolCbP4kgo/593MZ2ylCXzCa48qQufxl8RlEK1VEibRAFxXnkpU0s0pOn4j2o5
CsE1uNL8YkNt/YM/bkbySiQpqN8AKKQqBXoI/ZzluvZ9LxBbpbXeb5I+ZJs3ZK03
E0r0seT+Je7QVyY=
=dHto
-----END PGP SIGNATURE-----

Attachment: pgp1sH7wW1TS1.pgp
Description: PGP signature


--- End Message ---

Reply via email to