Your message dated Fri, 07 Jul 2023 22:21:44 +0000
with message-id <[email protected]>
and subject line Bug#1025905: fixed in simgear 1:2020.3.18+dfsg-2
has caused the Debian Bug report #1025905,
regarding simgear: FTBFS on riscv64 [PATCH]
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.)
--
1025905: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025905
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: simgear
Version: 1:2020.3.16+dfsg-1
tags: patch
forwarded: https://sourceforge.net/p/flightgear/simgear/merge-requests/119/
Hello, changing the atomic int to atomic bool makes the build succeed without
need of any additional latomic slow linking
in riscv64, resulting in faster runtime code.
I already fowarded upstream.
thanks
G.
diff -Nru simgear-2020.3.16+dfsg/debian/changelog
simgear-2020.3.16+dfsg/debian/changelog
--- simgear-2020.3.16+dfsg/debian/changelog 2022-10-26 08:53:00.000000000
+0000
+++ simgear-2020.3.16+dfsg/debian/changelog 2022-12-10 22:27:56.000000000
+0000
@@ -1,3 +1,9 @@
+simgear (1:2020.3.16+dfsg-1.1) unstable; urgency=medium
+
+ * Fix build on riscv64 (Closes: #-1).
+
+ -- Gianfranco Costamagna <[email protected]> Sat, 10 Dec 2022
23:27:56 +0100
+
simgear (1:2020.3.16+dfsg-1) unstable; urgency=medium
* New upstream version 2020.3.16+dfsg
diff -Nru simgear-2020.3.16+dfsg/debian/patches/fix-atomic-build-riscv64.patch
simgear-2020.3.16+dfsg/debian/patches/fix-atomic-build-riscv64.patch
--- simgear-2020.3.16+dfsg/debian/patches/fix-atomic-build-riscv64.patch
1970-01-01 00:00:00.000000000 +0000
+++ simgear-2020.3.16+dfsg/debian/patches/fix-atomic-build-riscv64.patch
2022-12-10 22:27:54.000000000 +0000
@@ -0,0 +1,23 @@
+Description: Don't use atomic_bool, but atomic_int, the latter doesn't need
external latomic linking
+on riscv64
+Author: Gianfranco Costamagna <[email protected]>
+Origin: https://sourceforge.net/p/flightgear/simgear/merge-requests/119/
+Last-Update: 2022-12-10
+
+--- simgear-2020.3.16+dfsg.orig/simgear/threads/SGThread.hxx
++++ simgear-2020.3.16+dfsg/simgear/threads/SGThread.hxx
+@@ -171,10 +171,10 @@ private:
+ bool _terminated;
+ int last_await_time;
+
+- std::atomic<bool> dataReady;
+- std::atomic<bool> complete;
+- std::atomic<bool> process_ran;
+- std::atomic<bool> process_running;
++ std::atomic<int> dataReady;
++ std::atomic<int> complete;
++ std::atomic<int> process_ran;
++ std::atomic<int> process_running;
+
+ public:
+ SGExclusiveThread();
diff -Nru simgear-2020.3.16+dfsg/debian/patches/series
simgear-2020.3.16+dfsg/debian/patches/series
--- simgear-2020.3.16+dfsg/debian/patches/series 2022-10-24
11:25:38.000000000 +0000
+++ simgear-2020.3.16+dfsg/debian/patches/series 2022-12-10
22:27:44.000000000 +0000
@@ -5,3 +5,4 @@
disable_network_tests.patch
spelling_fixes.patch
fix-ftbfs-on-armel-armhf.patch
+fix-atomic-build-riscv64.patch
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: simgear
Source-Version: 1:2020.3.18+dfsg-2
Done: Dr. Tobias Quathamer <[email protected]>
We believe that the bug you reported is fixed in the latest version of
simgear, 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.
Dr. Tobias Quathamer <[email protected]> (supplier of updated simgear 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: SHA256
Format: 1.8
Date: Fri, 07 Jul 2023 23:34:24 +0200
Source: simgear
Architecture: source
Version: 1:2020.3.18+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian FlightGear Crew <[email protected]>
Changed-By: Dr. Tobias Quathamer <[email protected]>
Closes: 1025905
Changes:
simgear (1:2020.3.18+dfsg-2) unstable; urgency=medium
.
* Team upload.
* Fix build on riscv64.
Thanks to Gianfranco Costamagna <[email protected]>
(Closes: #1025905)
Checksums-Sha1:
fcae4dd70329525baf8e9139054f1c19f371227c 2182 simgear_2020.3.18+dfsg-2.dsc
965acd826ed639b9c076532ff9db2ff0341d391c 17428
simgear_2020.3.18+dfsg-2.debian.tar.xz
79096b8a1253ca1bf806594806ce6ef6fee11396 11767
simgear_2020.3.18+dfsg-2_amd64.buildinfo
Checksums-Sha256:
02970351035ee3af411c8d20857007e83685dc5144cd9f470ff634452f969320 2182
simgear_2020.3.18+dfsg-2.dsc
0d2018ce82b7ae1bd06fb7116905f7525f3f046533d255ac1db306d774ecbe62 17428
simgear_2020.3.18+dfsg-2.debian.tar.xz
d76613f4d1257433448f1d689343a4e7e88defdfda1759e1fd4a02be15095a25 11767
simgear_2020.3.18+dfsg-2_amd64.buildinfo
Files:
5ab08ef3282295c92fd59ea69f8af5e6 2182 libs optional
simgear_2020.3.18+dfsg-2.dsc
960955985e0df7f3e98241b85145631a 17428 libs optional
simgear_2020.3.18+dfsg-2.debian.tar.xz
1301b1d84ad2b5c74d6b6c3722e9539c 11767 libs optional
simgear_2020.3.18+dfsg-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE0cuPObxd7STF0seMEwLx8Dbr6xkFAmSoipIACgkQEwLx8Dbr
6xku3A//XFEiay9bJDm3vgTlB6HRtZ2eo05KpMh6dUerZdkv1TJ+oWFpDEjwOkPK
jEO+llyjTKr8+mKxT5s5vXrQi4ecBRVOSUpYoEUjRfNMTKF4u7lYseC+DqWimbWf
mYhZK4QuoIkp9eeM5EnAlpHIRQw3a87vc6Zxlo+rmoKmnqLKnN65bKy8Eqkr6ExB
mbOhB72CrM14nAloFB5ITdHCoUIyS+fuaG9PsIQA3YIUvePP4te/HMuuD7yzX/5N
XGAtREJ1ySdH/7myVhi2i9Jr4SeL81v0uwahTpem3tOkMpiG2Qjd6czPfwng4asT
pl1UqHwPYfyG7lbLZh2tJy1rB3YgDhUCI/RiSbABg4jB46A2obmQ56kB9tEm2DJ4
9TjdIJSgFFg6OgFqYQHPS7yK1w0uTOUeuuaY4rXVoPNM7E94WjjKNTtWHJaJyIdc
bXpGf61sYiDvcPjNutm6yxp0SX0za8mk59TWqh7GS73Nqx2mmEZnpPvJuZo/NOsF
Drcx5JtKjdl6rcUzZ+ByVyPTdzMSZbUq1NjnDM/PRb/DXYeVOEh3apWo5GnhZI21
NYJKfIQO6btGEMDnhi7iSeAXhEhe1htbsvMzt7llC0IYdYmsytk2Zmc2Aa3kJqbc
4EionVGemQxc0tfveTgjWcHFHyBkgIBG7rSkMA0kfEiEJlL/OxM=
=F/Mb
-----END PGP SIGNATURE-----
--- End Message ---