-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[netcdf-c] Build error on x64-linux #42782
Comments
earlier in the log file I see this error: [91/171] /usr/bin/cc -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_STATIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/tmp/vcpkg/buildtrees/netcdf-c/x86-linux-dbg/include -I/tmp/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/include -I/tmp/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/oc2 -I/tmp/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libsrc -I/tmp/vcpkg/installed/x86-linux/include -I/tmp/vcpkg/buildtrees/netcdf-c/x86-linux-dbg -fPIC -m32 -fno-strict-aliasing -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wconversion -MD -MT libhdf5/CMakeFiles/netcdfhdf5.dir/hdf5debug.c.o -MF libhdf5/CMakeFiles/netcdfhdf5.dir/hdf5debug.c.o.d -o libhdf5/CMakeFiles/netcdfhdf5.dir/hdf5debug.c.o -c /tmp/vcpkg/buildtrees/netcdf-c/src/83aa5b8e47-10b35fdabd.clean/libhdf5/hdf5debug.c |
I found something that works at this location: If I add the following, then it builds: It doesn't sound like an optimal solution. If there is a better way to get this to build, I would like to know. |
On an Alpine Linux image I am trying to install netcdf-c with vcpkg and am getting an error. The OS is description:
[ 5/17] RUN cat /etc/os-release
0.423 NAME="Alpine Linux"
0.423 ID=alpine
0.423 VERSION_ID=3.20.1
0.423 PRETTY_NAME="Alpine Linux v3.20"
0.423 HOME_URL="https://alpinelinux.org/"
0.423 BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
Some of the installs before running:
RUN apk add build-base cmake zip unzip curl git libtool libzip zlib perl clang ninja-is-really-ninja linux-headers pkgconfig bash autoconf tzdata automake python3
RUN /tmp/vcpkg/vcpkg update
RUN /tmp/vcpkg/vcpkg upgrade
RUN /tmp/vcpkg/vcpkg install vcpkg-cmake
RUN /tmp/vcpkg/vcpkg install vcpkg-cmake-config
RUN /tmp/vcpkg/vcpkg install vcpkg-pkgconfig-get-modules
RUN /tmp/vcpkg/vcpkg install netcdf-c
Error report below:
Package: netcdf-c[core,dap,hdf5,nczarr,netcdf-4]:x86-linux@4.8.1#5
Host Environment
vcpkg-scripts version: 2dc91c6 2024-12-17 (28 hours ago)
To Reproduce
vcpkg install netcdf-c
...
Installing 7/7 netcdf-c[core,dap,hdf5,nczarr,netcdf-4]:x64-linux@4.8.1#4...
Building netcdf-c[core,dap,hdf5,nczarr,netcdf-4]:x64-linux@4.8.1#4...
...
Failure logs
The text was updated successfully, but these errors were encountered: