microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.15k stars 6.38k forks source link

[vtk] build failure due to netcdf-c:arm64-osx requiring m4 #38963

Closed JeffreyWardman closed 4 months ago

JeffreyWardman commented 5 months ago

Operating system

Mac (M3 Max; ARM)

Compiler

Clang

Steps to reproduce the behavior

vcpkg install

{
    "name": "party",
    "version-semver": "0.0.0",
    "dependencies": [
      {
        "name": "vtk",
        "version>=": "9.3.0-pv5.12.0#3",
        "features": ["mpi"]
      }
    ],
    "default-features": [],
    "features": {
      "test": {
        "description": "Dependencies for testing",
        "dependencies": [
          {
            "name": "catch2",
            "version>=": "3.5.3"
          }
        ]
      }
    },
    "builtin-baseline": "587cd223b4ec2f95ac49d393843107bdbd9d8d76"
  }

Failure logs

Keeps requesting m4 to be installed when it is present on my machine. I install and then it still fails.

Detecting compiler hash for triplet arm64-osx...
Compiler found: /Library/Developer/CommandLineTools/usr/bin/c++
The following packages will be built and installed:
  * brotli:arm64-osx@1.1.0#1 -- /opt/vcpkg/buildtrees/versioning_/versions/brotli/4e5b5ae1ad26c80535c893cc0307121f0398549e
  * bzip2[core,tool]:arm64-osx@1.0.8#5 -- /opt/vcpkg/buildtrees/versioning_/versions/bzip2/92e9a8bbf1abbd89872b48ad82fcf75852de1006
  * cereal:arm64-osx@1.3.2#1 -- /opt/vcpkg/buildtrees/versioning_/versions/cereal/075869fcf5302c6dd11d564286d0dfa1d2d4d7a1
  * double-conversion:arm64-osx@3.3.0 -- /opt/vcpkg/buildtrees/versioning_/versions/double-conversion/63037e8b38231f15de1dddb0593eebfb0bf32496
  * egl-registry:arm64-osx@2024-01-25 -- /opt/vcpkg/buildtrees/versioning_/versions/egl-registry/d883db43133dd223c4ffdbef4193943f6784d43a
  * eigen3:arm64-osx@3.4.0#4 -- /opt/vcpkg/buildtrees/versioning_/versions/eigen3/17249b310c689b0722c3ee825780a8e24c7d73a2
  * expat:arm64-osx@2.6.2 -- /opt/vcpkg/buildtrees/versioning_/versions/expat/e75ed0e0697a3049343ccfb52fd11eea6cebc30a
  * exprtk:arm64-osx@2022-01-01#2 -- /opt/vcpkg/buildtrees/versioning_/versions/exprtk/f643b034afeb28a7e39b6556eb78594aa49181a4
  * fast-float:arm64-osx@6.1.1 -- /opt/vcpkg/buildtrees/versioning_/versions/fast-float/9d389e2d9f9d9e4649f6f6d687c1b3df8cf84f70
  * fmt:arm64-osx@10.2.1#2 -- /opt/vcpkg/buildtrees/versioning_/versions/fmt/f6f4efa01a5e9ac627f0c6687af8b6b317fbbe42
  * freetype[brotli,bzip2,core,png,zlib]:arm64-osx@2.13.2#1 -- /opt/vcpkg/buildtrees/versioning_/versions/freetype/60a5a2596ec865db746a7ea741458322cf0cc2bc
  * gklib:arm64-osx@2023-03-27 -- /opt/vcpkg/buildtrees/versioning_/versions/gklib/ad20fb84d82834d6de1f5bdf45851eeadd1c01e6
  * glew:arm64-osx@2.2.0#3 -- /opt/vcpkg/buildtrees/versioning_/versions/glew/cfd894e57985fdb9c772bbf28a4aa261759bb6ac
  * jsoncpp:arm64-osx@1.9.5#4 -- /opt/vcpkg/buildtrees/versioning_/versions/jsoncpp/4f722023370407388c3014d52fee17dbe8d65cc3
  * libharu:arm64-osx@2.4.4#1 -- /opt/vcpkg/buildtrees/versioning_/versions/libharu/b7b936e1377328e2f1421b8727762bebb302813f
  * libiconv:arm64-osx@1.17#3 -- /opt/vcpkg/buildtrees/versioning_/versions/libiconv/0d6e7ebdbfeca59f047e66f632d1d38c2659fc14
  * libjpeg-turbo:arm64-osx@3.0.2 -- /opt/vcpkg/buildtrees/versioning_/versions/libjpeg-turbo/6d061c71a48ca2abff5cf471f77ef14d7222aa52
  * liblzma:arm64-osx@5.4.4 -- /opt/vcpkg/buildtrees/versioning_/versions/liblzma/f285b7c4ffa2cc065c7c6fec4b61006f7fa2714e
  * libogg:arm64-osx@1.3.5#1 -- /opt/vcpkg/buildtrees/versioning_/versions/libogg/98e27727c32704393494d32615c25b7b16eb3067
  * libpng:arm64-osx@1.6.43#1 -- /opt/vcpkg/buildtrees/versioning_/versions/libpng/1b0781214ef5a3497d0e7db2c0ed7f7fae74248b
  * libtheora:arm64-osx@1.2.0alpha1-20170719#7 -- /opt/vcpkg/buildtrees/versioning_/versions/libtheora/f6cc1235f841d9f9a7b7d1a278dc63b788c63659
  * libxml2[core,iconv,lzma,zlib]:arm64-osx@2.11.7 -- /opt/vcpkg/buildtrees/versioning_/versions/libxml2/caa5f663ba4c26ac2402c6aaa56781bd262fc05e
  * lz4:arm64-osx@1.9.4#1 -- /opt/vcpkg/buildtrees/versioning_/versions/lz4/d7704e3869f579ffdf927b5419579473e9d702d4
  * matio[core,hdf5,zlib]:arm64-osx@1.5.26 -- /opt/vcpkg/buildtrees/versioning_/versions/matio/9fd8ec3eacecc04384ff5a048c0962f852cdb793
  * metis:arm64-osx@2022-07-27 -- /opt/vcpkg/buildtrees/versioning_/versions/metis/1a8b82dc534499155aca4057cb5ee998da7cdbc4
  * netcdf-c[core,dap,hdf5,nczarr,netcdf-4]:arm64-osx@4.8.1#5 -- /opt/vcpkg/buildtrees/versioning_/versions/netcdf-c/e93ab8e5b418fbc359d4e1dcb888e2e050c83f49
  * nlohmann-json:arm64-osx@3.11.3 -- /opt/vcpkg/buildtrees/versioning_/versions/nlohmann-json/a728b86fa36d4885a4c57c79432660950644d6d4
  * opengl:arm64-osx@2022-12-04#3 -- /opt/vcpkg/buildtrees/versioning_/versions/opengl/c3ae71738f88449ebcd781cef60d9a253fa091d4
  * opengl-registry:arm64-osx@2024-02-10#1 -- /opt/vcpkg/buildtrees/versioning_/versions/opengl-registry/22f7aa58ee78c9f0db904b6251e9265f2be26f9d
  * pegtl:arm64-osx@3.2.7 -- /opt/vcpkg/buildtrees/versioning_/versions/pegtl/ee1dbb5f06f7dee38ef4a535efcbe4488556d349
  * proj[core,net,tiff]:arm64-osx@9.4.0 -- /opt/vcpkg/buildtrees/versioning_/versions/proj/62e9ace469641b907291184ebc7e76d96f629881
  * pugixml:arm64-osx@1.14 -- /opt/vcpkg/buildtrees/versioning_/versions/pugixml/6e38344aea6e7529afde3895e0885ed5cb0c0542
  * seacas[core,mpi]:arm64-osx@2022-11-22#5 -- /opt/vcpkg/buildtrees/versioning_/versions/seacas/0107d3359b2fa880981554b822946ccb2109baea
  * sqlite3[core,json1,tool]:arm64-osx@3.45.3#1 -- /opt/vcpkg/buildtrees/versioning_/versions/sqlite3/e71c1765147d72e0fbe5fc0f3affd09d95b3ee8b
  * tiff[core,jpeg,lzma,zip]:arm64-osx@4.6.0#4 -- /opt/vcpkg/buildtrees/versioning_/versions/tiff/9aa03ccc8de52590c49943ca462d6f833d0a9118
  * utfcpp:arm64-osx@4.0.5 -- /opt/vcpkg/buildtrees/versioning_/versions/utfcpp/4aa82d07c18c1a5b1ec311a0a23fddc81b162b5a
  * verdict:arm64-osx@1.4.0 -- /opt/vcpkg/buildtrees/versioning_/versions/verdict/dc33a2fb229de296ae77638542f91d5bb1d63e69
    vtk[core,mpi,vtkm]:arm64-osx@9.3.0-pv5.12.0#3 -- /opt/vcpkg/buildtrees/versioning_/versions/vtk/0bb2f77c2eeff358d3be93b1d5f0d006573137b7
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from /Users/jeffrey/.cache/vcpkg/archives in 208 us. Use --debug to see more details.
Installing 1/38 netcdf-c[core,dap,hdf5,nczarr,netcdf-4]:arm64-osx@4.8.1#5...
Building netcdf-c[core,dap,hdf5,nczarr,netcdf-4]:arm64-osx@4.8.1#5...
/opt/vcpkg/buildtrees/versioning_/versions/netcdf-c/e93ab8e5b418fbc359d4e1dcb888e2e050c83f49: info: installing overlay port from here
-- Using cached Unidata-netcdf-c-cd6173f472b778fa0e558982c59f7183aa5b8e47.tar.gz.
-- Cleaning sources at /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /opt/vcpkg/downloads/Unidata-netcdf-c-cd6173f472b778fa0e558982c59f7183aa5b8e47.tar.gz
-- Applying patch no-install-deps.patch
-- Applying patch fix-dependency-zlib.patch
-- Applying patch use_targets.patch
-- Applying patch fix-dependency-libmath.patch
-- Applying patch fix-linkage-error.patch
-- Applying patch fix-manpage-msys.patch
-- Applying patch fix-dependency-libzip.patch
-- Applying patch fix-dependency-mpi.patch
-- Applying patch fix-pkgconfig.patch
-- Using source at /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean
-- Found external ninja('1.11.1').
-- Configuring arm64-osx-dbg
-- Configuring arm64-osx-rel
-- Building arm64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /opt/vcpkg/downloads/tools/cmake-3.29.2-osx/cmake-3.29.2-macos-universal/CMake.app/Contents/bin/cmake --build . --config Debug --target install -- -v -j17
    Working Directory: /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg
    See logs for more information:
      /opt/vcpkg/buildtrees/netcdf-c/install-arm64-osx-dbg-out.log

