[Debian-med-packaging] Bug#1070046: edflib: consider expressing the little endian constraint via Build-Depends: architecture-is-little-endian
Helmut Grohne
helmut at subdivi.de
Mon Apr 29 11:06:19 BST 2024
Source: edflib
Version: 1.25-1
Severity: wishlist
Tags: patch
Hi,
edflib fails to build on big endian architectures. While it fails
quickly, it still requires creating a chroot and it looks like a real
failure. Would you mind lifting this into a build dependency expressing
the constraint? Thus edflib would become permanently bd-uninstallable on
all big endian architectures. I'm attaching a patch for your
convenience.
Helmut
-------------- next part --------------
diff --minimal -Nru edflib-1.25/debian/changelog edflib-1.25/debian/changelog
--- edflib-1.25/debian/changelog 2024-01-13 16:37:31.000000000 +0100
+++ edflib-1.25/debian/changelog 2024-04-29 12:02:22.000000000 +0200
@@ -1,3 +1,10 @@
+edflib (1.25-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Express little-endian constraint via Build-Depends. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Mon, 29 Apr 2024 12:02:22 +0200
+
edflib (1.25-1) unstable; urgency=medium
* New upstream version 1.25
diff --minimal -Nru edflib-1.25/debian/control edflib-1.25/debian/control
--- edflib-1.25/debian/control 2024-01-13 16:37:31.000000000 +0100
+++ edflib-1.25/debian/control 2024-04-29 12:02:17.000000000 +0200
@@ -4,7 +4,8 @@
?tienne Mollier <emollier at debian.org>
Section: science
Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: architecture-is-little-endian,
+ debhelper-compat (= 13),
cmake,
d-shlibs
Standards-Version: 4.6.2
diff --minimal -Nru edflib-1.25/debian/rules edflib-1.25/debian/rules
--- edflib-1.25/debian/rules 2024-01-13 16:37:31.000000000 +0100
+++ edflib-1.25/debian/rules 2024-04-29 12:02:00.000000000 +0200
@@ -8,10 +8,6 @@
dh $@ --buildsystem=cmake
override_dh_auto_configure:
-ifeq ($(DEB_HOST_ARCH_ENDIAN),big)
- @ echo "E: edflib doesn't support big endian systems, bailing out!"
- @ exit 1
-endif
dh_auto_configure -- -DEDFLIB_INSTALL_PATH=lib/${DEB_HOST_MULTIARCH}
More information about the Debian-med-packaging
mailing list