[Git][debian-gis-team/hdf4][experimental] 11 commits: Revert "Update branch in gbp.conf & Vcs-Git URL."

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Nov 23 06:45:58 GMT 2025



Bas Couwenberg pushed to branch experimental at Debian GIS Project / hdf4


Commits:
9864a814 by Bas Couwenberg at 2025-08-10T12:48:39+02:00
Revert "Update branch in gbp.conf & Vcs-Git URL."

This reverts commit bf97a561abcb187d879aad9bbe568bf482800f0a.

- - - - -
0dc3f840 by Bas Couwenberg at 2025-08-10T12:49:19+02:00
Move from experimental to unstable.

- - - - -
c4af470d by Bas Couwenberg at 2025-08-28T12:58:05+02:00
Add patch by Helmut Grohne to fix cross building. (closes: #1112297)

- - - - -
25d3fa4c by Bas Couwenberg at 2025-09-12T17:38:00+02:00
Update lintian overrides.

- - - - -
6ce7695d by Bas Couwenberg at 2025-10-01T08:42:41+02:00
Drop Rules-Requires-Root: no, default since dpkg 1.22.13.

- - - - -
61a5c18a by Bas Couwenberg at 2025-10-01T09:26:38+02:00
Drop Priority: optional, default since dpkg 1.22.13.

- - - - -
667f4f5a by Bas Couwenberg at 2025-10-01T11:21:24+02:00
Revert "Drop Priority: optional, default since dpkg 1.22.13."

This reverts commit 61a5c18a6e7cd93342ab0e10dd3e1f8788a3d139.

- - - - -
fb736885 by Bas Couwenberg at 2025-10-25T12:57:43+02:00
Use test-build-validate-cleanup instead of test-build-twice.

- - - - -
d4777dfa by Bas Couwenberg at 2025-11-23T07:37:54+01:00
Update branch in gbp.conf & Vcs-Git URL.

- - - - -
bddbcaea by Bas Couwenberg at 2025-11-23T07:42:23+01:00
Add patch by Antonio Valentino to fix segfaults in rioxarray.

- - - - -
780e5227 by Bas Couwenberg at 2025-11-23T07:42:40+01:00
Set distribution to experimental.

- - - - -


7 changed files:

- debian/.gitlab-ci.yml
- debian/changelog
- debian/control
- + debian/patches/cross.patch
- + debian/patches/revert-memleak-changes-to-fix-segfaults.patch
- debian/patches/series
- + debian/source/lintian-overrides


Changes:

=====================================
debian/.gitlab-ci.yml
=====================================
@@ -3,7 +3,7 @@ include:
   - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
 
 variables:
-  SALSA_CI_ENABLE_BUILD_PACKAGE_TWICE: 1
+  SALSA_CI_ENABLE_VALIDATE_PACKAGE_CLEAN_UP: 1
 
 reprotest:
   allow_failure: true


=====================================
debian/changelog
=====================================
@@ -1,3 +1,22 @@
+libhdf4 (4.3.1-2~exp1) experimental; urgency=medium
+
+  * Team upload.
+  * Add patch by Helmut Grohne to fix cross building.
+    (closes: #1112297)
+  * Update lintian overrides.
+  * Drop Rules-Requires-Root: no, default since dpkg 1.22.13.
+  * Use test-build-validate-cleanup instead of test-build-twice.
+  * Add patch by Antonio Valentino to fix segfaults in rioxarray.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 23 Nov 2025 07:42:28 +0100
+
+libhdf4 (4.3.1-1) unstable; urgency=medium
+
+  * Team upload.
+  * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 10 Aug 2025 12:49:03 +0200
+
 libhdf4 (4.3.1-1~exp2) experimental; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -17,7 +17,6 @@ Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/hdf4
 Vcs-Git: https://salsa.debian.org/debian-gis-team/hdf4.git -b experimental
 Homepage: http://www.hdfgroup.com/
-Rules-Requires-Root: no
 
 Package: libhdf4-0
 Architecture: any


=====================================
debian/patches/cross.patch
=====================================
@@ -0,0 +1,30 @@
+Description: Fix cross building.
+Author: Helmut Grohne <helmut at subdivi.de>
+Forwarded: not-needed
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -844,15 +844,16 @@ if test "X$HAVE_SZIP" = "Xyes" -a "x$HAV
+         else
+             exit(1);
+     }
+-    ]])],[CAN_ENCODE="yes"],[CAN_ENCODE="no"],[])
+-
+-    ## Report szip encoder test results
+-    if test "X$CAN_ENCODE" = "Xyes"; then
++    ]])],[
+         AC_MSG_RESULT([yes])
+-    fi
+-    if test "X$CAN_ENCODE" = "Xno"; then
++        CAN_ENCODE="yes"
++    ],[
+         AC_MSG_RESULT([no])
+-    fi
++        CAN_ENCODE="no"
++    ],[
++        AC_MSG_RESULT([cross compiling. guessing yes])
++        CAN_ENCODE="yes"
++    ])
+ 
+     ## Add "szip" to external filter list
+     if test "X$CAN_ENCODE" = "Xyes"; then