Call Stack (most recent call first):
  /Users/jeffrey/vcpkg_installed/arm64-osx/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  /Users/jeffrey/vcpkg_installed/arm64-osx/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  buildtrees/versioning_/versions/netcdf-c/e93ab8e5b418fbc359d4e1dcb888e2e050c83f49/portfile.cmake:79 (vcpkg_cmake_install)
  scripts/ports.cmake:175 (include)

error: building netcdf-c:arm64-osx failed with: BUILD_FAILED

Additional context

No response

Neumann-A commented 5 months ago

If you know it is due to m4 missing, just install it? You probably need it for other stuff in the dependency tree any way?

JeffreyWardman commented 5 months ago

When I install m4, it says it's been completed. I see it in /usr/bin, which is in my PATH. However, vcpkg can't seem to find it and keeps asking to install m4 every time I try to run vcpkg install, which errors every time due to this.

Neumann-A commented 5 months ago

Could you post the error logs?

/opt/vcpkg/buildtrees/netcdf-c/install-arm64-osx-dbg-out.log
/opt/vcpkg/buildtrees/netcdf-c/install-arm64-osx-dbg-err.log
JeffreyWardman commented 5 months ago

The first one:

n/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/nclistmgr.c.o -MF libdispatch/CMakeFiles/dispatch.dir/nclistmgr.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/nclistmgr.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/nclistmgr.c
[26/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dpathmgr.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dpathmgr.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dpathmgr.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dpathmgr.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dpathmgr.c:183:23: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion]
            canon[10] = path.drive;
                      ~ ~~~~~^~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dpathmgr.c:757:22: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion]
            sdrive[0] = xp->drive;
                      ~ ~~~~^~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dpathmgr.c:780:22: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion]
            sdrive[0] = xp->drive;
                      ~ ~~~~^~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dpathmgr.c:795:22: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion]
            sdrive[0] = xp->drive;
                      ~ ~~~~^~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dpathmgr.c:810:18: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion]
        sdrive[0] = xp->drive;
                  ~ ~~~~^~~~~
