$ conan install --requires=libzip/1.10.1 -pr:a=conan/windows-msys2-mingw.conan.profile --build=missing -vtrace
WARN: Downgrading cache from Conan 2.9.3 to 2.9.2
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=14
os=Windows
[buildenv]
MSYSTEM=MINGW64
CC=C:/msys64/mingw64/bin/gcc
CXX=C:/msys64/mingw64/bin/g++
SYSROOT=C:/msys64/mingw64
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=14
os=Windows
[buildenv]
MSYSTEM=MINGW64
CC=C:/msys64/mingw64/bin/gcc
CXX=C:/msys64/mingw64/bin/g++
SYSROOT=C:/msys64/mingw64
======== Computing dependency graph ========
Graph root
cli
Requirements
bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Cache
libzip/1.10.1#502a2dde4cadffadd89a63e9bd824b08 - Cache
xz_utils/5.4.5#51e5a6e6564f4ea3afd79def01f035ad - Cache
zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache
zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df - Cache
Build requirements
msys2/cci.latest#f6bb451a181a3f452024ea43ca744061 - Cache
Resolved version ranges
zlib/[>=1.2.11 <2]: zlib/1.3.1
======== Computing necessary packages ========
Requirements
bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4:3784f82c839358eebcdedab0eb64eaa9eb25d01c#750ae49d946ffb02a476a906131413fc - Cache
libzip/1.10.1#502a2dde4cadffadd89a63e9bd824b08:d8495e7f374c565348dfedbfa4edfe5e316b1f11 - Build
xz_utils/5.4.5#51e5a6e6564f4ea3afd79def01f035ad:0534efa715363b456efc91df5dd071bc6eefb323#91752e4fcaba6fc5774fcf0c1c7783c3 - Cache
zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:0534efa715363b456efc91df5dd071bc6eefb323#c3448a4462a3d0b62e45f46071cfd600 - Cache
zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df:d88675c15532568e1d7adeaa4c6fc6eb0914cce5#357252af8ee26a4e1bd36d0e6cff16bb - Cache
Build requirements
msys2/cci.latest#f6bb451a181a3f452024ea43ca744061:956a88975bda9dfcc485e2861d71e74bd7e2b9a5#a4d094e33a7cec3c59a0489115a170c6 - Skip
======== Installing packages ========
bzip2/1.0.8: Already installed! (1 of 5)
zlib/1.3.1: Already installed! (2 of 5)
zstd/1.5.5: Already installed! (3 of 5)
xz_utils/5.4.5: Already installed! (4 of 5)
-------- Installing package libzip/1.10.1 (5 of 5) --------
libzip/1.10.1: Building from source
libzip/1.10.1: Package libzip/1.10.1:d8495e7f374c565348dfedbfa4edfe5e316b1f11
libzip/1.10.1: Copying sources to build folder
libzip/1.10.1: Building your package in C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b
libzip/1.10.1: Calling generate()
libzip/1.10.1: Generators folder: C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/build/Release/generators
libzip/1.10.1: CMakeToolchain generated: conan_toolchain.cmake
libzip/1.10.1: CMakeToolchain generated: C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/build/Release/generators/CMakePresets.json
libzip/1.10.1: CMakeToolchain generated: C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/src/CMakeUserPresets.json
libzip/1.10.1: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
find_package(ZLIB)
find_package(BZip2)
find_package(LibLZMA)
find_package(zstd)
target_link_libraries(... ZLIB::ZLIB BZip2::BZip2 LibLZMA::LibLZMA zstd::libzstd_static)
libzip/1.10.1: Generating aggregated env files
libzip/1.10.1: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
libzip/1.10.1: Calling build()
libzip/1.10.1: Apply patch (conan): fix installation path of utilities
libzip/1.10.1: WARN: C:/Users/tcash/.conan2/p/libzi0a0ca0038b882/s/patches/1.7.3-0001-cmake-install-bundle.patch: file 1/1: b'src/CMakeLists.txt'
libzip/1.10.1: WARN: C:/Users/tcash/.conan2/p/libzi0a0ca0038b882/s/patches/1.7.3-0001-cmake-install-bundle.patch: hunk no.1 doesn't match source file at line 7
libzip/1.10.1: WARN: C:/Users/tcash/.conan2/p/libzi0a0ca0038b882/s/patches/1.7.3-0001-cmake-install-bundle.patch: expected: b' install(TARGETS ${PROGRAM} EXPORT ${PROJECT_NAME}-targets RUNTIME DESTINATION bin)'
libzip/1.10.1: WARN: C:/Users/tcash/.conan2/p/libzi0a0ca0038b882/s/patches/1.7.3-0001-cmake-install-bundle.patch: actual : b' install(TARGETS ${PROGRAM} EXPORT ${PROJECT_NAME}-targets DESTINATION bin)'
libzip/1.10.1: WARN: C:/Users/tcash/.conan2/p/libzi0a0ca0038b882/s/patches/1.7.3-0001-cmake-install-bundle.patch: already patched b'src/CMakeLists.txt'
libzip/1.10.1: Apply patch (conan): remove rpath feature
libzip/1.10.1: Running CMake.configure()
libzip/1.10.1: RUN: cmake -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/p" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/src"
libzip/1.10.1: Full command: "C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/build/Release/generators/conanbuild.bat" && cmake -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/p" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/src"
-- Using Conan toolchain: C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/build/Release/generators/conan_toolchain.cmake
-- Conan toolchain: Defining architecture flag: -m64
-- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for _close
-- Looking for _close - found
-- Looking for _dup
-- Looking for _dup - found
-- Looking for _fdopen
-- Looking for _fdopen - found
-- Looking for _fileno
-- Looking for _fileno - found
-- Looking for _setmode
-- Looking for _setmode - found
-- Looking for _snprintf
-- Looking for _snprintf - found
-- Looking for _snprintf_s
-- Looking for _snprintf_s - found
-- Looking for _snwprintf_s
-- Looking for _snwprintf_s - found
-- Looking for _strdup
-- Looking for _strdup - found
-- Looking for _stricmp
-- Looking for _stricmp - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - found
-- Looking for _strtoui64
-- Looking for _strtoui64 - found
-- Looking for _unlink
-- Looking for _unlink - found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for clonefile
-- Looking for clonefile - not found
-- Looking for explicit_bzero
-- Looking for explicit_bzero - not found
-- Looking for explicit_memset
-- Looking for explicit_memset - not found
-- Looking for fchmod
-- Looking for fchmod - not found
-- Looking for fileno
-- Looking for fileno - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for ftello
-- Looking for ftello - found
-- Looking for getprogname
-- Looking for getprogname - not found
-- Looking for localtime_r
-- Looking for localtime_r - not found
-- Looking for localtime_s
-- Looking for localtime_s - found
-- Looking for memcpy_s
-- Looking for memcpy_s - found
-- Looking for random
-- Looking for random - not found
-- Looking for setmode
-- Looking for setmode - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for snprintf_s
-- Looking for snprintf_s - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strerror_s
-- Looking for strerror_s - found
-- Looking for strerrorlen_s
-- Looking for strerrorlen_s - not found
-- Looking for stricmp
-- Looking for stricmp - found
-- Looking for strncpy_s
-- Looking for strncpy_s - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for 3 include files sys/types.h, ..., fts.h
-- Looking for 3 include files sys/types.h, ..., fts.h - not found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - 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 __int8
-- Check size of __int8 - done
-- Check size of int8_t
-- Check size of int8_t - done
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of __int16
-- Check size of __int16 - done
-- Check size of int16_t
-- Check size of int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of __int32
-- Check size of __int32 - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of __int64
-- Check size of __int64 - done
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Performing Test HAVE_FICLONERANGE
-- Performing Test HAVE_FICLONERANGE - Failed
-- Performing Test HAVE_NULLABLE
-- Performing Test HAVE_NULLABLE - Failed
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Target declared 'BZip2::BZip2'
-- Conan: Including build module from 'C:/Users/tcash/.conan2/p/b/bzip25800a3dd709c3/p/lib/cmake/conan-official-bzip2-variables.cmake'
-- Conan: Target declared 'LibLZMA::LibLZMA'
-- Conan: Including build module from 'C:/Users/tcash/.conan2/p/b/xz_ute2c4017e81714/p/lib/cmake/conan-official-xz_utils-variables.cmake'
-- Conan: Component target declared 'zstd::libzstd_static'
-- Looking for getopt
-- Looking for getopt - found
-- Configuring done (31.5s)
-- Generating done (0.1s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_SH
-- Build files have been written to: C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/build/Release
libzip/1.10.1: Running CMake.build()
libzip/1.10.1: RUN: cmake --build "C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/build/Release" -- -j20
libzip/1.10.1: Full command: "C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/build/Release/generators/conanbuild.bat" && cmake --build "C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/build/Release" -- -j20
[ 0%] Generating zip_err_str.c
[ 1%] Building C object lib/CMakeFiles/zip.dir/zip_add.c.obj
[[ 33%]%] BuiBludiilndgi nCg oCb joebcjte clti bl/iCbM/aCkMaekFeiFlieles/sz/izp[.i dp.i dr3i/rz%/i]zp ip_Baud_idla_ddeinndtg_r dyCi. ro.bccj..eoobcjb[jt
l4i%b]/ CMaBkueiFlidlieng sC/ zip.odirbje/czti pl_iabl/gCoMraiktehFmi_ldeesf/lzaitpe..d[ci .r o/5bz%ji
]p _buBfufielrd.icn.g obCj o
bject lib/CMakeFiles/zip.dir/zip_close.c.obj
[ 6%] Building C object lib/CMakeFiles/zip.dir/zip_delete.c.obj
[ 6%] Building C object lib/CMakeFiles/zip.dir/zip_dir_add.c.obj
[ 7%] Building C object lib/CMakeFiles/zip.dir/zip_[d i r8e%n]t .cB.uoibljdi
ng C object lib/CMakeFiles/zip.dir/zip_discard.c.obj
[ 9%] [ B9uil%di] ngB uCi lodbijnegc tC loibbj/eCcMta kleiFbi/lCeMsa/kzeiFpi.ldeisr//zziipp._deinrt/zriyp._ce.rorbojr.
c.obj
[ 10%] Building C object lib/CMakeFiles/zip.dir/zip_error_clear.c.obj
[ 11%] Building C object lib/CMakeFiles/zip.dir/zip_error_get.c.obj
[ 12%] Building C object lib/CMakeFiles/zip[. d1i2r%/]z ip_eBruriolrd_ignegt _Cs yosb_jteycpte .lci.bo/bCjM
akeFiles/zip.dir/zip_e[ 13%] rrBouri_lsdtirnegr rCo ro.bcj.eobcjt
lib/CMakeFi[l e1s4/%z]i p.diBru/izlidpi_negr rCo ro_btjoec_ts tlri.bc/.CoMbajk
eFiles/zip.dir/zip_extra_fi[e l15d%.]c .Boubijld
ing C object lib/CMake[F i1l5e%s]/ zip.Bduiirl/dziinpg_ eCx torbaj_efcite lldi_ba/pCiM.ack.eoFbijl
es/zip.dir/zip_fclose.c.obj
[ 16%] Building C object lib/CMakeFiles/zip.dir/zip_fdopen.c.obj
[ 17%] Building C object lib/CMakeFiles/zip.dir/zip_file_add.c.obj
[ 18%] Building C object lib/CMakeFiles/zip.dir/zip_file_error_clear.c.[o b1j8
%] Building C object lib/CMakeFiles/zip.dir/zi[p _1f9i%l]e _errBouri_lgdeitn.gc .C oobbjj
ect lib/CMakeFiles/zip.dir/zip_file_get_comme[n t2.0c%.]o bjB
uilding C object lib/CMakeFiles/zip.dir/zi[ p2_1%f]i le_Bgueitl_deixntge rCn aolb_jaetcttri lbiubt/eCsM.ack.eoFbijl
es/zip.dir/zip_f[i l2e1_%g]e t_oBfufisledti.ncg. oCb job
ject lib/CMakeFiles/zip.dir/zip_file_rename.c.obj
[ 22%] Building C object lib/CMakeFiles/zip.dir/zip_file_replace.c.obj
[ 23%] Building C object lib/CMakeFiles/zip.dir/zip_file_set_comment.[c .2o4b%j]
Building C object lib/CMakeFiles/zip.[d i2r5/%z]i p_fiBluei_lsdeitn_g enCc roypbjetcito nl.icb./oCbMja
keFiles/zip.dir/zip_file_set_external_attributes.c.obj
[ 25%] Building C object lib/CMakeFiles/zip.dir/zip_fil[e _2s6e%t]_ mtimBeu.icl.doibnjg
C object lib/CMakeFiles/zip.dir/zip_file_strer[r o2r7.%c]. objB
uilding C object lib/CMakeFiles/zip.dir/zip_fopen.c.obj
[ 28%] Building C object lib/CMakeFiles/zip.dir/zip_fope[n _2e8n%c] ryBputieldd.ic.nogb jC
object lib/CMakeFiles[/ z2i9p%.]d ir/Bzuiipl_dfionpge Cn _oibnjdeecxt. cl.iobb/jCM
akeFiles/zip.dir/zip_fopen_index_encrypted.c.obj[
30%] Building C object lib/CMakeFiles/zip.dir/zip_fread.c.obj[
31%] Building C object lib/CMakeFiles/zip.dir/zip_fseek.c.obj
[ 31%] Building C object lib/CMakeFiles/zip.dir/zip_ftell.c.obj
[ 32%] Building C object lib/CMakeFiles/zip.dir/zip_get_archive_comment.c.obj
[ 33%] Building C object lib/CMakeFiles/zip.dir/zip_get_archive_flag.c.obj
[ 34%] Building C object lib/CMakeFiles/zip.dir/zip_get_encryption_implementation.c.[o b3j4
%] Building C object lib/CMakeFiles/zip.dir/zip_ge[t _3f5i%l]e _coBmumielndti.ncg. oCb job
ject lib/CMakeFiles/zip.dir/zip_get_name.c.obj[
36%] Building C object lib/CMakeFiles/zip.dir/zip_get_num[_ e3n7t%r]ie s.cB.uoibljdi
ng C object lib/CMakeFiles/zip.dir/zip_get_num_file[s .3c7.%o]b j
Building C object lib/CMakeFiles/zip.dir/zip_hash.c.obj
[ 38%] Building C object lib/CMakeFiles/zip.dir/zip_io_util.c.obj
[ 39%] Building C object lib/CMakeFiles/zip.dir/zip_libzip_versio[n .4c0.%o]b jB
uilding C ob[j e4c0t% l]i b/CBMuaikledFiinlge sC/ zoipb.jdeicrt/ zliipb_/mCeMmadkuepF.icl.eosb/jzi
p.dir/zip_name_locate.c.obj
[ 41%] Building C object lib/CMakeFiles/zip.dir/zip_new.c.obj
[ 42%] Building C object lib/CMakeFiles/zip.dir/zip_open.c.obj
[ 43%] Building C object lib/CMakeFiles/zip.dir/zip_pkware.c.obj
[ 43%] Building C object lib/CMakeFiles/zip.dir/zip_progress.c.obj
[ 44%] Building C object lib/CMakeFiles/zip.dir/zip_rename.c.obj
[ 45%] Building C object lib/CMakeFiles[/ z4i6%p]. dirB/uziilpd_irnegp lCa coeb.jce.cotb jl
ib/CMakeFiles/zip.dir/zip_se[t _4a6r%c]h iveB_uciolmdmienngt .Cc .oobjbejc
t lib/CMakeFiles/zip.dir/zip_set_archive_flag.c.obj
[ 47%] Building C object lib/CMakeFiles/zip.dir/zip_set_default_password.c.obj
[ 48%] Building C object lib/CMakeFiles/zip.dir/zip_set_file_comment.c.obj
[ 49%] Building C object lib/CMakeFiles/zip.dir/zip_set_file_compression.c.ob[j
50%] Building C object lib/CMakeFiles/zip.dir/zip_set_name.c.obj
[ 50%] Building C object lib/CMakeFiles/zip.dir/zip_source_[a c5c1e%p]t _emBputiyl.dci.nogb jC
object lib/CMakeFiles/zip.di[r /5z2i%p]_ souBruciel_dbiegnign _Cw roibtjee.cct. olbijb
/CMakeFiles/zip.dir/zip_source_begin_wri[t e5_3c%l]o ninBgui.lcd.ionbgj
C object lib/CMakeFiles/zip.dir/zip_source_buffer.c.obj
[ 53%] Building C object lib/CMakeFiles/zip.dir/zip_source_call.c.obj
[ 54%] Building C object lib/CMakeFiles/zip.dir/zip_source_close.c.ob[j
55%] Building C object lib/CMakeFiles/zip.dir/zip_source_commit_write.c.o[b j5
6%] Building C object lib/CMakeFiles/zip.dir/zip_source_compress.[c .o5b6j%
] Building C object lib/CMakeFiles/zip.dir/zip_source_crc.c.obj
[ 57%] Building C object lib/CMakeFiles/zip.dir/zip_[so u5r8c%e]_ erBruoirl.dci.nogb jC
object lib/CMakeFiles/zip.dir/zip_source_file_common.c.obj
[ 59%] Building C object lib/CMakeFiles/zip.dir/zip_source_file_s[t d5i9o%.]c .obBju
ilding C object lib/CMakeFiles/zip.dir/zip_source_free.c[. o6b0j%
] Building C object lib/CMakeFiles/zip.dir/zip_source_function.c.obj
[ 61%] Building C object lib/CMakeFiles/zip.dir/zip_[s o6u2r%c]e _getB_ufiilldei_nagt tCr iobbujteecst. cl.iobb/jCM
akeFiles/zip.dir/zip_[s o6u2r%c]e _isB_udielldeitnegd .Cc .oobbjje
ct lib/CM[a k6e3Fi%le]s /zBiupi.lddiirn/gz iCp _osbojuerccte _lliaby/eCrMeadk.ecF.iolbejs
/zip.dir/zip_source_open.c.obj
[ 64%] Building C object lib/CMakeFiles/zip.dir/zip_source_pass_to_lower_layer.c.obj
[ 65%] Building C object lib/CMakeFiles/zip.dir/zip_source_pkware_decode[. c.6o5%b]j
Building C object lib/CMakeFiles/zip.dir/zip_source_pkware_encod[e .66c%.]ob j
Building C object lib/CMakeFiles/zip.dir/zip_source_re[a d6.7c%.]o bj
Building C object lib/CMakeFiles/zip.dir/zip_source_r[e m6o8ve%.]c .objBu
ilding C object lib/CMakeFiles/zip.dir/zip_source_roll[b a6c8k%_]w ritBeu.icl.doibnjg
C object lib/CMakeFiles/zip.dir/zip_source_seek.[c .6o9b%j]
Building C object lib/CMakeFil[e s7/0z%i]p .dBiuri/lzdiinpg_ sCo uorbcjee_cste elki_bw/rCiMtaek.ecF.iolbejs/
zip.dir/zip_source_stat.c.obj
[ 71%] Building C object lib/CMakeFiles/zip.dir/zi[p _7s1o%u]r ceB_usiulpdpionrgt sC. co.obbjje
ct lib/CMakeFiles/zip.dir/zip_source_tell.c.obj
[ 72%] Building C object lib/CMakeFiles/zip.dir/zip_source_tell_write.c.obj
[ 73%] Building C object li[b /7C4M%a]k eFBiulielsd/iznigp .Cd iorb/jzeicpt_ sloiurb/CcMea_kweiFnidloews./cz.iopb.jd
ir/zip_source_write[. c7.5o%b]j
Building C object lib/CMakeFiles/zip.dir/zip_source_zip.c.obj
[ 75%] Building C object lib/CMakeFiles/zip.dir/zip_source_zip_new.c.obj
[ 76%] Building C object lib/CMakeFiles/zip.dir/zip_stat.c.obj
[ 77%] Building C object lib/CMakeFiles/zip.dir/zip_stat_index.c.obj
[ 78%] Building C object lib/CMakeFiles/zip.dir/zip_stat_init.c.obj
[ 78%] Building C object lib/CMakeFiles/zip.dir/zip_strerror.c.obj[
79%] Building C object lib/CMakeFiles/zip.dir/zip_string[. c8.0o%b]j
Building C object lib/CMakeFiles/zip.dir/zip_unchange.c.obj
[ 81%] Building C object lib/CMakeFiles/zip.d[i r8/1z%i]p _unBcuhialndgien_ga lCl .ocb.joebcjt
lib/CMakeFiles/zip.dir/zip_unchange_archive.c.obj
[ 82%] Building C object lib/CMakeFiles/zip.dir/zip_unchange_data.c.obj
[ 83%] Building C object lib/CMakeFiles/zip.dir/zip_utf-8.c.obj
[ 84%] Building C object lib/CMakeFiles/zip.dir/zip_err_str.c.obj
[ 84%] Building C object lib/CMakeFiles/zip.dir/zip_source_file_win32.c.o[b j8
5%] Building C object lib/CMakeFiles/zip.dir/zip_sourc[e _8f6i%l]e _winB3u2i_lndaimnegd .Cc .oobbjjec
t lib/CMa[k e8F7i%l]e s/zBiupi.ldidri/nzgi pC_ soobujreccet_ fliilbe/_CwMiank3e2F_iultefs1/6z.icp..odbijr/
zip_source_file_win32_utf8.c.obj
[ 87%] Building C object lib/CMakeFiles/zip.dir/zip_source_file_win32_ansi.c.obj
[ 88%] Building[ C8 9o%b]j ectB uliilbd/iCnMga kCe Foibljeesc/tz ilpi.bd/iCrM/azkiepF_irlaensd/ozmi_pw.idni3r2/.zci.po_bajl
gorithm_bzip2.c.obj
[ 90%] Building C object lib/CMakeFiles/zip.dir/zip_algorithm_xz.c.obj
[ 90%] Building C object lib/CMakeFiles/zip.dir/zip_algorithm_zstd.c.[o b9j1%
] Building C object lib/CMakeFiles/zip.[d i9r2/%z]i p_cBruyipltdoi_nwgi nC. co.bojbejct
lib/CMakeFiles/zip.dir/zip_winzip_aes.c.obj
[ 93%] Building C object lib/CMakeFile[s /9z3i%p]. dirB/uziilpd_isnogur cCe _owbijnezcitp _laiebs/_CdMeackoedFei.lce.so/bzji
p.dir/zip_source_winzip_aes_encode.c.obj
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:46:5: error: initialization of 'void * (*)(const void *, DWORD, DWORD, struct _SECURITY_ATTRIBUTES *, DWORD, DWORD, void *)' {aka 'void * (*)(const void *, long unsigned int, long unsigned int, struct _SECURITY_ATTRIBUTES *, long unsigned int, long unsigned int, void *)'} from incompatible pointer type 'void * (*)(const char *, DWORD, DWORD, struct _SECURITY_ATTRIBUTES *, DWORD, DWORD, void *)' {aka 'void * (*)(const char *, long unsigned int, long unsigned int, struct _SECURITY_ATTRIBUTES *, long unsigned int, long unsigned int, void *)'} [-Wincompatible-pointer-types]
46 | utf16_create_file,
| ^~~~~~~~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:46:5: note: (near initialization for 'ops_utf16.create_file')
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:47:5: error: initialization of 'BOOL (*)(const void *)' {aka 'int (*)(const void *)'} from incompatible pointer type 'WINBOOL (*)(const WCHAR *)' {aka 'int (*)(const short unsigned int *)'} [-Wincompatible-pointer-types]
47 | DeleteFileW,
| ^~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:47:5: note: (near initialization for 'ops_utf16.delete_file')
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:48:5: error: initialization of 'DWORD (*)(const void *)' {aka 'long unsigned int (*)(const void *)'} from incompatible pointer type 'DWORD (*)(const WCHAR *)' {aka 'long unsigned int (*)(const short unsigned int *)'} [-Wincompatible-pointer-types]
48 | GetFileAttributesW,
| ^~~~~~~~~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:48:5: note: (near initialization for 'ops_utf16.get_file_attributes')
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:49:5: error: initialization of 'BOOL (*)(const void *, GET_FILEEX_INFO_LEVELS, void *)' {aka 'int (*)(const void *, GET_FILEEX_INFO_LEVELS, void *)'} from incompatible pointer type 'WINBOOL (*)(const WCHAR *, GET_FILEEX_INFO_LEVELS, void *)' {aka 'int (*)(const short unsigned int *, GET_FILEEX_INFO_LEVELS, void *)'} [-Wincompatible-pointer-types]
49 | GetFileAttributesExW,
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:49:5: note: (near initialization for 'ops_utf16.get_file_attributes_ex')
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:51:5: error: initialization of 'BOOL (*)(const void *, const void *, DWORD)' {aka 'int (*)(const void *, const void *, long unsigned int)'} from incompatible pointer type 'WINBOOL (*)(const WCHAR *, const WCHAR *, DWORD)' {aka 'int (*)(const short unsigned int *, const short unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types]
51 | MoveFileExW,
| ^~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:51:5: note: (near initialization for 'ops_utf16.move_file')
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:52:5: error: initialization of 'BOOL (*)(const void *, DWORD)' {aka 'int (*)(const void *, long unsigned int)'} from incompatible pointer type 'WINBOOL (*)(const WCHAR *, DWORD)' {aka 'int (*)(const short unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types]
52 | SetFileAttributesW,
| ^~~~~~~~~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_utf16.c:52:5: note: (near initialization for 'ops_utf16.set_file_attributes')
mingw32-make[2]: *** [lib\CMakeFiles\zip.dir\build.make:1762: lib/CMakeFiles/zip.dir/zip_source_file_win32_utf16.c.obj] Error 1
mingw32-make[2]: *** Waiting for unfinished jobs....
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:44:5: error: initialization of 'void * (*)(const void *, DWORD, DWORD, struct _SECURITY_ATTRIBUTES *, DWORD, DWORD, void *)' {aka 'void * (*)(const void *, long unsigned int, long unsigned int, struct _SECURITY_ATTRIBUTES *, long unsigned int, long unsigned int, void *)'} from incompatible pointer type 'void * (*)(const CHAR *, DWORD, DWORD, struct _SECURITY_ATTRIBUTES *, DWORD, DWORD, void *)' {aka 'void * (*)(const char *, long unsigned int, long unsigned int, struct _SECURITY_ATTRIBUTES *, long unsigned int, long unsigned int, void *)'} [-Wincompatible-pointer-types]
44 | CreateFileA,
| ^~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:44:5: note: (near initialization for 'ops_ansi.create_file')
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:45:5: error: initialization of 'BOOL (*)(const void *)' {aka 'int (*)(const void *)'} from incompatible pointer type 'WINBOOL (*)(const CHAR *
' {aka 'int (*)(const char *)'} [-Wincompatible-pointer-types]
45 | DeleteFileA,
| ^~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:45:5: note: (near initialization for 'ops_ansi.delete_file')
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:46:5: error: initialization of 'DWORD (*)(const void *)' {aka 'long unsigned int (*)(const void *)'} from incompatible pointer type 'DWORD (*)(const CHAR *)' {aka 'long unsigned int (*)(const char *)'} [-Wincompatible-pointer-types]
46 | GetFileAttributesA,
| ^~~~~~~~~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:46:5: note: (near initialization for 'ops_ansi.get_file_attributes')
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:47:5: error: initialization of 'BOOL (*)(const void *, GET_FILEEX_INFO_LEVELS, void *)' {aka 'int (*)(const void *, GET_FILEEX_INFO_LEVELS, void *)'} from incompatible pointer type 'WINBOOL (*)(const CHAR *, GET_FILEEX_INFO_LEVELS, void *)' {aka 'int (*)(const char *, GET_FILEEX_INFO_LEVELS, void *)'} [-Wincompatible-pointer-types]
47 | GetFileAttributesExA,
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:47:5: note: (near initialization for 'ops_ansi.get_file_attributes_ex')
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:49:5: error: initialization of 'BOOL (*)(const void *, const void *, DWORD)' {aka 'int (*)(const void *, const void *, long unsigned int)'} from incompatible pointer type 'WINBOOL (*)(const CHAR *, const CHAR *, DWORD)' {aka 'int (*)(const char *, const char *, long unsigned int)'} [-Wincompatible-pointer-types]
49 | MoveFileExA,
| ^~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:49:5: note: (near initialization for 'ops_ansi.move_file')
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:50:5: error: initialization of 'BOOL (*)(const void *, DWORD)' {aka 'int (*)(const void *, long unsigned int)'} from incompatible pointer type 'WINBOOL (*)(const CHAR *, DWORD)' {aka 'int (*)(const char *, long unsigned int)'} [-Wincompatible-pointer-types]
50 | SetFileAttributesA,
| ^~~~~~~~~~~~~~~~~~
C:\Users\tcash\.conan2\p\b\libzi337ba3d6c0d71\b\src\lib\zip_source_file_win32_ansi.c:50:5: note: (near initialization for 'ops_ansi.set_file_attributes')
mingw32-make[2]: *** [lib\CMakeFiles\zip.dir\build.make:1792: lib/CMakeFiles/zip.dir/zip_source_file_win32_ansi.c.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:173: lib/CMakeFiles/zip.dir/all] Error 2
mingw32-make: *** [Makefile:145: all] Error 2
libzip/1.10.1: ERROR:
Package 'd8495e7f374c565348dfedbfa4edfe5e316b1f11' build failed
libzip/1.10.1: WARN: Build folder C:/Users/tcash/.conan2/p/b/libzi337ba3d6c0d71/b/build/Release
Traceback (most recent call last):
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/internal/errors.py", line 35, in conanfile_exception_formatter
yield
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/client/conanfile/build.py", line 14, in run_build_method
conanfile.build()
File "C:/Users/tcash/.conan2/p/libzi0a0ca0038b882/e/conanfile.py", line 112, in build
cmake.build()
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/tools/cmake/cmake.py", line 184, in build
self._build(build_type, target, cli_args, build_tool_args, stdout=stdout, stderr=stderr)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/tools/cmake/cmake.py", line 163, in _build
self._conanfile.run(command, env=env, stdout=stdout, stderr=stderr)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/model/conan_file.py", line 367, in run
raise ConanException("Error %d while executing" % retcode)
conan.errors.ConanException: Error 2 while executing
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/cli/cli.py", line 192, in run
command.run(self._conan_api, args[0][1:])
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/cli/command.py", line 171, in run
info = self._method(conan_api, parser, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/cli/commands/install.py", line 75, in install
conan_api.install.install_binaries(deps_graph=deps_graph, remotes=remotes)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/api/subapi/install.py", line 29, in install_binaries
installer.install(deps_graph, remotes, install_order=install_order)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/client/installer.py", line 260, in install
self._handle_package(package, install_reference, handled_count, package_count)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/client/installer.py", line 316, in _handle_package
self._handle_node_build(package, package_layout)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/client/installer.py", line 394, in _handle_node_build
pref = builder.build_package(node, pkg_layout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/client/installer.py", line 162, in build_package
raise exc
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/client/installer.py", line 155, in build_package
self._build(conanfile, pref)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/client/installer.py", line 104, in _build
raise exc
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/client/installer.py", line 97, in _build
run_build_method(conanfile, self._hook_manager)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/client/conanfile/build.py", line 12, in run_build_method
with conanfile_exception_formatter(conanfile, "build"):
File "C:/msys64/mingw64/lib/python3.11/contextlib.py", line 158, in __exit__
self.gen.throw(typ, value, traceback)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/internal/errors.py", line 45, in conanfile_exception_formatter
raise ConanException(m)
conan.errors.ConanException: Traceback (most recent call last):
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/internal/errors.py", line 35, in conanfile_exception_formatter
yield
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/client/conanfile/build.py", line 14, in run_build_method
conanfile.build()
File "C:/Users/tcash/.conan2/p/libzi0a0ca0038b882/e/conanfile.py", line 112, in build
cmake.build()
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/tools/cmake/cmake.py", line 184, in build
self._build(build_type, target, cli_args, build_tool_args, stdout=stdout, stderr=stderr)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/tools/cmake/cmake.py", line 163, in _build
self._conanfile.run(command, env=env, stdout=stdout, stderr=stderr)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/model/conan_file.py", line 367, in run
raise ConanException("Error %d while executing" % retcode)
conan.errors.ConanException: Error 2 while executing
libzip/1.10.1: Error in build() method, line 112
cmake.build()
ConanException: Error 2 while executing
ERROR: Traceback (most recent call last):
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/internal/errors.py", line 35, in conanfile_exception_formatter
yield
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/client/conanfile/build.py", line 14, in run_build_method
conanfile.build()
File "C:/Users/tcash/.conan2/p/libzi0a0ca0038b882/e/conanfile.py", line 112, in build
cmake.build()
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/tools/cmake/cmake.py", line 184, in build
self._build(build_type, target, cli_args, build_tool_args, stdout=stdout, stderr=stderr)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conan/tools/cmake/cmake.py", line 163, in _build
self._conanfile.run(command, env=env, stdout=stdout, stderr=stderr)
File "C:/msys64/mingw64/lib/python3.11/site-packages/conans/model/conan_file.py", line 367, in run
raise ConanException("Error %d while executing" % retcode)
conan.errors.ConanException: Error 2 while executing
libzip/1.10.1: Error in build() method, line 112
cmake.build()
ConanException: Error 2 while executing
Description
libzip/1.10.1 fails on msys2 mingw64
Package and Environment Details
Conan profile
[settings] os=Windows arch=x86_64 build_type=Release compiler=gcc compiler.version=14 compiler.cppstd=gnu17 compiler.libcxx=libstdc++11
[buildenv] MSYSTEM=MINGW64 CC=C:/msys64/mingw64/bin/gcc CXX=C:/msys64/mingw64/bin/g++ SYSROOT=C:/msys64/mingw64
Steps to reproduce
conan install --requires=libzip/1.10.1 -pr:a=conan/windows-msys2-mingw.conan.profile --build=missing
Logs