[Debichem-devel] Bug#1118661: isospec: FTBFS on ppc64el and riscv64

Bo YU vimer at debian.org
Thu Oct 23 17:17:55 BST 2025


Package: isospec
Version: 2.2.3+cleaned1-1
Severity: serious
Tags: ftbfs patch
User: debian-riscv at lists.debian.org
Usertags: riscv64
User: debian-powerpc at lists.debian.org
Usertags: ppc64el
X-Debbugs-Cc: debian-riscv at lists.debian.org, debian-powerpc at lists.debian.org

Dear Maintainer,

isospec failed to build ppc64el and riscv64 due to -march=native:
https://buildd.debian.org/status/fetch.php?pkg=isospec&arch=ppc64el&ver=2.2.3%2Bcleaned1-1&stamp=1761070922&raw=0
https://buildd.debian.org/status/fetch.php?pkg=isospec&arch=riscv64&ver=2.2.3%2Bcleaned1-1&stamp=1761101061&raw=0

I proposal one patch below and test it on riscv64:

--- a/setup.py
+++ b/setup.py
@@ -36,10 +36,7 @@
         return ["/O2", "/std:c++17"]
     if use_asan:
         return '-O0 -g -DISOSPEC_DEBUG -std=c++17 -fsanitize=address'.split()
-    ret = ['-O3', '-std=c++17']
-    if native_ok:
-        ret.extend(['-mtune=native', '-march=native'])
-    return ret
+    return ['-O3', '-std=c++17']

 cmodule = Extension('IsoSpecCppPy',
                 sources = ['IsoSpec++/python-build.cpp'],


-- 
Regards,
--
  Bo YU

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20251024/5f8d011f/attachment.sig>


More information about the Debichem-devel mailing list