Your message dated Mon, 17 Mar 2025 09:51:54 +0000
with message-id <[email protected]>
and subject line Bug#1099488: fixed in coot 1.1.11+dfsg-1
has caused the Debian Bug report #1099488,
regarding coot: undefined reference to `__atomic_*' 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.)


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

Dear maintainers,

Compiling the coot failed for loong64 in the Debian Package Auto-Building environment.
The error log is as follows,
```
......
/usr/bin/ld: mini-rsr.o: in function `bool std::__atomic_impl::__compare_exchange<false, boost::lockfree::detail::tagged_ptr<boost::lockfree::queue<std::function<void (int)>*>::node> >(boost::lockfree::detail::tagged_ptr<boost::lockfree::queue<std::function<void (int)>*>::node>&, std::remove_volatile<boost::lockfree::detail::tagged_ptr<boost::lockfree::queue<std::function<void (int)>*>::node> >::type&, std::remove_volatile<boost::lockfree::detail::tagged_ptr<boost::lockfree::queue<std::function<void (int)>*>::node> >::type&, bool, std::memory_order, std::memory_order)': /usr/include/c++/14/bits/atomic_base.h:1002:(.text._ZN5boost8lockfree5queueIPSt8functionIFviEEJEE3popIS5_EEbRT_[_ZN5boost8lockfree5queueIPSt8functionIFviEEJEE3popIS5_EEbRT_]+0x180): undefined reference to `__atomic_compare_exchange_16'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:910: mini-rsr-bin] Error 1
.......
```
The full build log can be found at https://buildd.debian.org/status/logs.php?pkg=coot&arch=loong64.

Please consider the patch I attached.
Add -latomic to LDFLAGS on loong64.
Your opinions are welcome.

Best regards,
Dandan Zhang

diff -Nru coot-1.1.09+dfsg/debian/rules coot-1.1.09+dfsg/debian/rules
--- coot-1.1.09+dfsg/debian/rules       2025-01-22 08:11:25.000000000 +0000
+++ coot-1.1.09+dfsg/debian/rules       2025-01-22 08:13:31.000000000 +0000
@@ -15,7 +15,7 @@
 endif
 
 # Link with libatomic on riscv64 and mips64el
-ifneq (,$(filter $(DEB_HOST_ARCH),riscv64 mips64el))
+ifneq (,$(filter $(DEB_HOST_ARCH),riscv64 mips64el loong64))
        export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic 
-Wl,--as-needed
 endif
 

--- End Message ---
--- Begin Message ---
Source: coot
Source-Version: 1.1.11+dfsg-1
Done: Andrius Merkys <[email protected]>

We believe that the bug you reported is fixed in the latest version of
coot, 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.
Andrius Merkys <[email protected]> (supplier of updated coot 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: Mon, 17 Mar 2025 11:00:29 +0200
Source: coot
Architecture: source
Version: 1.1.11+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Andrius Merkys <[email protected]>
Closes: 1099488
Changes:
 coot (1.1.11+dfsg-1) unstable; urgency=medium
 .
   * New upstream version 1.1.11+dfsg
   * Link with -latomic on loong64 (Closes: #1099488). Thanks Dandan Zhang.
   * Refresh patches.
   * Drop 26c08247673834ba561feeb9260c4f1f339ef4b5.patch (integrated upstream)
   * Explicitly indicate buildsystem for dh_auto_configure.
Checksums-Sha1:
 1992629f81ece9463bc2a22c6d870680b15d4f69 2998 coot_1.1.11+dfsg-1.dsc
 bacf136b7b1e9e2657a69c37bc1c928da57af0d3 88679040 coot_1.1.11+dfsg.orig.tar.xz
 99d85806563449f5451bed3405199803029ea7cb 53264 coot_1.1.11+dfsg-1.debian.tar.xz
 014431e557c0468eb6144cf72f6db8f5d24c5c71 14014 
coot_1.1.11+dfsg-1_source.buildinfo
Checksums-Sha256:
 33162c469d39993c4e7384c71a0f8c204309ae9a57b8795513bcfeb4f46cb4b5 2998 
coot_1.1.11+dfsg-1.dsc
 aaa1e8223f58bf75a3ab48f804c81830169ceb75dc5def3a263730538fc546cc 88679040 
coot_1.1.11+dfsg.orig.tar.xz
 9e9539899b9a225598650f3d8a0dec2ca55acda2cf982c467e93d61050a82ac1 53264 
coot_1.1.11+dfsg-1.debian.tar.xz
 2c60c14b092bb8b43c15548574df35e0dfee9b91f6c2f0279947e1c8e3597c6d 14014 
coot_1.1.11+dfsg-1_source.buildinfo
Files:
 c0533c7e00c5b618087d8337b0d7989b 2998 science optional coot_1.1.11+dfsg-1.dsc
 1f58e4cfaf06585cb58ebb653ae09901 88679040 science optional 
coot_1.1.11+dfsg.orig.tar.xz
 514d828dccc3a2ae21b47c71e5e2c9d7 53264 science optional 
coot_1.1.11+dfsg-1.debian.tar.xz
 d0e910dafd22361430eadfcabe2ebee0 14014 science optional 
coot_1.1.11+dfsg-1_source.buildinfo


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

iQJGBAEBCgAwFiEEdyKS9veshfrgQdQe5fQ/nCc08ocFAmfX5UYSHG1lcmt5c0Bk
ZWJpYW4ub3JnAAoJEOX0P5wnNPKHIKYQAImH2Q6FyJnane47KY4wm7W3uxG64ceq
CqKmGd6aUZKmnbH7m8R16UveZqEFrtAWD9Cnprgq5swIa494EtAHxWHSfmbVtyuJ
MjHEvAJsUzZLGBmoY4ZAyxW/+7qKhnvJ1UbRemNxSY/wmYBo2Npu+8S8Xt9CuEJC
hCnkw4WK3+KCEbgt3Co2lCWBSarel3teT9DXsr3HVZxKk7z0VtnTEdoT68tzdkez
YzOAHm0xb77ruuBgEUarp06+VHF+kZNp0kUfZttWqxqFVQZP2OV1ceGUoT1j7cuE
4oergYK3NwOjruzhHxXst9j1UBw7IR9ayBFEwrj0IzyW/Zap+qZn8DAjxHOEodo7
QATc61Jrp16zMSnJpXBvcSxx6F4btMNlOgp4TcH3hmeKkfLK5HxU1EiQmOeazWB+
loGQU39N25I0QZVyc98P+C3jTakA4+CVoQ4I6N/UAJmE4vzfLdXWN2ye55PWZIZU
y7EP2GBgResUeDscMwrb/DsvEwD5aJNNx305WIVvydBwrsXwOliW4nS3rj1JnWns
ARXjx5JeoFYik4TqmVH4qc/Xcu9rPKkMiwSyMgjNMeavHprvdq07miRQ9mka/Fva
9lRRoWHMg8EYSzhCEN6D241C9R4fZDSZlCUMSkUmiL3nGoMCWNV2V1dXDJl1S9Lh
Dhv14nmjScXP
=4e2q
-----END PGP SIGNATURE-----

Attachment: pgpaiYybDwveN.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