[Debian-med-packaging] Bug#1052315: FTBFS: missing libzstd-dev build dependency

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Wed Sep 20 11:57:47 BST 2023


Package: spades
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu mantic ubuntu-patch

Dear Maintainer,

The package failed to build from source on Launchpad.

dh_auto_configure fails:

dh_auto_configure: error: cd obj-x86_64-linux-gnu && \
DEB_PYTHON_INSTALL_LAYOUT=deb cmake \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var \
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF \
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON \
-DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run \
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" \
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu \
-DBoost_NO_BOOST_CMAKE=TRUE ../assembler/src returned exit code 1
make[1]: *** [debian/rules:26: override_dh_auto_configure] Error 2

In Ubuntu, the attached patch was applied to achieve the following:

  * Add missing libzstd-dev build-dependency (LP: #2036726)

Thanks for considering the patch.


-- System Information:
Debian Release: trixie/sid
  APT prefers mantic
  APT policy: (500, 'mantic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-5-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru spades-3.15.5+dfsg/debian/control spades-3.15.5+dfsg/debian/control
--- spades-3.15.5+dfsg/debian/control	2023-08-09 12:45:04.000000000 +0200
+++ spades-3.15.5+dfsg/debian/control	2023-09-20 11:35:02.000000000 +0200
@@ -23,6 +23,7 @@
                libnlopt-dev,
                libnlopt-cxx-dev,
                libssw-dev,
+               libzstd-dev,
                llvm-dev,
                python3-yaml,
                python3-joblib,


More information about the Debian-med-packaging mailing list