Coder Social home page Coder Social logo

Comments (16)

JeffreyWardman avatar JeffreyWardman commented on August 16, 2024 1

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!

from vcpkg.

Neumann-A avatar Neumann-A commented on August 16, 2024

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?

from vcpkg.

JeffreyWardman avatar JeffreyWardman commented on August 16, 2024

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.

from vcpkg.

Neumann-A avatar Neumann-A commented on August 16, 2024

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

from vcpkg.

JeffreyWardman avatar JeffreyWardman commented on August 16, 2024

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.

from vcpkg.

Neumann-A avatar Neumann-A commented on August 16, 2024

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

from vcpkg.

JeffreyWardman avatar JeffreyWardman commented on August 16, 2024

Ah see if this helps.

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

from vcpkg.

JeffreyWardman avatar JeffreyWardman commented on August 16, 2024

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.

from vcpkg.

Neumann-A avatar Neumann-A commented on August 16, 2024

Ah see if this helps.

wrong logs.

from vcpkg.

JeffreyWardman avatar JeffreyWardman commented on August 16, 2024

Whoops. Let me try again.

install-arm64-osx-dbg-out.log

The other has nothing in it.

from vcpkg.

Neumann-A avatar Neumann-A commented on August 16, 2024

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.

from vcpkg.

JeffreyWardman avatar JeffreyWardman commented on August 16, 2024

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

from vcpkg.

dg0yt avatar dg0yt commented on August 16, 2024

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?

from vcpkg.

JeffreyWardman avatar JeffreyWardman commented on August 16, 2024

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.

from vcpkg.

JeffreyWardman avatar JeffreyWardman commented on August 16, 2024

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 #32942, I believe, due to Unidata/netcdf-c#1950.

from vcpkg.

dg0yt avatar dg0yt commented on August 16, 2024

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

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

from vcpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.