Your message dated Tue, 28 Feb 2023 12:37:34 +0000
with message-id <e1pwzec-009i7z...@fasolo.debian.org>
and subject line Bug#1032120: fixed in tiledb 2.14.1-2
has caused the Debian Bug report #1032120,
regarding tiledb: uses atomic operations, but is not linked to libatomic
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 ow...@bugs.debian.org
immediately.)


-- 
1032120: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032120
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: tiledb
Version: 2.14.1-1
Severity: serious
Tags: ftbfs patch
Control: affects -1 src:tiledb-py

Hi Dirk

TileDB uses atomic operations but it is not linked to libatomic on the
architectures that need it.  This can be seen in recent build logs for
armel[1], mipsel[2], powerpc[3], riscv64[4] and sh4[5], where warnings
like the following are emitted:

dpkg-shlibdeps: warning: symbol __atomic_fetch_add_8 used by
debian/libtiledb2.13/usr/lib/arm-linux-gnueabi/libtiledb.so.2.14 found
in none of the libraries

and

dpkg-shlibdeps: warning: symbol __atomic_compare_exchange_1 used by
debian/libtiledb2.13/usr/lib/riscv64-linux-gnu/libtiledb.so.2.14 found
in none of the libraries

This causes at least tiledb-py to FTBFS on riscv64[6].  I have tested
the patch below on riscv64 and was able to build tiledb-py
successfully.  It should do the right thing on the other architectures
as well.

Regards
Graham


[1] 
https://buildd.debian.org/status/fetch.php?pkg=tiledb&arch=armel&ver=2.14.1-1&stamp=1676252451&raw=0
[2] 
https://buildd.debian.org/status/fetch.php?pkg=tiledb&arch=mipsel&ver=2.14.1-1&stamp=1676341362&raw=0
[3] 
https://buildd.debian.org/status/fetch.php?pkg=tiledb&arch=powerpc&ver=2.14.1-1&stamp=1676251162&raw=0
[4] 
https://buildd.debian.org/status/fetch.php?pkg=tiledb&arch=riscv64&ver=2.14.1-1&stamp=1676255427&raw=0
[5] 
https://buildd.debian.org/status/fetch.php?pkg=tiledb&arch=sh4&ver=2.14.1-1&stamp=1676262874&raw=0
[6] https://buildd.debian.org/status/logs.php?pkg=tiledb-py&arch=riscv64


--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,11 @@
 # Workaround until
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953855 is fixed
 #export DEB_CXXFLAGS_MAINT_APPEND = -DSPDLOG_FMT_EXTERNAL -DFMT_HEADER_ONLY

+# Link with -latomic on architectures that need it
+ifneq (,$(filter $(DEB_HOST_ARCH), armel mipsel powerpc riscv64 sh4))
+  export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic
-Wl,--as-needed
+endif
+
 #PKG_SHORT_DESC := $(shell grep 'Description:' debian/control | tail
-n 1 | cut -d':' -f2 | sed 's/^\s//')

 #ifeq ($(filter nocheck,$(DEB_BUILD_PROFILES)),)

--- End Message ---
--- Begin Message ---
Source: tiledb
Source-Version: 2.14.1-2
Done: Dirk Eddelbuettel <e...@debian.org>

We believe that the bug you reported is fixed in the latest version of
tiledb, 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 1032...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dirk Eddelbuettel <e...@debian.org> (supplier of updated tiledb 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 28 Feb 2023 06:13:55 -0600
Source: tiledb
Architecture: source
Version: 2.14.1-2
Distribution: unstable
Urgency: medium
Maintainer: Dirk Eddelbuettel <e...@debian.org>
Changed-By: Dirk Eddelbuettel <e...@debian.org>
Closes: 1032120
Changes:
 tiledb (2.14.1-2) unstable; urgency=medium
 .
   * debian/rules: Apply patch kindly provided by Graham Inggs to link with
     -latomic where needed (Closes: #1032120)
Checksums-Sha1:
 27ddc56ec66537c9f81bbe44c02685d4c924cacb 2027 tiledb_2.14.1-2.dsc
 0e7756025a891b102a7da8928be92d35eb1c8ce0 8764 tiledb_2.14.1-2.debian.tar.xz
 15c7c0ec07a0493ef661e258c02fc585acaea3cb 7765 tiledb_2.14.1-2_amd64.buildinfo
Checksums-Sha256:
 026100fda875b35a7169e9bdba296e26c798b677c28fb8aae58e1e87a085969b 2027 
tiledb_2.14.1-2.dsc
 1f21e045d3641895236128fca5b202857869ede7a967ed1d694563161b47c4a6 8764 
tiledb_2.14.1-2.debian.tar.xz
 b5b1978261bb78d3cf9bf6006b5157de9befc597cf3420139557702fb74921b6 7765 
tiledb_2.14.1-2_amd64.buildinfo
Files:
 a49dfe168c3a82cc6b2b05538954cc1b 2027 libs optional tiledb_2.14.1-2.dsc
 91d9c3b2e92a963ac74fd6083c7e6be5 8764 libs optional 
tiledb_2.14.1-2.debian.tar.xz
 d1211da8deb8dd6bcdf8f44881b1e794 7765 libs optional 
tiledb_2.14.1-2_amd64.buildinfo

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

iQIVAwUBY/3yaaFIn+KrmaIaAQhBkg//c/I+na3MX8wF19W8yUT7IFtlhUpcSv5o
9VOcszJhKfvHjEpdxzff193jFMXAmb6ZgEh6hWyBK+IXz0dg13lCqFs9qgFJjylV
tO3kEZGvyTrp+/2dPWv0Kzra1LVUoUkVy/snIdxijQzwXlhfxvczRHt5Ay8QjTrK
qAdcCwVzZ0SEQpz29M5jOSuOy47eY3eTEztOhLHvMmcYXKk/XFYwzfTTmU74RvDG
gTimJ4tCF10qbWhA8m4koHLcWy8F83+MSYCF6ZQjiqYp75f2FhN5Pqsfcj46shzn
5qWK/XwjGx6Amq1hUZXP8HVOWIVrlA0bgUvYhiuwxcPqljH1nfcq5bTE/7GYLJmQ
6qND8QZupZc/iJDcRB1kCoCRhMvocRlPR8xis/8OIZkaHDpdGDMgBP7Cmn9wsA9K
VleKj302QxCVkGyIHv42gk5z0n+OIaZfqvP7xprwGIs6z3aAVX+n50xGkY+3+DoR
4ciT2TzXzM6FTh1MA02jUUv4kdWNS9dI57HrexpnSR4W83I3YyyMa7l+N7bGEwit
8xF3FMJi/XzuJrR1LFiuxt4g3r3g1T1DOWkBeUdz3o8JgD1RrERQkYfRZsAvUw5Y
WpT4lJjc9+muhJskwNtO8P9OpeZbZ3lxAtnJqO9fWdNgoXbEW7CIJfV1PpVlZSTU
HjXndVjSmLQ=
=vjuJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to