=====================================
debian/patches/revert-memleak-changes-to-fix-segfaults.patch
=====================================
@@ -0,0 +1,66 @@
+Description: Fix segfaults in rioxarray.
+ Partially reverts https://github.com/HDFGroup/hdf4/pull/826
+Author: Antonio Valentino <antonio.valentino at tiscali.it>
+Bug: https://github.com/HDFGroup/hdf4/issues/862
+
+--- a/mfhdf/libsrc/file.c
++++ b/mfhdf/libsrc/file.c
+@@ -115,8 +115,10 @@ NC_reset_maxopenfiles(intn req_max)
+                 HGOTO_DONE(-1);
+             }
+             else {
++                /*
+                 for (cdfi = 0; cdfi < max_NC_open; cdfi++)
+                     _cdfs[cdfi] = NULL;
++                */
+                 HGOTO_DONE(max_NC_open);
+             }
+         }
+@@ -412,6 +414,11 @@ ncabort(int cdfid)
+             if (handle->redefid == _ncdf - 1)
+                 _ncdf--;
+             handle->redefid = -1;
++            _curr_opened--; /* one less file currently opened */
++
++            /* if the _cdf list is empty, deallocate and reset it to NULL */
++            if (_ncdf == 0)
++                ncreset_cdflist();
+         }
+     }
+     else if (handle->flags & NC_RDWR) {
+@@ -452,7 +459,7 @@ ncabort(int cdfid)
+     _curr_opened--; /* one less file currently being opened */
+ 
+     /* if the _cdf list is empty, deallocate and reset it to NULL */
+-    if (_curr_opened == 0)
++    if (_ncdf == 0)
+         ncreset_cdflist();
+ 
+     return 0;
+@@ -835,7 +842,7 @@ NC_endef(int cdfid, NC *handle)
+             NC_free_cdf(handle);
+ 
+             /* if the _cdf list is empty, deallocate and reset it to NULL */
+-            if (_curr_opened == 0)
++            if (_ncdf == 0)
+                 ncreset_cdflist();
+ 
+             return -1;
+@@ -853,7 +860,7 @@ NC_endef(int cdfid, NC *handle)
+         handle->redefid = -1;
+ 
+         /* if the _cdf list is empty, deallocate and reset it to NULL */
+-        if (_curr_opened == 0)
++        if (_ncdf == 0)
+             ncreset_cdflist();
+     }
+ 
+@@ -923,7 +930,7 @@ ncclose(int cdfid)
+     _curr_opened--;
+ 
+     /* if the _cdf list is empty, deallocate and reset it to NULL */
+-    if (_curr_opened == 0)
++    if (_ncdf == 0)
+         ncreset_cdflist();
+     return 0;
+ }


=====================================
debian/patches/series
=====================================
@@ -1 +1,3 @@
 reproducible-builds.patch
+cross.patch
+revert-memleak-changes-to-fix-segfaults.patch


=====================================
debian/source/lintian-overrides
=====================================
@@ -0,0 +1,3 @@
+# Not supported by devscripts in trixie
+older-debian-watch-file-standard 4 *
+



View it on GitLab: https://salsa.debian.org/debian-gis-team/hdf4/-/compare/18fa6c9c724dc560dbe5372d3e899eda0047c7e3...780e5227a0a1e04ff1e8a39a5bac052d5b28dd52

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/hdf4/-/compare/18fa6c9c724dc560dbe5372d3e899eda0047c7e3...780e5227a0a1e04ff1e8a39a5bac052d5b28dd52
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20251123/c5372541/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list