Index | Thread | Search

From:
Martin Reindl <martin@catai.org>
Subject:
Re: [update] geo/cdo 2.5.3 -> 2.5.4
To:
Marco van Hulten <marco@hulten.org>, ports@openbsd.org
Date:
Sat, 6 Dec 2025 13:27:30 +0100

Download raw body.

Thread
Am 06.12.25 um 12:47 schrieb Marco van Hulten:
> Hi Martin &al.,
> 
> On Sat Dec 6, 2025 at 8:42 AM CET, Martin Reindl wrote:
>> Am 02.12.25 um 13:36 schrieb Marco van Hulten:
>>> 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.
>>>
>>
>> That's because it still picks up libxml2 during the build. The error you
>> were seeing is because of possbile leftovers from an old libxml2 port,
>> version 2.15.1 is the current version.
> 
> Right!  Indeed, I had an old math/hdf5 in mystuff/.  Good practice is
> probably to always remove the respective directory below mystuff/ as
> soon as (that or a newer version) gets imported into CVS.
> 
>> CDO uses XML routines, it needs to remain in WANTLIB.
> 
> Fixed diff:
> 
> 
> diff -r c271928b0990 geo/cdo/Makefile
> --- a/geo/cdo/Makefile	Wed Dec 03 10:36:27 2025 +0100
> +++ b/geo/cdo/Makefile	Sat Dec 06 12:36:06 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"
>  
> diff -r c271928b0990 geo/cdo/distinfo
> --- a/geo/cdo/distinfo	Wed Dec 03 10:36:27 2025 +0100
> +++ b/geo/cdo/distinfo	Sat Dec 06 12:36:06 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

Commited, Thanks!