Source: rlottie Version: 0.1+dfsg-3 Severity: important Tags: ftbfs patch Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: i...@hack3r.moe
Dear maintainer(s), rlottie failed to build on riscv64 due to introduction of atomic operations in d/patches/Atomic-render.patch, which can be fixed by linking against libatomic. Attached is a patch that fixes FTBFS on riscv64. Please let me know if I missed anything. Cheers, Eric -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.18.0-4-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
Description: Link libatomic on riscv64 Patch Atomic-render.patch introduces atomic operations, which requires libatomic to be linked on riscv64. Author: Eric Long <i...@hack3r.moe> Last-Update: 2022-08-29 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,10 @@ ) endif() +if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "riscv64") + target_link_libraries(rlottie PRIVATE -latomic) +endif() + if (LOTTIE_MODULE) # for dlopen, dlsym and dlclose dependancy target_link_libraries(rlottie PRIVATE ${CMAKE_DL_LIBS})