--- Begin Message ---
Source: yoshimi
Version: 2.2.0-1
Severity: normal
Tags: ftbfs, patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dear Maintainer,
The yoshimi packages has a ftbfs issue on riscv64 arch:
```
[ 94%] Building CXX object LV2_Plugin/CMakeFiles/yoshimi_lv2.dir/MasterMiscUI.cpp.o
cd /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/LV2_Plugin && /usr/bin/c++ -DGUI_FLTK -DHAVE_ALSA -DJACK_LATENCY -DJACK_SESSION -DMIN_CONFIG_MAJOR=2 -DMIN_CONFIG_MINOR=0 -DYOSHIMI=\"yoshimi\" -DYOSHIMI_LV2_PLUGIN=1 -DYOSHI_FIFO_DIR=\"\" -Dyoshimi_lv2_EXPORTS -I/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/LV2_Plugin -I/<<PKGBUILDDIR>>/src/LV2_Plugin -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/lib/fltk -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/<<PKGBUILDDIR>>/src -ffast-math -fomit-frame-pointer -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fPIC -std=gnu++14 -Wall -D'YOSHIMI_VERSION="2.2.0"' -D'BASE_INSTALL_DIR="/usr"' -fvisibility=hidden -std=gnu++14 -MD -MT LV2_Plugin/CMakeFiles/yoshimi_lv2.dir/MasterMiscUI.cpp.o -MF CMakeFiles/yoshimi_lv2.dir/MasterMiscUI.cpp.o.d -o CMakeFiles/yoshimi_lv2.dir/MasterMiscUI.cpp.o -c /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/LV2_Plugin/MasterMiscUI.cpp
CMakeFiles/yoshimi.dir/Params/PADnoteParameters.cpp.o: in function `std::__atomic_base<bool>::compare_exchange_strong(bool&, bool, std::memory_order, std::memory_order)':
/usr/include/c++/11/bits/basic_string.h:239: undefined reference to `__atomic_compare_exchange_1'
/usr/bin/ld: CMakeFiles/yoshimi.dir/Params/PADnoteParameters.cpp.o: in function `std::__atomic_base<bool>::compare_exchange_strong(bool&, bool, std::memory_order, std::memory_order)':
/usr/include/c++/11/bits/atomic_base.h:571: undefined reference to `__atomic_compare_exchange_1'
[ 95%] Building CXX object LV2_Plugin/CMakeFiles/yoshimi_lv2.dir/ParametersUI.cpp.o
cd /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/LV2_Plugin && /usr/bin/c++ -DGUI_FLTK -DHAVE_ALSA -DJACK_LATENCY -DJACK_SESSION -DMIN_CONFIG_MAJOR=2 -DMIN_CONFIG_MINOR=0 -DYOSHIMI=\"yoshimi\" -DYOSHIMI_LV2_PLUGIN=1 -DYOSHI_FIFO_DIR=\"\" -Dyoshimi_lv2_EXPORTS -I/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/LV2_Plugin -I/<<PKGBUILDDIR>>/src/LV2_Plugin -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/lib/fltk -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/<<PKGBUILDDIR>>/src -ffast-math -fomit-frame-pointer -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fPIC -std=gnu++14 -Wall -D'YOSHIMI_VERSION="2.2.0"' -D'BASE_INSTALL_DIR="/usr"' -fvisibility=hidden -std=gnu++14 -MD -MT LV2_Plugin/CMakeFiles/yoshimi_lv2.dir/ParametersUI.cpp.o -MF CMakeFiles/yoshimi_lv2.dir/ParametersUI.cpp.o.d -o CMakeFiles/yoshimi_lv2.dir/ParametersUI.cpp.o -c /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/LV2_Plugin/ParametersUI.cpp
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/yoshimi.dir/build.make:1526: yoshimi] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:106: CMakeFiles/yoshimi.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=yoshimi&arch=riscv64&ver=2.2.0-1&stamp=1653033364&raw=0
The patch attached is to fix the issue and it seems that it is ok
to build on riscv64 machine localy.
```
Build Architecture: riscv64
Build Type: binary
Build-Space: 1144556
Build-Time: 5377
Distribution: unstable
Host Architecture: riscv64
Install-Time: 128
Job: /home/vimer/05/29_yoshimi/yoshimi_2.2.0-1.dsc
Lintian: warn
Machine Architecture: riscv64
Package: yoshimi
Package-Time: 5618
Source-Version: 2.2.0-1
Space: 1144556
Status: successful
Version: 2.2.0-1
```
Please consider to apply it in next upload, thank you~
BR,
Bo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEIcmhjYVTlmab0tjp+RVP3hQ+S68FAmKLS0gACgkQ+RVP3hQ+
S6/LLRAAgqE0RA2BYOG8yaEYJjozhL6RqHMPpiANvdu7qCcJZhqLk+zXgLvLB/Od
YXZ/N9pMV/OgptmUYA48dlXe6HzC6J4evPSJtR1kx1o7Sn4HiCdJZTWpZqSnfTme
HC4Gh9viqjyI4/B1Hw9nECOML/TzonlBJTxPIGOV/6Z2KIqpZjMkLiCnQ/pK8n3p
sGOdCR7NUmasnZD0E85mslR+pUhAd4Z2uH3k/aJBE/XV+NvdPmGeAbfu028Mwxqr
GV9puw4TTHja+wClFzkEaVA/u+H1T31pBnFM/mLIVQylCHjP36kEEYzPvQareOOl
baguTRBfvfiXpw8cSx3D943DbLNOuzCPT8kjt9Y+1F1wZ7vrzBX4cw0B47Afee4O
RTGDCuU11nkd1WBnfYIFGYGyfB+QVzXh3SiONjbxjqVTrVhEe5ErgdSOKhIJyQ51
IdZXJS/H+LMWrkU95Xr7DNj9PXpHGdbf9xuypYRcV7q4oR8vU+9IaZkq1lDz1oNf
gNQ2qorh0wksrn4Qzdt1U+0QCmHaFMUYm8kocg0Y1LOBPoobaQU2fGGfac5bAhe4
dmT1PqOu6nU5xp3hnVpdgsxbxrQZpbpda1QCero6evnBSrbGBZGOoIyTjT0U7i/Q
b3t9Pq16p2xKzGW+UiEzlmEMruaF2aikTJ7brI7tKnpk4NlI1uA=
=tnlK
-----END PGP SIGNATURE-----
fix ftbfs on riscv64
Bo YU <tsu.yubo@gmail.com>
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -143,6 +143,7 @@
find_package (PkgConfig REQUIRED)
+set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
check_c_source_compiles (
--- End Message ---
--- Begin Message ---
Source: yoshimi
Source-Version: 2.2.0-2
Done: Dennis Braun <d_braun@kabelmail.de>
We believe that the bug you reported is fixed in the latest version of
yoshimi, 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 1011451@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dennis Braun <d_braun@kabelmail.de> (supplier of updated yoshimi 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 25 May 2022 21:47:31 +0200
Source: yoshimi
Architecture: source
Version: 2.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Dennis Braun <d_braun@kabelmail.de>
Closes: 1011451
Changes:
yoshimi (2.2.0-2) unstable; urgency=medium
.
* Fix ftbfs on riscv64 (Closes: #1011451)
Checksums-Sha1:
eba7c015dec28d02474492ead118c0f9d43d81a0 2520 yoshimi_2.2.0-2.dsc
db0b8d0be597714a74e39f48908d3397a5b87d31 15500 yoshimi_2.2.0-2.debian.tar.xz
3b1f0f9c6351c5d39d751a446d9130c7681c2047 10732 yoshimi_2.2.0-2_source.buildinfo
Checksums-Sha256:
030b051cfa72d59702b44269f577c2fc04c31ce87dc8d33d963ab567ea0b32fb 2520 yoshimi_2.2.0-2.dsc
c9f042f2afd779caf8eb513d7c37e1beba6c23784477f329e4013dc705d56204 15500 yoshimi_2.2.0-2.debian.tar.xz
731060564a74550372057225721e18ef328454fb41cdb1ccd4c76bce66cb11b8 10732 yoshimi_2.2.0-2_source.buildinfo
Files:
418de7ba1bf0f7aa7de78994d3d8c44c 2520 sound optional yoshimi_2.2.0-2.dsc
58edd1021fdbc74bef37490b7f0f1e48 15500 sound optional yoshimi_2.2.0-2.debian.tar.xz
c9c1f82a0aff2576b162aa1ca6740918 10732 sound optional yoshimi_2.2.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCgAzFiEEPLfDAq+1fmGoxhfdY06lXZArmDYFAmKOifMVHGRfYnJhdW5A
a2FiZWxtYWlsLmRlAAoJEGNOpV2QK5g27ZsP/j3GmE7DwLTR4OrnqpghMxGHgd1U
s91lpoex3DMNEsQTsNHy/qaIDwUvIalH9jlCtJijNtCa9M9gGlbUSVjQlNREFn4f
GWTXeq9gWRJnztr7Q2KP8oLJ7ctKIVvj9rAFbXBhmsTa8QJT+fhsJterwJ5g81fN
BHBzh8yzEFUOWkJ0u+XfZ1vz97lJ+CHiYUb9KOw7C0Ej7SSrQX5QUCMD9eelftnB
VBYUJei+N0YgxKvYwpMHIUhOqT6jsse0nlFNxHutCPh5XZQOo+6LCRLA/qPdO23y
vCGBny1O3UkzI9hX+VdAH5sgsYgTOKf2h7sCVdAZ7UA5z0h80YqkwvMcbglOb6w4
CbNDRHcnBgXHR+oDUs93CVqcVe1X+Y3ltJa2eBB/D9ArviXS03y9olXM2CKow8zT
/2Cis/K2skC9GCInhwuegbynS17Tcwt4cSWgqO0/wYR+L/9vPW1+dqWOfcLlEMJ+
v1hOB3iV5tCYsU6+FDhdmSOZopB7Kgd/zFnahplaK5/CtVOV593ckcPfRCxufM36
Z6aZ3QLYcUfGSpiKMHN+BAN2Sw3JV7mzq2+Aqb1xR0JhsrQYHRED5O9VkdJovHDW
mKgibuWYpTSty4xCfyih4unum+6gzT20kno6ujuE73UXk3eg0urfgeUL+zWu69lX
GXbFjBM2LtvJlo7C
=+Yx1
-----END PGP SIGNATURE-----
--- End Message ---