Source: ncrystal Version: 2.7.3+ds1-4 Severity: normal Tags: ftbfs, patch User: debian-riscv@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-riscv@lists.debian.org, debian-arm@lists.debian.org, debian-mips@lists.debian.org Dear ncrystal Maintainer, The packages has ftbfs issues on riscv64, armel, mipsel due to missing link atomic. The full buildd log is here: https://buildd.debian.org/status/fetch.php?pkg=ncrystal&arch=armel&ver=2.7.3%2Bds1-4&stamp=1643836600&raw=0 https://buildd.debian.org/status/fetch.php?pkg=ncrystal&arch=mipsel&ver=2.7.3%2Bds1-4&stamp=1643851129&raw=0 https://buildd.debian.org/status/fetch.php?pkg=ncrystal&arch=riscv64&ver=2.7.3%2Bds1-4&stamp=1643838103&raw=0 The patch attached is trying to fix those build fail and it has been verified in real riscv64 hardware and armel & mipsel qemu. Please let me know if there are any issues. -- Regards, -- Bo YU
--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -276,7 +276,7 @@ endif() set_target_common_props( NCrystal ) -target_link_libraries( NCrystal PRIVATE common ) +target_link_libraries( NCrystal PRIVATE common -latomic) target_include_directories(NCrystal PRIVATE "${PROJECT_SOURCE_DIR}/ncrystal_core/src" PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/ncrystal_core/include> $<INSTALL_INTERFACE:${NCrystal_INCDIR}> )
Attachment:
signature.asc
Description: PGP signature