Bug#1108656: ncl: FTBFS with HDF 4.3.1

Bas Couwenberg sebastic at xs4all.nl
Wed Jul 2 11:13:18 BST 2025


Source: ncl
Version: 6.6.2.dfsg.1-10
Severity: important
Tags: ftbfs patch
Control: tags -1 forky sid
User: debian-gis at lists.debian.org
Usertags: hdf4-4.3.1

Dear Maintainer,

Your package FTBFS with HDF4 4.3.1 in experimental because the -alt libraries were removed.

The attached patch fixes the issue, but cannot be used for the package in unstable until libhdf4 has been updated there sometime after the trixie release.

Kind Regards,

Bas
-------------- next part --------------
diff -Nru ncl-6.6.2.dfsg.1/debian/control ncl-6.6.2.dfsg.1/debian/control
--- ncl-6.6.2.dfsg.1/debian/control	2025-01-09 11:12:21.000000000 +0100
+++ ncl-6.6.2.dfsg.1/debian/control	2025-07-02 11:20:15.000000000 +0200
@@ -27,7 +27,7 @@
  libblas-dev | libopenblas-dev | libblas.so,
  libg2c-dev (>= 1.8.0~1), 
  libsphere-dev (>= 3.3~a1), 
- libhdf4-alt-dev, 
+ libhdf4-dev,
  libhdfeos-dev,
  libgctp-dev, 
  libhe5-hdfeos-dev,
@@ -75,7 +75,7 @@
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends}, libncarg0t64 (= ${binary:Version} ), libudunits2-dev,
- libsphere-dev, libhdfeos-dev, libhdf4-alt-dev, libhe5-hdfeos-dev,
+ libsphere-dev, libhdfeos-dev, libhdf4-dev, libhe5-hdfeos-dev,
  ncl-ncarg, ksh | mksh | pdksh | zsh
 Multi-Arch: same
 Description: Development files for the NCAR command language library
diff -Nru ncl-6.6.2.dfsg.1/debian/LINUX.DEBIAN.flang ncl-6.6.2.dfsg.1/debian/LINUX.DEBIAN.flang
--- ncl-6.6.2.dfsg.1/debian/LINUX.DEBIAN.flang	2025-01-09 11:12:21.000000000 +0100
+++ ncl-6.6.2.dfsg.1/debian/LINUX.DEBIAN.flang	2025-07-02 11:20:15.000000000 +0200
@@ -19,7 +19,7 @@
 #define XToolLibrary    -lXt -lSM -lICE
 #define XLibrary      -lX11 -lXext
 
-#define        HDFlib  -lmfhdfalt -ldfalt -ljpeg -lz
+#define        HDFlib  -lmfhdf -ldf -ljpeg -lz
 #define        HDFEOSlib   -lhdfeos -lgctp
 #define        HDFEOS5lib   -lhe5_hdfeos -lgctp
 /*
diff -Nru ncl-6.6.2.dfsg.1/debian/LINUX.DEBIAN.gfortran ncl-6.6.2.dfsg.1/debian/LINUX.DEBIAN.gfortran
--- ncl-6.6.2.dfsg.1/debian/LINUX.DEBIAN.gfortran	2025-01-09 11:12:21.000000000 +0100
+++ ncl-6.6.2.dfsg.1/debian/LINUX.DEBIAN.gfortran	2025-07-02 11:20:15.000000000 +0200
@@ -20,7 +20,7 @@
 #define XToolLibrary    -lXt -lSM -lICE
 #define XLibrary      -lX11 -lXext
 
-#define        HDFlib  -lmfhdfalt -ldfalt -ljpeg -lz
+#define        HDFlib  -lmfhdf -ldf -ljpeg -lz
 #define        HDFEOSlib   -lhdfeos -lgctp
 #define        HDFEOS5lib   -lhe5_hdfeos -lgctp
 /*


More information about the debian-science-maintainers mailing list