5 warnings generated.
[27/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dreadonly.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dreadonly.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dreadonly.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dreadonly.c
[28/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I//vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/nchashmap.c.o -MF libdispatch/CMakeFiles/dispatch.dir/nchashmap.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/nchashmap.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/nchashmap.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/nchashmap.c:159:12: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32]
    return NC_crc64(0,(void*)key,(unsigned int)size);
    ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/nchashmap.c:383:15: warning: implicit conversion changes signedness: 'const unsigned int' to 'int' [-Wsign-conversion]
      int n = NC_nprimes;
          ~   ^~~~~~~~~~
2 warnings generated.
[29/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dnotnc4.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dnotnc4.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dnotnc4.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dnotnc4.c
[30/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/nctime.c.o -MF libdispatch/CMakeFiles/dispatch.dir/nctime.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/nctime.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/nctime.c
[31/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/drc.c.o -MF libdispatch/CMakeFiles/dispatch.dir/drc.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/drc.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/drc.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/drc.c:109:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        NCTriple* t = (NCTriple*)nclistget(rc,i);
                                 ~~~~~~~~~    ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/drc.c:168:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        path = (char*)nclistget(rcfileorder,i);
                      ~~~~~~~~~             ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/drc.c:272:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        for(i=(len-1);i>=0;i--) {
             ~ ~~~^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/drc.c:294:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        NCTriple* ti = nclistget(rc,i);
                       ~~~~~~~~~    ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/drc.c:300:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        NCTriple* ti = nclistget(tmprc,i);
                       ~~~~~~~~~       ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/drc.c:306:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        NCTriple* ti = nclistget(tmprc,i);
                       ~~~~~~~~~       ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/drc.c:288:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int len = nclistlength(rc);
        ~~~   ^~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include/nclist.h:63:44: note: expanded from macro 'nclistlength'
#define nclistlength(l)  ((l)==NULL?0:(l)->length)
                                      ~~~~~^~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/drc.c:445:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      triple = (NCTriple*)nclistget(rc,i);
                          ~~~~~~~~~    ^
8 warnings generated.
[32/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dauth.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dauth.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dauth.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dauth.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dauth.c:278:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        if((v = atol(value))) {
              ~ ^~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dauth.c:287:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        if((v = atol(value))) {
              ~ ^~~~~~~~~~~
2 warnings generated.
[33/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dnotnc3.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dnotnc3.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dnotnc3.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dnotnc3.c
[34/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dcrc32.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dcrc32.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dcrc32.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dcrc32.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dcrc32.c:263:29: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local unsigned long ZEXPORT crc32_z(crc, buf, len)
                            ^
1 warning generated.
[35/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/daux.c.o -MF libdispatch/CMakeFiles/dispatch.dir/daux.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/daux.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c:161:19: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  size_t delta = (offset % loc_align);
                  ^~~~~~ ~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c:163:17: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'ptrdiff_t' (aka 'long') [-Wsign-conversion]
  return offset + (alignment - delta);
  ~~~~~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c:163:10: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  return offset + (alignment - delta);
         ^~~~~~ ~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c:201:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
        unsigned int alignment = ncaux_type_alignment(basetype,ncid);
                     ~~~~~~~~~   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c:255:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        for(i=0;i<ndims;i++) arraycount *= dimsizes[i];
                                        ~~ ^~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c:247:53: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        if((stat = nc_inq_compound_field(ncid,xtype,fid,NULL,&fieldoffset, &fieldtype, &ndims, dimsizes))) goto done;
                   ~~~~~~~~~~~~~~~~~~~~~            ^~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c:248:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
        fieldalignment = ncaux_type_alignment(fieldtype,ncid);
                       ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c:531:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        offset += getpadding(offset,alignment);
                  ~~~~~~~~~~        ^~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c:566:13: warning: implicit conversion loses integer precision: 'const int' to 'char' [-Wimplicit-int-conversion]
        typechar = q0; /* we were given only a single char */
                 ~ ^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c:568:13: warning: implicit conversion loses integer precision: 'const int' to 'char' [-Wimplicit-int-conversion]
        typechar = q1; /* we have something like Ux as the tag */
                 ~ ^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/daux.c:570:13: warning: implicit conversion loses integer precision: 'const int' to 'char' [-Wimplicit-int-conversion]
        typechar = q1; /* look at last char for tag */
                 ~ ^~
11 warnings generated.
[36/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/ncexhash.c.o -MF libdispatch/CMakeFiles/dispatch.dir/ncexhash.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/ncexhash.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncexhash.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncexhash.c:264:9: warning: variable 'iter' set but not used [-Wunused-but-set-variable]
    int iter;
        ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncexhash.c:388:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    if((leaf->entries = (NCexentry*)calloc(map->leaflen,sizeof(NCexentry))) == NULL)
                                    ~~~~~~ ~~~~~^~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncexhash.c:590:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        if((leaf->entries = calloc(map->leaflen,sizeof(NCexentry))) == NULL)
                            ~~~~~~ ~~~~~^~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncexhash.c:750:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
                dirindex,ncexbinstr(dirindex,hm->depth),
                         ~~~~~~~~~~ ^~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncexhash.c:782:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
                dirindex,ncexbinstr(dirindex,map->depth),leaf->uid,leaf);
                         ~~~~~~~~~~ ^~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncexhash.c:857:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
    dirsize = (1<<(map->depth)*((unsigned long long)sizeof(void*)));
                   ~~~~~^~~~~ ~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncexhash.c:858:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
    leafsize = (nleaves)*((unsigned long long)sizeof(NCexleaf));
                ^~~~~~~ ~
7 warnings generated.
[37/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dinfermodel.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dinfermodel.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dinfermodel.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:235:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if((stat = parsepair(nclistget(tmp,i),&key,&value))) goto done;
                                 ~~~~~~~~~     ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:287:22: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
        if((key = malloc(len+1))==NULL) return NC_ENOMEM;
                  ~~~~~~ ~~~^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:350:21: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
        if((q = malloc(slen+1)) == NULL) {stat = NC_ENOMEM; goto done;}
                ~~~~~~ ~~~~^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:373:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        const char* key = nclistget(envv,i);
                          ~~~~~~~~~      ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:374:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        const char* val = nclistget(envv,i+1);
                          ~~~~~~~~~      ~^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:400:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        const char* m = nclistget(list,i);
                        ~~~~~~~~~      ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:485:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        key = nclistget(fraglenv,i);
              ~~~~~~~~~          ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:496:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    modeval = (char*)nclistget(fraglenv,pos+1);
                     ~~~~~~~~~          ~~~^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:504:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            const char* mode = nclistget(modes,i);
                               ~~~~~~~~~       ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:510:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        const char* candidate = nclistget(modes,j);
                                                ~~~~~~~~~       ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:527:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    nclistset(fraglenv,pos+1,newmodeval);
    ~~~~~~~~~          ~~~^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:548:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        char* val1 = nclistget(values,i);
                     ~~~~~~~~~        ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:559:48: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                char* candidate = nclistget(newvalues,j);
                                  ~~~~~~~~~           ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:582:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        const char* key1 = nclistget(l,i);
                           ~~~~~~~~~   ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:595:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        const char* key2 = nclistget(fraglenv,i);
                           ~~~~~~~~~          ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:597:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            const char* value2 = nclistget(fraglenv,i+1);
                                 ~~~~~~~~~          ~^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:610:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        char* key = nclistget(fraglenv,i);
                    ~~~~~~~~~          ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:642:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        key = nclistget(allkeys,i);
              ~~~~~~~~~         ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:831:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                const char* arg = nclistget(modeargs,i);
                                  ~~~~~~~~~          ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:1046:10: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if((pos+MAGIC_NUMBER_LEN) > magicinfo.filelen)
                ^~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:1155:6: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if((pos + MAGIC_NUMBER_LEN) > meminfo->size)
            ^~~ ~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:1192:60: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                count=fread(&magic[i],1,(size_t)(MAGIC_NUMBER_LEN-i),file->fp);
                                                                 ~^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dinfermodel.c:1192:16: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
                count=fread(&magic[i],1,(size_t)(MAGIC_NUMBER_LEN-i),file->fp);
                     ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23 warnings generated.
[38/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dcrc64.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dcrc64.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dcrc64.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dcrc64.c
[39/171] cd /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc && /usr/bin/m4 -DERANGE_FILL /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/attr.m4 > /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/attr.c
FAILED: /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/attr.c
cd /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc && /usr/bin/m4 -DERANGE_FILL /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/attr.m4 > /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/attr.c
xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.
[40/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/ncxcache.c.o -MF libdispatch/CMakeFiles/dispatch.dir/ncxcache.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/ncxcache.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncxcache.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncxcache.c:232:30: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    cache->map = ncexhashnew(leaflen);
                 ~~~~~~~~~~~ ^~~~~~~
1 warning generated.
[41/171] cd /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc && /usr/bin/m4 -DERANGE_FILL /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/putget.m4 > /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/putget.c
FAILED: /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/putget.c
cd /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc && /usr/bin/m4 -DERANGE_FILL /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/putget.m4 > /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/putget.c
xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.
[42/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dtype.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dtype.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dtype.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dtype.c
[43/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/denum.c.o -MF libdispatch/CMakeFiles/dispatch.dir/denum.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/denum.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/denum.c
[44/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dcompound.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dcompound.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dcompound.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dcompound.c
[45/171] cd /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc && /usr/bin/m4 -DERANGE_FILL /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/ncx.m4 > /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/ncx.c
FAILED: /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/ncx.c
cd /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc && /usr/bin/m4 -DERANGE_FILL /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/ncx.m4 > /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/ncx.c
xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.
[46/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/ncjson.c.o -MF libdispatch/CMakeFiles/dispatch.dir/ncjson.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/ncjson.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:333:29: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            count = ((parser->pos) - start);
                  ~  ~~~~~~~~~~~~~~^~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:360:38: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            count = ((parser->pos) - start) - 1; /* -1 for trailing quote */
                  ~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:697:24: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
            case NCJ_QUOTE: c = c; break;
                            ~ ^ ~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:698:25: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
            case NCJ_ESCAPE: c = c; break;
                             ~ ^ ~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:699:17: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
            default: c = c; break;/* technically not Json conformant */
                     ~ ^ ~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:702:9: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion]
        *q++ = c;
             ~ ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:801:23: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion]
            bytesappendc(buf,c);
            ~~~~~~~~~~~~     ^
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:948:57: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        if((newcontents = (NCjson**)calloc((2*list->len)+1,sizeof(NCjson*)))==NULL)
                                    ~~~~~~ ~~~~~~~~~~~~~^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:950:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        memcpy(newcontents,list->contents,list->len*sizeof(NCjson*));
                                          ~~~~~~^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
                __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                              ^~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:978:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        size_t newlen = buf->len + slen + 1;
                        ~~~~~^~~ ~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:975:13: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
        buf->len = strlen(s);
                 ~ ^~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/ncjson.c:985:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        buf->len = newlen;
                 ~ ^~~~~~
12 warnings generated.
[47/171] cd /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc && /usr/bin/m4 -DAPI=C -DNETCDF4=TRUE /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc/netcdf.m4 > /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc/netcdf.3
FAILED: libsrc/CMakeFiles/manpage /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc/CMakeFiles/manpage
cd /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc && /usr/bin/m4 -DAPI=C -DNETCDF4=TRUE /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc/netcdf.m4 > /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc/netcdf.3
xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.
[48/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dopaque.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dopaque.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dopaque.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dopaque.c
[49/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dv2i.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dv2i.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dv2i.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dv2i.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dv2i.c:1257:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
                imp = (ptrdiff_t*) malloc(ndims * sizeof(ptrdiff_t));
                                          ^~~~~ ~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dv2i.c:1330:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
                imp = (ptrdiff_t*) malloc(ndims * sizeof(ptrdiff_t));
                                          ^~~~~ ~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dv2i.c:1414:61: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        const int status = nc_put_att(ncid, varid, name, datatype, len, value);
                           ~~~~~~~~~~                              ^~~
3 warnings generated.
[50/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dgroup.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dgroup.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dgroup.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dgroup.c
[51/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dvlen.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dvlen.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dvlen.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dvlen.c
[52/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/dfilter.c.o -MF libdispatch/CMakeFiles/dispatch.dir/dfilter.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/dfilter.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/dfilter.c
[53/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libsrc4/CMakeFiles/netcdf4.dir/nc4dispatch.c.o -MF libsrc4/CMakeFiles/netcdf4.dir/nc4dispatch.c.o.d -o libsrc4/CMakeFiles/netcdf4.dir/nc4dispatch.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc4/nc4dispatch.c
[54/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libsrc4/CMakeFiles/netcdf4.dir/nc4attr.c.o -MF libsrc4/CMakeFiles/netcdf4.dir/nc4attr.c.o.d -o libsrc4/CMakeFiles/netcdf4.dir/nc4attr.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc4/nc4attr.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc4/nc4attr.c:91:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        *lenp = att->len;
              ~ ~~~~~^~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc4/nc4attr.c:114:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if (!(bufr = malloc((size_t)(att->len * type_size))))
                                     ~~~~~^~~ ~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc4/nc4attr.c:179:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            memcpy(data, bufr, (size_t)(att->len * type_size));
                                        ~~~~~^~~ ~
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
                __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                              ^~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc4/nc4attr.c:63:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    varid = var ? var->hdr.id : NC_GLOBAL;
          ~       ~~~~~~~~~^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc4/nc4attr.c:95:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        *attnum = att->hdr.id;
                ~ ~~~~~~~~~^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc4/nc4attr.c:233:58: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if (!(var = (NC_VAR_INFO_T*)ncindexith(grp->vars,varid)))
                                    ~~~~~~~~~~           ^~~~~
6 warnings generated.
[55/171] /Library/Developer/CommandLineTools/usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/vcpkg_installed/arm64-osx/include -I/opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg -fPIC -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wshorten-64-to-32 -Wconversion -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -MD -MT libdispatch/CMakeFiles/dispatch.dir/utf8proc.c.o -MF libdispatch/CMakeFiles/dispatch.dir/utf8proc.c.o.d -o libdispatch/CMakeFiles/dispatch.dir/utf8proc.c.o -c /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:128:12: warning: implicit conversion changes signedness: 'nc_utf8proc_uint32_t' (aka 'unsigned int') to 'nc_utf8proc_int32_t' (aka 'int') [-Wsign-conversion]
    *dst = uc;
         ~ ^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:136:30: warning: implicit conversion changes signedness: 'nc_utf8proc_uint32_t' (aka 'unsigned int') to 'nc_utf8proc_int32_t' (aka 'int') [-Wsign-conversion]
     *dst = ((uc & 0x1f)<<6) | (*str & 0x3f);
          ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:145:44: warning: implicit conversion changes signedness: 'int' to 'nc_utf8proc_uint32_t' (aka 'unsigned int') [-Wsign-conversion]
     uc = ((uc & 0xf)<<12) | ((*str & 0x3f)<<6) | (str[1] & 0x3f);
                           ~  ~~~~~~~~~~~~~^~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:148:13: warning: implicit conversion changes signedness: 'nc_utf8proc_uint32_t' (aka 'unsigned int') to 'nc_utf8proc_int32_t' (aka 'int') [-Wsign-conversion]
     *dst = uc;
          ~ ^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:161:70: warning: implicit conversion changes signedness: 'nc_utf8proc_uint32_t' (aka 'unsigned int') to 'nc_utf8proc_int32_t' (aka 'int') [-Wsign-conversion]
  *dst = ((uc & 7)<<18) | ((*str & 0x3f)<<12) | ((str[1] & 0x3f)<<6) | (str[2] & 0x3f);
       ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:161:65: warning: implicit conversion changes signedness: 'int' to 'nc_utf8proc_uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  *dst = ((uc & 7)<<18) | ((*str & 0x3f)<<12) | ((str[1] & 0x3f)<<6) | (str[2] & 0x3f);
                                              ~  ~~~~~~~~~~~~~~~^~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:161:41: warning: implicit conversion changes signedness: 'int' to 'nc_utf8proc_uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  *dst = ((uc & 7)<<18) | ((*str & 0x3f)<<12) | ((str[1] & 0x3f)<<6) | (str[2] & 0x3f);
                        ~  ~~~~~~~~~~~~~^~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:369:54: warning: implicit conversion changes signedness: 'nc_utf8proc_int32_t' (aka 'int') to 'nc_utf8proc_uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  return cl != UINT16_MAX ? nc_seqindex_decode_index(cl) : c;
                            ~~~~~~~~~~~~~~~~~~~~~~~~ ^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:375:54: warning: implicit conversion changes signedness: 'nc_utf8proc_int32_t' (aka 'int') to 'nc_utf8proc_uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  return cu != UINT16_MAX ? nc_seqindex_decode_index(cu) : c;
                            ~~~~~~~~~~~~~~~~~~~~~~~~ ^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:381:54: warning: implicit conversion changes signedness: 'nc_utf8proc_int32_t' (aka 'int') to 'nc_utf8proc_uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  return cu != UINT16_MAX ? nc_seqindex_decode_index(cu) : c;
                            ~~~~~~~~~~~~~~~~~~~~~~~~ ^~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:391:39: warning: implicit conversion changes signedness: 'const nc_utf8proc_propval_t' (aka 'const short') to 'nc_utf8proc_category_t' [-Wsign-conversion]
  return nc_utf8proc_get_property(c)->category;
  ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:433:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    if (category == UTF8PROC_CATEGORY_ZS) nc_utf8proc_decompose_lump(0x0020);
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:435:7: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
      nc_utf8proc_decompose_lump(0x0027);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:437:7: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
      nc_utf8proc_decompose_lump(0x002D);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:438:39: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    if (uc == 0x2044 || uc == 0x2215) nc_utf8proc_decompose_lump(0x002F);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:439:23: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    if (uc == 0x2236) nc_utf8proc_decompose_lump(0x003A);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:441:7: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
      nc_utf8proc_decompose_lump(0x003C);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:443:7: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
      nc_utf8proc_decompose_lump(0x003E);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:444:23: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    if (uc == 0x2216) nc_utf8proc_decompose_lump(0x005C);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:446:7: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
      nc_utf8proc_decompose_lump(0x005E);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:448:7: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
      nc_utf8proc_decompose_lump(0x005F);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:449:23: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    if (uc == 0x02CB) nc_utf8proc_decompose_lump(0x0060);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:450:23: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    if (uc == 0x2223) nc_utf8proc_decompose_lump(0x007C);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:451:23: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    if (uc == 0x223C) nc_utf8proc_decompose_lump(0x007E);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:455:9: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        nc_utf8proc_decompose_lump(0x000A);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:401:13: note: expanded from macro 'nc_utf8proc_decompose_lump'
  options & ~UTF8PROC_LUMP, last_boundclass)
          ~ ^~~~~~~~~~~~~~
/opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libdispatch/utf8proc.c:713:43: warning: implicit conversion changes signedness: 'nc_utf8proc_ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
  buffer = (nc_utf8proc_int32_t *) malloc(result * sizeof(nc_utf8proc_int32_t) + 1);
                                          ^~~~~~ ~
26 warnings generated.
ninja: build stopped: subcommand failed.

The second is empty.

Neumann-A commented 5 months ago

you can drop files into github......also the snippet does not contain the error

JeffreyWardman commented 5 months ago

Ah see if this helps.

config-arm64-osx-dbg-err.log config-arm64-osx-dbg-out.log

JeffreyWardman commented 5 months ago

image This comes up at the same time as the build fails and spits out error: building netcdf-c:arm64-osx failed with: BUILD_FAILED. After pressing install and accepting the license agreement, it installs. I click Done and then the same thing happens. Restarting the terminal /machine did not solve it either.

Neumann-A commented 5 months ago

Ah see if this helps.

wrong logs.

JeffreyWardman commented 5 months ago

Whoops. Let me try again.

install-arm64-osx-dbg-out.log

The other has nothing in it.

Neumann-A commented 5 months ago

hmm do i even want to know why apple has a /usr/bin/m4 file which cmake can find but is unusable?

cmake does:

FIND_PROGRAM(NC_M4 NAMES m4 m4.exe)
IF(NC_M4)
  MESSAGE(STATUS "Found m4: ${NC_M4}")
  SET(HAVE_M4 TRUE)
ELSE()
  MESSAGE(STATUS "m4 not found.")
  SET(HAVE_M4 FALSE)
ENDIF()

install log shows:

xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.

Only advice here is to fix you tools somehow.

JeffreyWardman commented 5 months ago

Hmmm okay. Thanks for your help looking into it! I'll update if I find a resolution.

dg0yt commented 5 months ago

Mac (M3 Max; ARM)

Keeps requesting m4 to be installed when it is present on my machine. I install and then it still fails.

When I install m4, it says it's been completed. I see it in /usr/bin, which is in my PATH

Which m4 is that?

Brew prefix is /opt/homebrew for Apple Silicon, /usr/local for macOS Intel.


cd /opt/vcpkg/buildtrees/netcdf-c/arm64-osx-dbg/libsrc && /usr/bin/m4 -DERANGE_FILL /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/ncx.m4 > /opt/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc/ncx.c
xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.

Maybe not a real m4 at all at /usr/bin/m4?

JeffreyWardman commented 5 months ago

I think you're right. When I run /usr/bin/m4 or just "m4" itself, it comes up with the below, which brings up the same pop up mentioned previously.

 ~  m4                                                        ok | at 17:29:14
xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.
JeffreyWardman commented 5 months ago

So this issue turns out to be unrelated to the vtk port or vcpkg.

In case it helps anyone in the future, I resolved it by following the steps in https://mac.install.guide/commandlinetools/6 (as per https://apple.stackexchange.com/questions/447992/how-to-fix-borked-xcode-commandline-tools).

I found this the other day which highlighted Apple forgot to include m4 in Xcode v15.3. https://trac.macports.org/ticket/69639

I therefore uninstalled and downgraded to 15.1. After that I was able to install vtk without issue.

Thanks everyone for your help!

JeffreyWardman commented 5 months ago

Nevermind. Complications not having an up to date version of Xcode.

It looks like it's because vcpkg only contains netcdf-c v4.8.1.

This issue would be resolved by https://github.com/microsoft/vcpkg/issues/32942, I believe, due to https://github.com/Unidata/netcdf-c/issues/1950.

dg0yt commented 5 months ago

This issue would be resolved by #32942, I believe, due to Unidata/netcdf-c#1950.

So this would be fixed by #35230. @MonicaLiu0311 ?

JeffreyWardman commented 4 months ago

This issue is still not resolved by the two PRs. To recreate, all that is needed is an arm64 mac and vcpkg.json with

{
    "name": "example",
    "version-semver": "0.0.0",
    "dependencies": [
      {
        "name": "vtk",
        "version>=": "9.3.0-pv5.12.0#3",
        "features": ["mpi"]
      }
    ],
    "default-features": [],
    "features": {
      "test": {
        "description": "Dependencies for testing",
        "dependencies": [
          {
            "name": "catch2",
            "version>=": "3.5.3"
          }
        ]
      }
    },
    "builtin-baseline": "02745e0f4749d1f51d2025824209408f5a6c3614"
  }
dg0yt commented 4 months ago

I guess there won't me much resolution except another warning message "Hey, you are on macos. Do brew install m4" or similar.

JeffreyWardman commented 4 months ago

Yeah, turns out the solution in the other mention resolved my issue. Had to add homebrew to path and then things were working again.