Source: ncbi-igblast Version: 1.20.0-2 Tags: patch User: [email protected] Usertags: ftcbfs
ncbi-igblast fails to cross build from source, because it attempts to build for the build architecture and configure doesn't like the host architecture's compiler flags. The root cause is not passing the --host flag. I'm attaching a patch to add it. Please consider applying it. Helmut
diff -Nru ncbi-igblast-1.20.0/debian/changelog ncbi-igblast-1.20.0/debian/changelog --- ncbi-igblast-1.20.0/debian/changelog 2025-03-07 08:22:46.000000000 +0100 +++ ncbi-igblast-1.20.0/debian/changelog 2025-09-02 12:36:04.000000000 +0200 @@ -1,3 +1,10 @@ +ncbi-igblast (1.20.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass --build/--host to configure. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Tue, 02 Sep 2025 12:36:04 +0200 + ncbi-igblast (1.20.0-2) unstable; urgency=medium * Link in internal_data/ directory locally for autopkgtest, as it does not diff -Nru ncbi-igblast-1.20.0/debian/rules ncbi-igblast-1.20.0/debian/rules --- ncbi-igblast-1.20.0/debian/rules 2025-03-07 08:22:05.000000000 +0100 +++ ncbi-igblast-1.20.0/debian/rules 2025-09-02 12:36:04.000000000 +0200 @@ -1,5 +1,7 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + %: dh $@ --sourcedirectory=c++ @@ -14,6 +16,8 @@ override_dh_auto_configure: cd c++ && yes | \ ./configure.orig --prefix=/usr \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --host=$(DEB_HOST_GNU_TYPE) \ --with-mbedtls \ --with-openmp $(WITH_OPTIM) \ --with-vdb=/usr VDB_INCLUDE="$(VDB_INCLUDE)" \

