Download raw body.
[update WIP] geo/cdo 2.5.3 -> 2.5.4
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.
CDO uses XML routines, it needs to remain in WANTLIB.
-m
[update WIP] geo/cdo 2.5.3 -> 2.5.4