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

Bug#1017684: tiledb-r: ftbfs on riscv64("undefined symbol: __atomic_compare_exchange_1")



Source: tiledb-r
Version: 0.15.0-1
Severity: normal
Tags: ftbfs, patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org

Dear Maintainer,

The tiledb-r has a ftbfs on riscv64 due to missing -latomic explicitly
after 0.13.0-1:

https://buildd.debian.org/status/logs.php?pkg=tiledb-r&arch=riscv64

The full buildd log failed is here:
https://buildd.debian.org/status/fetch.php?pkg=tiledb-r&arch=riscv64&ver=0.15.0-1&stamp=1660431861&raw=0

The patch attached is trying to fix issue as you suggested. 
And I'll check if there are other r-cran-* packages with similar problems also.


-- 
Regards,
--
  Bo YU

--- a/src/Makevars.in
+++ b/src/Makevars.in
@@ -8,7 +8,7 @@
 PKG_CPPFLAGS = -I../inst/include/ @TILEDB_INCLUDE@
 
 ## We also need the TileDB library
-PKG_LIBS = @CXX17_MACOS@ @TILEDB_LIBS@ @TILEDB_RPATH@
+PKG_LIBS = @CXX17_MACOS@ @TILEDB_LIBS@ -latomic @TILEDB_RPATH@
 
 all: $(SHLIB)
         # if we are

Attachment: signature.asc
Description: PGP signature


Reply to: