From b21341142f3dfa2e7472a78a411eeb189b5ba6c7 Mon Sep 17 00:00:00 2001 From: Wei-keng Liao Date: Sun, 4 Oct 2026 13:56:26 -0500 Subject: [PATCH 1/2] Bug fix - remove GIO_PACKAGE from pnetcdf.pc.in Although GIO library is a sub-module of PnetCDF, its source codes are included in PnetCDF official releases, i.e. GIO library will be built as part of pnetcdf.a. Thus, it is not necessary to make gio as a required package. See bug report in issue #245 --- src/packaging/pnetcdf.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packaging/pnetcdf.pc.in b/src/packaging/pnetcdf.pc.in index 47e9da03fb..aba430cd1f 100644 --- a/src/packaging/pnetcdf.pc.in +++ b/src/packaging/pnetcdf.pc.in @@ -47,5 +47,5 @@ Version: @PNETCDF_VERSION@ Cflags: -I${includedir} Libs: -L${libdir} -lpnetcdf Libs.private: -Requires: @GIO_PACKAGE@ @NETCDF4_PACKAGE@ @ADIOS_PACKAGE@ +Requires: @NETCDF4_PACKAGE@ @ADIOS_PACKAGE@ Requires.private: From bb2d3e9358e1be4b887d4c1539f55bd919585769 Mon Sep 17 00:00:00 2001 From: Wei-keng Liao Date: Sun, 4 Oct 2026 16:33:25 -0500 Subject: [PATCH 2/2] sneak_peek.md - add note about #245 and #246 --- sneak_peek.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sneak_peek.md b/sneak_peek.md index 7dd2402765..62efa25e4d 100644 --- a/sneak_peek.md +++ b/sneak_peek.md @@ -60,6 +60,12 @@ This is essentially a placeholder for the next release note ... + none * Bug fixes + + Fix PnetCDF package file, pnetcdf.pc.in, by removing GIO library as a + required library. Because GIO's source codes are included in all PnetCDF + official releases, it is not necessary to make gio as a required package. + Thanks Victor Eijkhout for reporting in + [Issue #245](https://github.com/Parallel-NetCDF/PnetCDF/issues/245). See + the fix in [PR #246](https://github.com/Parallel-NetCDF/PnetCDF/pull/246). + Fix a compilation error when using Intel oneAPI compilers causing some Fortran APIs not visible in the shared library. Thanks to Xylar Asay-Davis for reporting and suggesting the fix in