You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: failed to run custom build command for `libz-ng-sys v1.1.9`
Caused by:
process didn't exit successfully: `D:\a\cargo-zigbuild\cargo-zigbuild\tests\hello-cmake\target\debug\build\libz-ng-sys-a50c75ee0613b6ce\build-script-build_zng` (exit code: 101)
--- stdout
CMAKE_TOOLCHAIN_FILE_aarch64-unknown-linux-gnu = None
CMAKE_TOOLCHAIN_FILE_aarch64_unknown_linux_gnu = Some("C:\\Users\\runneradmin\\AppData\\Local\\cargo-zigbuild\\0.17.1\\cmake\\aarch64-unknown-linux-gnu-toolchain.cmake")
CMAKE_GENERATOR_aarch64-unknown-linux-gnu = None
CMAKE_GENERATOR_aarch64_unknown_linux_gnu = None
TARGET_CMAKE_GENERATOR = None
CMAKE_GENERATOR = None
CMAKE_PREFIX_PATH_aarch64-unknown-linux-gnu = None
CMAKE_PREFIX_PATH_aarch64_unknown_linux_gnu = None
TARGET_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_aarch64-unknown-linux-gnu = None
CMAKE_aarch64_unknown_linux_gnu = None
TARGET_CMAKE = None
CMAKE = None
running: "cmake" "C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\libz-ng-sys-1.1.9\\src/zlib-ng" "-DBUILD_SHARED_LIBS=OFF" "-DZLIB_COMPAT=OFF" "-DZLIB_ENABLE_TESTS=OFF" "-DWITH_GZFILEOP=ON" "-DCMAKE_TOOLCHAIN_FILE=C:\\Users\\runneradmin\\AppData\\Local\\cargo-zigbuild\\0.17.1\\cmake\\aarch64-unknown-linux-gnu-toolchain.cmake" "-DCMAKE_INSTALL_PREFIX=D:\\a\\cargo-zigbuild\\cargo-zigbuild\\tests\\hello-cmake\\target\\aarch64-unknown-linux-gnu\\debug\\build\\libz-ng-sys-417a00098626c933\\out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_BUILD_TYPE=Debug"
-- Building for: Visual Studio 17 2022
-- Using CMake version 3.27.4
-- ZLIB_HEADER_VERSION: 1.2.11
-- ZLIBNG_HEADER_VERSION: 2.0.7
-- The C compiler identification is MSVC 19.35.32217.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.35.32215/bin/HostX64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Arch not recognized, falling back to cmake arch: 'aarch64'
-- Basearch of 'aarch64' has been detected as: 'arm'
-- Using CMake toolchain: C:/Users/runneradmin/AppData/Local/cargo-zigbuild/0.17.1/cmake/aarch64-unknown-linux-gnu-toolchain.cmake
-- Architecture supports unaligned reads
-- Architecture supports unaligned reads of > 4 bytes
-- Looking for sys/sdt.h
-- Looking for sys/sdt.h - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Check size of _off64_t
-- Check size of _off64_t - failed
-- Check size of __off64_t
-- Check size of __off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - not found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for posix_memalign
-- Looking for posix_memalign - not found
-- Looking for aligned_alloc
-- Looking for aligned_alloc - not found
-- Performing Test HAVE_NO_INTERPOSITION
-- Performing Test HAVE_NO_INTERPOSITION - Failed
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_HIDDEN
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_HIDDEN - Failed
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_INTERNAL
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_INTERNAL - Failed
-- Performing Test HAVE_BUILTIN_CTZ
-- Performing Test HAVE_BUILTIN_CTZ - Failed
-- Performing Test HAVE_BUILTIN_CTZLL
-- Performing Test HAVE_BUILTIN_CTZLL - Failed
-- Performing Test HAVE_PTRDIFF_T
-- Performing Test HAVE_PTRDIFF_T - Success
-- Performing Test ARM_AUXV_HAS_CRC32
-- Performing Test ARM_AUXV_HAS_CRC32 - Failed
-- HWCAP_CRC32 not present in sys/auxv.h; cannot detect support at runtime.
-- Architecture-specific source files: arch/arm/armfeature.c;arch/arm/crc32_acle.c;arch/arm/insert_string_acle.c;arch/arm/adler32_neon.c;arch/arm/chunkset_neon.c;arch/arm/slide_neon.c
-- The following features have been enabled:
* CMAKE_BUILD_TYPE, Build type: Debug (selected)
* WITH_GZFILEOP, Compile with support for gzFile related functions
* WITH_OPTIM, Build with optimisation
* WITH_NEW_STRATEGIES, Use new strategies
* WITH_UNALIGNED, Support unaligned reads on platforms that support it
* WITH_ACLE, Build with ACLE
* WITH_NEON, Build with NEON intrinsics
* ACLE_CRC, Support ACLE optimized CRC hash generation, using ""
* NEON_ADLER32, Support NEON instructions in adler32, using ""
* NEON_SLIDEHASH, Support NEON instructions in slide_hash, using ""
-- The following features have been disabled:
* ZLIB_COMPAT, Compile with zlib compatible API
* ZLIB_ENABLE_TESTS, Build test binaries
* ZLIB_DUAL_LINK, Dual link tests against system zlib
* WITH_FUZZERS, Build test/fuzz
* WITH_NATIVE_INSTRUCTIONS, Instruct the compiler to use the full instruction set on this host (gcc/clang -march=native)
* WITH_MAINTAINER_WARNINGS, Build with project maintainer warnings
* WITH_CODE_COVERAGE, Enable code coverage reporting
* WITH_INFLATE_STRICT, Build with strict inflate distance checking
* WITH_INFLATE_ALLOW_INVALID_DIST, Build with zero fill for inflate invalid distances
* INSTALL_UTILS, Copy minigzip and minideflate during install
-- Configuring done (30.9s)
-- Generating done (0.0s)
-- Build files have been written to: D:/a/cargo-zigbuild/cargo-zigbuild/tests/hello-cmake/target/aarch64-unknown-linux-gnu/debug/build/libz-ng-sys-417a00098626c933/out/build
running: "cmake" "--build" "." "--target" "install" "--config" "Debug" "--parallel" "2"
MSBuild version 17.7.2+d6990bcfa for .NET Framework
1>Checking Build System
Building Custom Rule C:/Users/runneradmin/.cargo/registry/src/index.crates.io-6f17d22bba[150](https://github.com/rust-cross/cargo-zigbuild/actions/runs/6137300805/job/16652992101#step:17:151)01f/libz-ng-sys-1.1.9/src/zlib-ng/CMakeLists.txt
cl : command line warning D9002: ignoring unknown option '-ffunction-sections' [D:\a\cargo-zigbuild\cargo-zigbuild\tests\hello-cmake\target\aarch64-unknown-linux-gnu\debug\build\libz-ng-sys-417a00098626c933\out\build\zlib.vcxproj]
cl : command line warning D9002: ignoring unknown option '-fdata-sections' [D:\a\cargo-zigbuild\cargo-zigbuild\tests\hello-cmake\target\aarch64-unknown-linux-gnu\debug\build\libz-ng-sys-417a00098626c933\out\build\zlib.vcxproj]
adler32.c
cl : command line warning D9002: ignoring unknown option '-fPIC' [D:\a\cargo-zigbuild\cargo-zigbuild\tests\hello-cmake\target\aarch64-unknown-linux-gnu\debug\build\libz-ng-sys-417a00098626c933\out\build\zlib.vcxproj]
chunkset.c
compare258.c
compress.c
crc32.c
crc32_comb.c
deflate.c
deflate_fast.c
deflate_medium.c
deflate_quick.c
deflate_slow.c
functable.c
infback.c
inffast.c
inflate.c
inftrees.c
insert_string.c
trees.c
uncompr.c
zutil.c
Generating Code...
Compiling...
armfeature.c
crc32_acle.c
insert_string_acle.c
adler32_neon.c
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\include\arm_neon.h(21,1): fatal error C1[189](https://github.com/rust-cross/cargo-zigbuild/actions/runs/6137300805/job/16652992101#step:17:190): #error: This header is specific to ARM targets [D:\a\cargo-zigbuild\cargo-zigbuild\tests\hello-cmake\target\aarch64-unknown-linux-gnu\debug\build\libz-ng-sys-417a00098626c933\out\build\zlib.vcxproj]
chunkset_neon.c
C:\Program Files\Microsoft Visual Studio\[202](https://github.com/rust-cross/cargo-zigbuild/actions/runs/6137300805/job/16652992101#step:17:203)2\Enterprise\VC\Tools\MSVC\14.35.32[215](https://github.com/rust-cross/cargo-zigbuild/actions/runs/6137300805/job/16652992101#step:17:216)\include\arm_neon.h(21,1): fatal error C1189: #error: This header is specific to ARM targets [D:\a\cargo-zigbuild\cargo-zigbuild\tests\hello-cmake\target\aarch64-unknown-linux-gnu\debug\build\libz-ng-sys-417a00098626c933\out\build\zlib.vcxproj]
slide_neon.c
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.3[221](https://github.com/rust-cross/cargo-zigbuild/actions/runs/6137300805/job/16652992101#step:17:222)5\include\arm_neon.h(21,1): fatal error C1189: #error: This header is specific to ARM targets [D:\a\cargo-zigbuild\cargo-zigbuild\tests\hello-cmake\target\aarch64-unknown-linux-gnu\debug\build\libz-ng-sys-417a00098626c933\out\build\zlib.vcxproj]
gzlib.c
gzread.c
gzwrite.c
Generating Code...
--- stderr
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_ASM_FLAGS
CMAKE_CXX_FLAGS
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1
build script failed, must exit now', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.50\src\lib.rs:1098:5
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library\std\src\panicking.rs:593
1: core::panicking::panic_fmt
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library\core\src\panicking.rs:67
2: cmake::fail
at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.50\src\lib.rs:1098
3: cmake::run
at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.50\src\lib.rs:1076
4: cmake::Config::build
at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.50\src\lib.rs:874
5: build_script_build_zng::build_zlib_ng
at .\build_zng.rs:21
6: build_script_build_zng::main
at .\build_zng.rs:54
7: core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be\library\core\src\ops\function.rs:[250](https://github.com/rust-cross/cargo-zigbuild/actions/runs/6137300805/job/16652992101#step:17:251)
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: