Your message dated Wed, 12 Mar 2025 09:32:04 +0000
with message-id <[email protected]>
and subject line Bug#1100111: fixed in suitesparse-graphblas 7.4.0+dfsg-2
has caused the Debian Bug report #1100111,
regarding suitesparse-graphblas: Please add extra cflags for 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.)


-- 
1100111: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100111
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: suitesparse-graphblas
Version: 7.4.0+dfsg-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: loong64

Dear maintainers,

Compiling the suitesparse-graphblas failed for loong64 in the Debian Package Auto-Building environment.
The error log is as follows,
```
......
[100%] Linking C shared library libgraphblas.so
/usr/bin/ld: CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__div_fc32.c.o: relocation R_LARCH_B26 overflow 0xfffffffff7ffe73c
Dump relocate record:
stack top        relocation name        symbol
at CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__div_fc32.c.o(.text+0xb80):
...
0x0000000000000000 R_LARCH_B26    `.L115'
......
```
The full build log can be found at https://buildd.debian.org/status/logs.php?pkg=suitesparse-graphblas&ver=7.4.0%2Bdfsg-1%2Bb1&arch=loong64.

Please consider the patch I attached (Add extra build cflags to fix relocation R_LARCH_B26 overflow). Based on attached patch, I have built suitesparse-graphblas_7.4.0+dfsg-1 successfully on locally.
```
......
    dh_builddeb
dpkg-deb: building package 'libgraphblas7-dbgsym' in '../libgraphblas7-dbgsym_7.4.0+dfsg-1_loong64.deb'. dpkg-deb: building package 'libgraphblas-doc' in '../libgraphblas-doc_7.4.0+dfsg-1_all.deb'. dpkg-deb: building package 'libgraphblas-dev' in '../libgraphblas-dev_7.4.0+dfsg-1_loong64.deb'. dpkg-deb: building package 'libgraphblas7' in '../libgraphblas7_7.4.0+dfsg-1_loong64.deb'.  dpkg-genbuildinfo --build=binary -O../suitesparse-graphblas_7.4.0+dfsg-1_loong64.buildinfo  dpkg-genchanges --build=binary -O../suitesparse-graphblas_7.4.0+dfsg-1_loong64.changes
```

Your opinions are welcome.

Best regards,
Dandan Zhang

--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 CFLAGS := $(CFLAGS) $(CPPFLAGS)
 
+ifneq (,$(filter $(DEB_BUILD_ARCH),loong64))
+CFLAGS := $(CFLAGS) $(CPPFLAGS) -mcmodel=medium
+endif
+
 # Flags for CMake
 export CMAKE_OPTIONS := -DCMAKE_INSTALL_PREFIX=/usr

--- End Message ---
--- Begin Message ---
Source: suitesparse-graphblas
Source-Version: 7.4.0+dfsg-2
Done: Gianfranco Costamagna <[email protected]>

We believe that the bug you reported is fixed in the latest version of
suitesparse-graphblas, 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.
Gianfranco Costamagna <[email protected]> (supplier of updated 
suitesparse-graphblas 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, 12 Mar 2025 08:54:10 +0100
Source: suitesparse-graphblas
Built-For-Profiles: noudeb
Architecture: source
Version: 7.4.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Closes: 1100111
Changes:
 suitesparse-graphblas (7.4.0+dfsg-2) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Dandan Zhang ]
   * Fix build on loongarch64 (Closes: #1100111)
Checksums-Sha1:
 c59d57d7ad8839db1e86f66ae10897b02515d0e5 2278 
suitesparse-graphblas_7.4.0+dfsg-2.dsc
 c93804608760530f16dcd2d229813fe97074cdfc 44652 
suitesparse-graphblas_7.4.0+dfsg-2.debian.tar.xz
 3264c9bc26280aa28e672c344e49bc2acaf0784e 8480 
suitesparse-graphblas_7.4.0+dfsg-2_source.buildinfo
Checksums-Sha256:
 bfde0067964e75ff25e88c92dd2553493329f94f9efc4e2d96ec033c25f99506 2278 
suitesparse-graphblas_7.4.0+dfsg-2.dsc
 cca48a9aa66db583a11fbf6c3eb04eb4fc2b26e452b1b6ccba349e2e38710f96 44652 
suitesparse-graphblas_7.4.0+dfsg-2.debian.tar.xz
 6f30d0d261ac228733fad0e07ce0e8f2a027ab3e384b98c86fe18ee7338abc01 8480 
suitesparse-graphblas_7.4.0+dfsg-2_source.buildinfo
Files:
 d3f701580ad9c06105c96e1b70df0f5c 2278 math optional 
suitesparse-graphblas_7.4.0+dfsg-2.dsc
 4a6966e21cdd37abe74ee3a8f2f2a390 44652 math optional 
suitesparse-graphblas_7.4.0+dfsg-2.debian.tar.xz
 1b5b8fd622f127a52d915aa84cc3fba9 8480 math optional 
suitesparse-graphblas_7.4.0+dfsg-2_source.buildinfo

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

iQIzBAEBCgAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmfRPcQACgkQ808JdE6f
XdlLQg//cjm4KrfBxzNSeIum2F/92U5OjWoWkzb3np7CGGOjRzAgq/I7DPhNKi0f
yZVYwicy41qCxecMSVC2MJJBKGnIona01hvxD4bYToRb5f0zL6AKRpzjTQDTnZYA
+Uq9EXx26dufnGua0k/6yucaENe6JyG4TFh5NcEnUpbwhKqhL1U7ofYD9E2oLcrE
l/lBTGK8i4fnHbRzqVYUj6CxEF8b0wd0lI2CYKje20EwBXVhB+h/dT/oh3/m6u4b
+yIh2bO5PTVZN248RNIgkuQRHv86kK4FmNpuhRJA7skL8dSrVlBLKKmjqvhuKDQq
DMsXzBKFfh1h+qlIYOuE5VYx4YF9I9WKdM5vLpH32EeuRstSDVExcBlByWskhZg3
cUxt/E3ulBdJqa140rfsWRJzddVuWh6BlmADoXtlJQmdWtTlN3DPCrnDCkm1kIO6
bgnvSGfKpPszXcq8tVaG/qev6UyMLXnuQM1vBd/APPQ/pqu7+TEQSx2sVvmkJiar
EOgBl2Pa6wVBS3Ydlzul/PISSApqC/reLEVBAb5NXbpqui1AqzIyTzAceS3DQH3J
8BibblxXifOuhzK19T1kMIO8WI4KTNncDsfKCTFZe9g7KGbpHA90gWAqoA4xf7/+
ktfWmsi3RRd+fff1n8vmu2sKng16JFAKefCZ0JvektUwbrqwPRs=
=jvGK
-----END PGP SIGNATURE-----

Attachment: pgp45pWFmfUIb.pgp
Description: PGP signature


--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to