Your message dated Fri, 31 Mar 2023 19:49:49 +0000
with message-id <[email protected]>
and subject line Bug#1033672: fixed in otf2 3.0.2-2
has caused the Debian Bug report #1033672,
regarding otf2: FTBFS on riscv64 because it needs 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 [email protected]
immediately.)
--
1033672: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033672
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: otf2
Version: 3.0.2-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu lunar ubuntu-patch
Hi Samuel,
The current otf2 fails to build on riscv64 due to failing to detect gcc
atomics support:
[...]
checking for gcc atomic builtins... no, using precompiled unknown version
[...]
config.status: error: cannot find input file:
`../common/utils/src/atomic/UTILS_Atomic.inc.unknown.s.in'
[...]
(https://launchpad.net/ubuntu/+source/otf2/3.0.2-1/+build/25411521)
This is because on riscv64, using gcc atomics requires linking to libatomic,
so detection fails.
The attached patch is sufficient to fix the build failure. Maybe it should
be fixed upstream, but I'm not messing with m4 for that ;)
I have uploaded this patch to Ubuntu.
Thanks for considering,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
[email protected] [email protected]
diff -Nru otf2-3.0.2/debian/rules otf2-3.0.2/debian/rules
--- otf2-3.0.2/debian/rules 2022-09-18 13:51:45.000000000 -0700
+++ otf2-3.0.2/debian/rules 2023-03-29 11:34:21.000000000 -0700
@@ -5,6 +5,11 @@
export DEB_HOST_MULTIARCH
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifeq ($(DEB_HOST_ARCH),riscv64)
+ DEB_LDFLAGS_MAINT_APPEND = -latomic
+endif
+
%:
dh $@
--- End Message ---
--- Begin Message ---
Source: otf2
Source-Version: 3.0.2-2
Done: Samuel Thibault <[email protected]>
We believe that the bug you reported is fixed in the latest version of
otf2, 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.
Samuel Thibault <[email protected]> (supplier of updated otf2 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: Fri, 31 Mar 2023 21:39:48 +0200
Source: otf2
Architecture: source
Version: 3.0.2-2
Distribution: unstable
Urgency: medium
Maintainer: Samuel Thibault <[email protected]>
Changed-By: Samuel Thibault <[email protected]>
Closes: 1033672
Changes:
otf2 (3.0.2-2) unstable; urgency=medium
.
* patches/afs_gcc_atomic_builtins: Fix build on architectures where
libatomic is needed (Closes: Bug#1033672)
Checksums-Sha1:
253249a21ba3027782f208972768ae0dce85806c 2307 otf2_3.0.2-2.dsc
fec044d428889f9e74eeb5fd7cb9710bf4da0fe2 7112 otf2_3.0.2-2.debian.tar.xz
6e94b8cda56c3e4721ec656753e85ca6a88d3fa3 12403 otf2_3.0.2-2_amd64.buildinfo
Checksums-Sha256:
d5d323d332b62a4978247d8b7e8519c5b628941efec9658633de31a58895f4f8 2307
otf2_3.0.2-2.dsc
a9bd5532daabdacfc8ca078d9ae0e9d3fb37ffd7eb170ac6daf17034989ee3f2 7112
otf2_3.0.2-2.debian.tar.xz
7bca6d4af9224aaf18fd029054f3eb66b468bef6f671f27e7fdf2f17d4a560ee 12403
otf2_3.0.2-2_amd64.buildinfo
Files:
ab77c6f0f906a6d84ae88f058685eba8 2307 libs optional otf2_3.0.2-2.dsc
2b3359e1e6247f9db0a021ce27e8ef06 7112 libs optional otf2_3.0.2-2.debian.tar.xz
a0e62316db0a073e323d9baacdd468b2 12403 libs optional
otf2_3.0.2-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEi6MnFvk67auaclLJ5pG0tXV4H2IFAmQnN+8ACgkQ5pG0tXV4
H2Kh2A/+J6unABL2rTy/2gIDMrsMujx+AUw+qnC8ZLDgMkugtgRZ/HxgKj9ZHXZU
aDK7Khwcik6WJBbucY22CLQfjv9cTC3w7jxfJTg5ed+D+QuPPvV0D2gz2G9gYsik
melH7is3h30YTzxZIiZhXrhtROZ79mPWlLgLkNjTNGi3wTrQTqeYFFKUZf20ro+I
/v/0CmdKtILeYpeh+xqetPqCAVS/UmgjhiglMy2RnWop34XCyvHySFR3SpQ7Hj1q
Z4of19sJNn1pWil2n+eIYo56cehZGe+H/EPzPrPgLqzOW3YwMigJ3JqsgbsFA9Lt
I+Ueli5SivQBtqFXlU/6N5MaDBM2gb2U9pjaJGo5S2iGPMsXgLA5GQCnGp1OBdhq
cfjlJhF50gMIVEkPivoapQ513RTEY8/sy8+SWcz3zRDkClLZ69HTsayygCKHlGBn
RR1YX+NWmlsPV59YFn+3MMWuBbAiEKgI+dpyWXwjXufjkrp+RhQTcVBFVpoMi1Co
5Qcjff5On0Bi+qaV+b/G06WLYVwUdVDy0tGwpyOD2rZOY/xZv4oUYGP+oj5Em77p
7s0C+tYDXaFuS22yqKVQvtJd8BiQo6lQZmuMfeOTYZNJnb8I1kL88rRfS78DksBt
MvpFCZcWkEQsua5k+j9f7IWg5wIdSn7YflP1gjxeXTzRqya8lIU=
=pRMY
-----END PGP SIGNATURE-----
--- End Message ---