[Bug 286610] science/netcdf Fails to package with SZIP=off

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 05 May 2025 19:57:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286610

            Bug ID: 286610
           Summary: science/netcdf Fails to package with SZIP=off
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: 000.fbsd@quip.cz
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.