Skip to content

4.1.0 build failing tests on gcc 14 + cmake 4.2.2 with Error -111 #943

@akrherz

Description

@akrherz

Greetings, I attempt to keep the conda-forge build of minizip-ng current. Building 4.1.0 is experiencing a number of test failures, for example:

  7/211 Test   #7: raw-erase-unzip-generic ..........***Failed    0.00 sec
minizip-ng 4.1.0 - https://github.com/zlib-ng/minizip-ng
---------------------------------------------------
-x -o -d $SRC_DIR/build/Testing/Temporary/raw-generic $SRC_DIR/build/Testing/Temporary/raw-generic.zip 
Archive $SRC_DIR/build/Testing/Temporary/raw-generic.zip
Error -111 opening archive $SRC_DIR/build/Testing/Temporary/raw-generic.zip

My blissfully ignorant assumption is that warning may be to blame?

CMake Warning (dev) at /home/conda/feedstock_root/build_artifacts/minizip_1769305791926/_build_env/share/cmake-4.2/Modules/FetchContent.cmake:1963 (message):
  Calling FetchContent_Populate(googletest) is deprecated, call
  FetchContent_MakeAvailable(googletest) instead.  Policy CMP0169 can be set
  to OLD to allow FetchContent_Populate(googletest) to be called directly for
  now, but the ability to call it with declared details will be removed
  completely in a future version.
Call Stack (most recent call first):
  test/CMakeLists.txt:40 (FetchContent_Populate)
This warning is for project developers.  Use -Wno-dev to suppress it.

Here's the compile log

log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions