Index | Thread | Search

From:
"Marco van Hulten" <marco@hulten.org>
Subject:
[update WIP] geo/cdo 2.5.3 -> 2.5.4
To:
<ports@openbsd.org>
Date:
Tue, 02 Dec 2025 13:36:39 +0100

Download raw body.

Thread
Hello,

When I increase the version of geo/cdo, it complains about an old
version of libxml:

Error: can't solve dependency for libxml-2.14.5p0(textproc/libxml,-main)
Fatal: Subpackage -main does not exist. (in textproc/libxml)
*** Error 1 in textproc/libxml (/home/_ports/infrastructure/mk/bsd.port.mk:3892 '.BEGIN': @exit 1)
*** Error 1 in /home/_ports (infrastructure/mk/bsd.port.subdir.mk:163 'print-plist-libs-with-depends': @case X${_DEPENDS_CACHE} in  X) _DEPE...)

Where does it get this old version from?  In the Makefile xml2 was
specified in the WANTLIB (no version number).  Removing the WANTLIB
lines and then doing port-lib-depends-check gets me a WANTLIB where
'xlm2' is removed, but then doing a make clean and repeating the make
port-lib-depends-check still results in this error message.

make fake install test and just running the program gives no problems.

 Marco


diff -r 42538cea7ac2 geo/cdo/Makefile
--- a/geo/cdo/Makefile	Tue Dec 02 09:26:13 2025 +0100
+++ b/geo/cdo/Makefile	Tue Dec 02 13:34:15 2025 +0100
@@ -1,6 +1,6 @@
 COMMENT =		manipulate and analyse climate and NWP model data
 
-DISTNAME =		cdo-2.5.3
+DISTNAME =		cdo-2.5.4
 
 CATEGORIES =		geo
 
@@ -12,7 +12,7 @@
 PERMIT_PACKAGE =	Yes
 
 # number changes at newer version
-SITES =			https://code.mpimet.mpg.de/attachments/download/30045/
+SITES =			https://code.mpimet.mpg.de/attachments/download/30128/
 
 FAKE_FLAGS =            PREFIX="/usr/foo"
 
@@ -26,7 +26,7 @@
 WANTLIB += ${COMPILER_LIBCXX} aec blosc bz2 c crypto curl eccodes
 WANTLIB += eccodes_memfs execinfo expat hdf5 hdf5_hl jasper jpeg
 WANTLIB += m netcdf nghttp2 nghttp3 ngtcp2 ngtcp2_crypto_libressl
-WANTLIB += openjp2 ssl sz udunits2 xml2 z zip zstd
+WANTLIB += openjp2 ssl sz udunits2 z zip zstd
 
 SEPARATE_BUILD =	Yes
 USE_GMAKE =		Yes
diff -r 42538cea7ac2 geo/cdo/distinfo
--- a/geo/cdo/distinfo	Tue Dec 02 09:26:13 2025 +0100
+++ b/geo/cdo/distinfo	Tue Dec 02 13:34:15 2025 +0100
@@ -1,2 +1,2 @@
-SHA256 (cdo-2.5.3.tar.gz) = Rw/uj00rTt357ILQrczx9rSCHd80szv+a3BptrZFe0A=
-SIZE (cdo-2.5.3.tar.gz) = 13973520
+SHA256 (cdo-2.5.4.tar.gz) = x/wX0+2owhbtsvXjbIqzK8rutrbxYpYkbwZcV21O+tI=
+SIZE (cdo-2.5.4.tar.gz) = 14047414