[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1022067: marked as done (zynaddsubfx: FTBFS on riscv64)



Your message dated Mon, 31 Oct 2022 13:07:13 +0000
with message-id <E1opUVV-008kbB-Qy@fasolo.debian.org>
and subject line Bug#1022067: fixed in zynaddsubfx 3.0.6-4
has caused the Debian Bug report #1022067,
regarding zynaddsubfx: FTBFS on riscv64
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 owner@bugs.debian.org
immediately.)


-- 
1022067: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022067
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: zynaddsubfx
Version: 3.0.6-3
Severity: important
Tags: ftbfs patch
Justification: fails to build from source (but built successfully in the past)
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: i@hack3r.moe, debian-riscv@lists.debian.org

Dear maintainers,

zynaddsubfx failed to build on riscv64 due to gcc missing sub-word atomics:

```
[ 78%] Building CXX object src/Plugin/Distortion/CMakeFiles/ZynDistortion_vst.dir/__/__/__/DPF/distrho/DistrhoPluginMain.cpp.o
cd /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/src/Plugin/Distortion && /usr/bin/c++ -DALSA=1 -DDISTRHO_PLUGIN_TARGET_VST2 -DFLTK_GUI -DHAVE_ASYNC=1 -DHAVE_CPP_STD_COMPLEX=1 -DHAVE_SCHEDULER=1 -DJACK=1 -DOSS=1 -DUSE_NSM=1 -DVERSION=\"\" -DZynDistortion_vst_EXPORTS -I/<<PKGBUILDDIR>>/rtosc/include -I/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/src -I/usr/lib/fltk -I/<<PKGBUILDDIR>>/src/UI -I/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/src/UI -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/src/Plugin/Distortion -I/<<PKGBUILDDIR>>/DPF/distrho -I/<<PKGBUILDDIR>>/src/Plugin/Distortion/. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -Wno-unused-parameter -O3 -ffast-math -fomit-frame-pointer  -fPIC   -Wall -Wextra -fPIC -Wno-parentheses -MD -MT src/Plugin/Distortion/CMakeFiles/ZynDistortion_vst.dir/__/__/__/DPF/distrho/DistrhoPluginMain.cpp.o -MF CMakeFiles/ZynDistortion_vst.dir/__/__/__/DPF/distrho/DistrhoPluginMain.cpp.o.d -o CMakeFiles/ZynDistortion_vst.dir/__/__/__/DPF/distrho/DistrhoPluginMain.cpp.o -c /<<PKGBUILDDIR>>/DPF/distrho/DistrhoPluginMain.cpp
/usr/bin/ld: libzynaddsubfx_core.a(Master.cpp.o): in function `.L0 ':
/usr/include/riscv64-linux-gnu/bits/string_fortified.h:59: undefined reference to `__atomic_exchange_1'
collect2: error: ld returned 1 exit status
```

Full buildd log: https://buildd.debian.org/status/fetch.php?pkg=zynaddsubfx&arch=riscv64&ver=3.0.6-3&stamp=1665440667&raw=0

Attached is a patch that links libatomic manually on riscv64. If more help is
needed, please let me know.

Cheers,
Eric
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -583,6 +583,10 @@
     ${PTHREAD_LIBRARY}
     rtosc rtosc-cpp)
 
+if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "riscv64")
+    target_link_libraries(zynaddsubfx_core atomic)
+endif()
+
 if(IwyuErr)
     message (STATUS "Include what you use: ${IwyuErr}")
 else()

--- End Message ---
--- Begin Message ---
Source: zynaddsubfx
Source-Version: 3.0.6-4
Done: Dennis Braun <d_braun@kabelmail.de>

We believe that the bug you reported is fixed in the latest version of
zynaddsubfx, 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 1022067@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 zynaddsubfx 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: Sun, 30 Oct 2022 14:30:07 +0100
Source: zynaddsubfx
Architecture: source
Version: 3.0.6-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Dennis Braun <d_braun@kabelmail.de>
Closes: 1022067
Changes:
 zynaddsubfx (3.0.6-4) unstable; urgency=medium
 .
   * Switch libasound2-dev & the architecture of zynaddsubfx-dssi to linux-any
   * Link with libatomic on architectures without built-in atomic
     (Closes: #1022067)
Checksums-Sha1:
 c2b1bff8f4203dc6028a5e04963ddfe5df6c604d 2569 zynaddsubfx_3.0.6-4.dsc
 e530491ad8a64057a043bd190fe1b55929b9289c 11632 zynaddsubfx_3.0.6-4.debian.tar.xz
 0ba5ab79096e54e82c1cf86814e4e0075290ff8a 5994 zynaddsubfx_3.0.6-4_source.buildinfo
Checksums-Sha256:
 7e47ba3d48565570ddbc719c1d597c8401142c49b990796e95afc5da9b0ed9fb 2569 zynaddsubfx_3.0.6-4.dsc
 03d98f2b9a29531bd1535979741f42e766454ed76228093cec72307f163cf265 11632 zynaddsubfx_3.0.6-4.debian.tar.xz
 5d4483a191d3164bd7f8a4b4396c8a3fc53773936519d39c74e5e356190d5c28 5994 zynaddsubfx_3.0.6-4_source.buildinfo
Files:
 0feb358d645a60b4c1e90eb3ad8e718f 2569 sound optional zynaddsubfx_3.0.6-4.dsc
 eaf9c0c76dec2d1afbd0f9f268ff0d8f 11632 sound optional zynaddsubfx_3.0.6-4.debian.tar.xz
 bfe3a9bd47b0cc1957149444b52826d6 5994 sound optional zynaddsubfx_3.0.6-4_source.buildinfo

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

iQJJBAEBCgAzFiEEPLfDAq+1fmGoxhfdY06lXZArmDYFAmNfwX0VHGRfYnJhdW5A
a2FiZWxtYWlsLmRlAAoJEGNOpV2QK5g2F8EP/ireBZRROZyJXQ3htm0bK6H4rXHK
FRyhfDZQbuBrcQlXQAqo+EZBx54c846MAWDubtEtvInNFhNXEl2trQngCHeQxJsM
JOVcmesG3Qhxi/xUMYrdzM27v6OwX1W6FtZPiRPVpINjpvbm3IC18Ni8FGbZQ0sr
BrQRBbQAKW7sKxmBE7UGRfr6ysew4kNMQOMIVs+HwBXZ+K+kjoHRyUqGiUccz+yH
Yw5XbL1Thf4scYNZe6SfNCstGm3g7yWAe1IK9IJvGRW9I9mJtRm8yJoMCgF7IaXT
Zr3/ZRs67MeOrPRFWnSjrG4KynliQ6gXkv/921W2yuROHz+vV7c12CDnv7F3L5EV
ca+UhuWtOaUstKqM4Q4bAYkKsYUqw4wzXCVilvWyfjn/FmKhDQMI0KQWT7K/g4EE
ZMcoC5Qs3VPwxOtplMHrqq+V0Qwfi4f+eJ7rxK2u8NL5DgCoLIf64R5nNn7EQ9a0
kwqT76MNME9lc2gzbpwC9dnk/tE5sB0mNXbBgihVl9iOAktjAYIhqKyO86bvXFQI
4lZXf5xaQeQWz3DoWE/kXZbF+eETFIWH2L1qPC8/civwVNRAVq+YGrq0jWLkfe7W
zJox1Fif26uE71F7IX5ghbfXW68/oMdK61IGZpowpvOQ9Zu7TYXCNVe2gMFPPl6V
FXyxiEtaECZTae5s
=8eTW
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: