I am building netcdf in a Poudriere with disabled option SZIP, but it fails in the package phase with the following error: ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-05-05T19:42:07+00:00' 'PKG_NOTE_ports_top_git_hash=444288f10' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=444288f10' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20241213' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for netcdf-4.9.3 ===> Building netcdf-4.9.3 pkg-static: Unable to access file /wrkdirs/usr/ports/science/netcdf/work/stage/usr/local/hdf5/lib/plugin/lib__nch5szip.so:No such file or directory *** Error code 1 I guess the lib__nch5szip.so should be conditional in pkg-plist because it is not built if option SZIP is set to OFF.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7b45452bd93d9380f9a42abda3304b90e080e08d commit 7b45452bd93d9380f9a42abda3304b90e080e08d Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2025-05-09 09:25:07 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2025-05-09 09:30:16 +0000 science/netcdf: Fix pkg-plist Fix "Error: Missing: hdf5/lib/plugin/lib__nch5szip.so" when option SZIP is off. PR: 286610 Reported by: Miroslav Lachman <000.fbsd@quip.cz> Approved by: portmgr blanket science/netcdf/pkg-plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks!