Skip to content
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

[bug] 'Paths don't have the same drive' error when testing the package on Windows with Conan 2.0.3 #13606

Closed
ssrobins opened this issue Apr 4, 2023 · 3 comments · Fixed by #13607
Assignees
Labels
Milestone

Comments

@ssrobins
Copy link
Contributor

ssrobins commented Apr 4, 2023

Environment details

Steps to reproduce

  1. git clone https://github.com/ssrobins/conan-recipes.git
  2. git checkout conan_paths_error
  3. cd conan-recipes
  4. py recipes/zlib/conan.py windows

Then I get this error during the test packages part:

ERROR: zlib/1.2.13@ssrobins (test package): Error in generate() method, line 26
	deps.generate()
	ConanException: error generating context for 'zlib/1.2.13@ssrobins': Paths don't have the same drive
Traceback (most recent call last):
  File "D:\a\conan-recipes\conan-recipes\recipes\zlib\conan.py", line 7, in <module>
    conan_create(os.path.dirname(os.path.realpath(__file__)))
  File "D:\a\conan-recipes\conan-recipes\recipes\zlib/../../scripts\conan_create.py", line 54, in conan_create
    subprocess.run(conan_command, cwd=recipe_path, shell=True, check=True)
  File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'conan create --update --user ssrobins . --profile:host=D:\a\conan-recipes\conan-recipes\scripts/../profiles/windows -s build_type=Debug' returned non-zero exit status 1.
Error: Process completed with exit code 1.

Logs

I could not reproduce it on my local Windows machine so I've included the GitHub Actions runner log, where it was reproducible 100% of the time with Conan 2.0.3, but worked fine for 2.0.2. I found this late in the day and wasn't able to dig deeper into root cause or any workarounds. If it's not immediately apparent, I'm happy to continue the investigation tomorrow.

Run py recipes/zlib/conan.py windows --config Debug
conan create --update --user ssrobins . --profile:host=D:\a\conan-recipes\conan-recipes\scripts/../profiles/windows -s build_type=Debug

======== Exporting recipe to the cache ========
zlib/1.2.13@ssrobins: Exporting package recipe: D:\a\conan-recipes\conan-recipes\recipes\zlib\conanfile.py
zlib/1.2.13@ssrobins: Copied 1 '.py' file: conanfile.py
zlib/1.2.13@ssrobins: Copied 1 '.txt' file: CMakeLists.txt
zlib/1.2.13@ssrobins: Exported to cache folder: C:\Users\runneradmin\.conan2\p\zlib53bb0d7b930de\e
zlib/1.2.13@ssrobins: Exported: zlib/1.2.13@ssrobins#39d7a38e319dc7d1d5c01be[4](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:5)cc4fc09f (2023-04-04 06:26:33 UTC)

======== Input profiles ========
Profile host:
[settings]
arch=x86
build_type=Debug
compiler=msvc
compiler.cppstd=17
compiler.runtime=static
compiler.runtime_type=Debug
compiler.update=4
compiler.version=193
os=Windows

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows


======== Computing dependency graph ========
zlib/1.2.13@ssrobins: Checking remote: conancenter
Graph root
    cli
Requirements
    zlib/1.2.13@ssrobins#39d7a38e319dc7d1d[5](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:6)c01be4cc4fc09f - Not in remote

======== Computing necessary packages ========
zlib/1.2.13@ssrobins: Forced build from source
Requirements
    zlib/1.2.13@ssrobins#39d7a38e319dc7d1d5c01be4cc4fc09f:821b[6](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:7)be[7](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:8)4fbdf90cabee2e5c45[8](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:9)[9](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:10)ae01deea9831 - Build

======== Installing packages ========
zlib/1.2.13@ssrobins: Calling source() in C:\Users\runneradmin\.conan2\p\zlib53bb0d7b930de\s
Downloading zlib-1.2.13.tar.gz

-------- Installing package zlib/1.2.13@ssrobins (1 of 1) --------
zlib/1.2.13@ssrobins: Building from source
zlib/1.2.13@ssrobins: Package zlib/1.2.13@ssrobins:821b6be74fbdf90cabee2e5c4589ae01deea9831
zlib/1.2.13@ssrobins: Copying sources to build folder
zlib/1.2.13@ssrobins: Building your package in C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b
zlib/1.2.13@ssrobins: Calling generate()
zlib/1.2.13@ssrobins: Generators folder: C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build
zlib/1.2.13@ssrobins: CMakeToolchain generated: conan_toolchain.cmake
zlib/1.2.13@ssrobins: CMakeToolchain generated: CMakePresets.json
zlib/1.2.13@ssrobins: CMakeToolchain generated: ..\CMakeUserPresets.json
zlib/1.2.13@ssrobins: Generating aggregated env files
zlib/1.2.13@ssrobins: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
zlib/1.2.13@ssrobins: Calling build()
zlib/1.2.13@ssrobins: Running CMake.configure()
zlib/1.2.13@ssrobins: RUN: cmake -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE="C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/p" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b"
-- Using Conan toolchain: C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build/conan_toolchain.cmake
-- Conan toolchain: C++ Standard 17 with extensions OFF
-- The C compiler identification is MSVC 19.34.31943.0
-- The CXX compiler identification is MSVC 19.34.31943.0
-- 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.34.31933/bin/HostX64/x86/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.34.31933/bin/HostX64/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at source/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- 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
-- Looking for fseeko
-- Looking for fseeko - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Renaming
--     C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/source/zconf.h
-- to 'zconf.h.included' because this file is included with zlib
-- but CMake generates it automatically in the build directory.
-- Configuring done (57.4s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build

zlib/1.2.13@ssrobins: Running CMake.build()
zlib/1.2.13@ssrobins: RUN: cmake --build "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build" --config Debug
MSBuild version 17.5.1+f6fdcf537 for .NET Framework
Build started 4/4/2023 6:27:32 AM.
Included response file: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\MSBuild.rsp

Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\ALL_BUILD.vcxproj" on node 1 (default targets).
Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\ALL_BUILD.vcxproj" (1) is building "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "Win32\Debug\ZERO_CHECK\".
  Creating directory "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\Debug\".
  Creating directory "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\".
InitializeBuildStatus:
  Creating "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Checking Build System
FinalizeBuildStatus:
  Deleting file "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
  Touching "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
Done Building Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\ZERO_CHECK.vcxproj" (default targets).
Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\ALL_BUILD.vcxproj" (1) is building "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\example.vcxproj" (3) on node 1 (default targets).
Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\example.vcxproj" (3) is building "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\zlib.vcxproj" (4) on node 1 (default targets).
PrepareForBuild:
  Creating directory "zlib.dir\Debug\".
  Creating directory "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\".
  Creating directory "zlib.dir\Debug\zlib.tlog\".
InitializeBuildStatus:
  Creating "zlib.dir\Debug\zlib.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/source/CMakeLists.txt
ClCompile:
  C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX64\x86\CL.exe /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _WINDLL /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /D ZLIB_DLL /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"zlib.dir\Debug\\" /Fd"zlib.dir\Debug\vc143.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\adler32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\compress.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\crc32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\deflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzclose.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzlib.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzread.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzwrite.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\infback.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inftrees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inffast.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\trees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\uncompr.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\zutil.c
  Microsoft (R) C/C++ Optimizing Compiler Version 19.34.31943 for x86
  Copyright (C) Microsoft Corporation.  All rights reserved.
  cl /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _WINDLL /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /D ZLIB_DLL /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"zlib.dir\Debug\\" /Fd"zlib.dir\Debug\vc143.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\adler32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\compress.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\crc32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\deflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzclose.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzlib.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzread.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzwrite.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\infback.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inftrees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inffast.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\trees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\uncompr.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\zutil.c
  adler32.c
  cl /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _WINDLL /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /D ZLIB_DLL /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"zlib.dir\Debug\\" /Fd"zlib.dir\Debug\vc143.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\adler32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\compress.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\crc32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\deflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzclose.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzlib.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzread.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzwrite.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\infback.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inftrees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inffast.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\trees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\uncompr.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\zutil.c
  cl /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _WINDLL /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /D ZLIB_DLL /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"zlib.dir\Debug\\" /Fd"zlib.dir\Debug\vc143.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\adler32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\compress.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\crc32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\deflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzclose.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzlib.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzread.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzwrite.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\infback.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inftrees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inffast.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\trees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\uncompr.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\zutil.c
  compress.c
  crc32.c
  deflate.c
  gzclose.c
  gzlib.c
  gzread.c
  gzwrite.c
  inflate.c
  infback.c
  inftrees.c
  inffast.c
  trees.c
  uncompr.c
  zutil.c
ResourceCompile:
  C:\Program Files (x86)\Windows Kits\[10](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:11)\bin\10.0.20348.0\x64\rc.exe /D WIN32 /D _DEBUG /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\\\"Debug\\\"" /D ZLIB_DLL /l"0x0409" /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /nologo /fo"zlib.dir\Debug\zlib1.res" C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\win32\zlib1.rc 
Link:
  C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX64\x86\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\zlibd.dll" /INCREMENTAL /ILK:"zlib.dir\Debug\zlibd.ilk" /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build/source/Debug/zlibd.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build/source/Debug/zlibd.lib" /MACHINE:X86 /SAFESEH  /machine:X86 /DLL zlib.dir\Debug\zlib1.res
  zlib.dir\Debug\adler32.obj
  zlib.dir\Debug\compress.obj
  zlib.dir\Debug\crc32.obj
  zlib.dir\Debug\deflate.obj
  zlib.dir\Debug\gzclose.obj
  zlib.dir\Debug\gzlib.obj
  zlib.dir\Debug\gzread.obj
  zlib.dir\Debug\gzwrite.obj
  zlib.dir\Debug\inflate.obj
  zlib.dir\Debug\infback.obj
  zlib.dir\Debug\inftrees.obj
  zlib.dir\Debug\inffast.obj
  zlib.dir\Debug\trees.obj
  zlib.dir\Debug\uncompr.obj
  zlib.dir\Debug\zutil.obj
     Creating library C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build/source/Debug/zlibd.lib and object C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build/source/Debug/zlibd.exp
  zlib.vcxproj -> C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\zlibd.dll
FinalizeBuildStatus:
  Deleting file "zlib.dir\Debug\zlib.tlog\unsuccessfulbuild".
  Touching "zlib.dir\Debug\zlib.tlog\zlib.lastbuildstate".
Done Building Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\zlib.vcxproj" (default targets).
PrepareForBuild:
  Creating directory "example.dir\Debug\".
  Creating directory "example.dir\Debug\example.tlog\".
InitializeBuildStatus:
  Creating "example.dir\Debug\example.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/source/CMakeLists.txt
ClCompile:
  C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX64\x86\CL.exe /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"example.dir\Debug\\" /Fd"example.dir\Debug\vc143.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\test\example.c
  Microsoft (R) C/C++ Optimizing Compiler Version 19.34.31943 for x86
  Copyright (C) Microsoft Corporation.  All rights reserved.
  cl /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"example.dir\Debug\\" /Fd"example.dir\Debug\vc143.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\test\example.c
  example.c
Link:
  C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX64\x86\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\example.exe" /INCREMENTAL /ILK:"example.dir\Debug\example.ilk" /NOLOGO Debug\zlibd.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build/source/Debug/example.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build/source/Debug/example.lib" /MACHINE:X86 /SAFESEH  /machine:X86 example.dir\Debug\example.obj
  example.vcxproj -> C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\example.exe
FinalizeBuildStatus:
  Deleting file "example.dir\Debug\example.tlog\unsuccessfulbuild".
  Touching "example.dir\Debug\example.tlog\example.lastbuildstate".
Done Building Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\example.vcxproj" (default targets).
Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\ALL_BUILD.vcxproj" (1) is building "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\minigzip.vcxproj" (5) on node 1 (default targets).
PrepareForBuild:
  Creating directory "minigzip.dir\Debug\".
  Creating directory "minigzip.dir\Debug\minigzip.tlog\".
InitializeBuildStatus:
  Creating "minigzip.dir\Debug\minigzip.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/source/CMakeLists.txt
ClCompile:
  C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX64\x86\CL.exe /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"minigzip.dir\Debug\\" /Fd"minigzip.dir\Debug\vc143.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\test\minigzip.c
  Microsoft (R) C/C++ Optimizing Compiler Version 19.34.31943 for x86
  Copyright (C) Microsoft Corporation.  All rights reserved.
  cl /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"minigzip.dir\Debug\\" /Fd"minigzip.dir\Debug\vc143.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\test\minigzip.c
  minigzip.c
Link:
  C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX64\x86\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\minigzip.exe" /INCREMENTAL /ILK:"minigzip.dir\Debug\minigzip.ilk" /NOLOGO Debug\zlibd.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build/source/Debug/minigzip.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build/source/Debug/minigzip.lib" /MACHINE:X86 /SAFESEH  /machine:X86 minigzip.dir\Debug\minigzip.obj
  minigzip.vcxproj -> C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\minigzip.exe
FinalizeBuildStatus:
  Deleting file "minigzip.dir\Debug\minigzip.tlog\unsuccessfulbuild".
  Touching "minigzip.dir\Debug\minigzip.tlog\minigzip.lastbuildstate".
Done Building Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\minigzip.vcxproj" (default targets).
Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\ALL_BUILD.vcxproj" (1) is building "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\zlibstatic.vcxproj" (6) on node 1 (default targets).
PrepareForBuild:
  Creating directory "zlibstatic.dir\Debug\".
  Creating directory "zlibstatic.dir\Debug\zlibstatic.tlog\".
InitializeBuildStatus:
  Creating "zlibstatic.dir\Debug\zlibstatic.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/source/CMakeLists.txt
ClCompile:
  C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX64\x86\CL.exe /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"zlibstatic.dir\Debug\\" /Fd"C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\zlibstaticd.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\adler32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\compress.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\crc32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\deflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzclose.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzlib.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzread.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzwrite.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\infback.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inftrees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inffast.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\trees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\uncompr.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\zutil.c
  Microsoft (R) C/C++ Optimizing Compiler Version 19.34.31943 for x86
  Copyright (C) Microsoft Corporation.  All rights reserved.
  cl /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"zlibstatic.dir\Debug\\" /Fd"C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\zlibstaticd.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\adler32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\compress.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\crc32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\deflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzclose.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzlib.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzread.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzwrite.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\infback.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inftrees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inffast.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\trees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\uncompr.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\zutil.c
  cl /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"zlibstatic.dir\Debug\\" /Fd"C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\zlibstaticd.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\adler32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\compress.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\crc32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\deflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzclose.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzlib.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzread.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzwrite.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\infback.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inftrees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inffast.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\trees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\uncompr.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\zutil.c
  cl /c /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source /IC:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b /Zi /W1 /WX- /diagnostics:column /MP2 /Od /Ob0 /Oy- /D _MBCS /D WIN32 /D _WINDOWS /D NO_FSEEKO /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"zlibstatic.dir\Debug\\" /Fd"C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\zlibstaticd.pdb" /external:W1 /Gd /TC /analyze- /errorReport:queue C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\adler32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\compress.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\crc32.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\deflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzclose.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzlib.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzread.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\gzwrite.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inflate.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\infback.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inftrees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\inffast.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\trees.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\uncompr.c C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\source\zutil.c
  adler32.c
  compress.c
  crc32.c
  deflate.c
  gzclose.c
  gzlib.c
  gzread.c
  gzwrite.c
  inflate.c
  infback.c
  inftrees.c
  inffast.c
  trees.c
  uncompr.c
  zutil.c
Lib:
  C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX64\x86\Lib.exe /OUT:"C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\zlibstaticd.lib" /NOLOGO /MACHINE:X86  /machine:X86 zlibstatic.dir\Debug\adler32.obj
  zlibstatic.dir\Debug\compress.obj
  zlibstatic.dir\Debug\crc32.obj
  zlibstatic.dir\Debug\deflate.obj
  zlibstatic.dir\Debug\gzclose.obj
  zlibstatic.dir\Debug\gzlib.obj
  zlibstatic.dir\Debug\gzread.obj
  zlibstatic.dir\Debug\gzwrite.obj
  zlibstatic.dir\Debug\inflate.obj
  zlibstatic.dir\Debug\infback.obj
  zlibstatic.dir\Debug\inftrees.obj
  zlibstatic.dir\Debug\inffast.obj
  zlibstatic.dir\Debug\trees.obj
  zlibstatic.dir\Debug\uncompr.obj
  zlibstatic.dir\Debug\zutil.obj
  zlibstatic.vcxproj -> C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\Debug\zlibstaticd.lib
FinalizeBuildStatus:
  Deleting file "zlibstatic.dir\Debug\zlibstatic.tlog\unsuccessfulbuild".
  Touching "zlibstatic.dir\Debug\zlibstatic.tlog\zlibstatic.lastbuildstate".
Done Building Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\source\zlibstatic.vcxproj" (default targets).
PrepareForBuild:
  Creating directory "Win32\Debug\ALL_BUILD\".
  Creating directory "Win32\Debug\ALL_BUILD\ALL_BUILD.tlog\".
InitializeBuildStatus:
  Creating "Win32\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/CMakeLists.txt
FinalizeBuildStatus:
  Deleting file "Win32\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
  Touching "Win32\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
Done Building Project "C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build\ALL_BUILD.vcxproj" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:05.23

zlib/1.2.13@ssrobins: RUN: ctest -C Debug --output-on-failure
Test project C:/Users/runneradmin/.conan2/p/t/zlib36ba1a997eef1/b/build
No tests were found!!!

zlib/1.2.13@ssrobins: Package '821b6be74fbdf90cabee2e5c4589ae01deea9831' built
zlib/1.2.13@ssrobins: Build folder C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\b\build
zlib/1.2.13@ssrobins: Generating the package
zlib/1.2.13@ssrobins: Temporary package folder C:\Users\runneradmin\.conan2\p\t\zlib36ba1a997eef1\p
zlib/1.2.13@ssrobins: Calling package()
zlib/1.2.13@ssrobins: package(): Packaged 28 '.h' files
zlib/1.2.13@ssrobins: package(): Packaged 1 '.lib' file: zlibstaticd.lib
zlib/1.2.13@ssrobins: package(): Packaged 1 '.pdb' file: zlibstaticd.pdb
zlib/1.2.13@ssrobins: Created package revision 2d348472072[12](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:13)5b62c8201d83fb05325
zlib/1.2.[13](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:14)@ssrobins: Package '821b6be74fbdf90cabee2e5c4589ae01deea9831' created
zlib/1.2.13@ssrobins: Full package reference: zlib/1.2.13@ssrobins#39d7a38e3[19](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:20)dc7d1d5c01be4cc4fc09f:821b6be74fbdf90cabee2e5c4589ae01deea9831#2d34847[20](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:21)7[21](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:22)[25](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:26)b62c8201d83fb05325
zlib/1.2.13@ssrobins: Package folder C:\Users\runneradmin\.conan2\p\zlib7b848ccc83f06\p

======== Launching test_package ========

======== Computing dependency graph ========
Graph root
    zlib/1.2.13@ssrobins (test package): D:\a\conan-recipes\conan-recipes\recipes\zlib\test_package\conanfile.py
Requirements
    zlib/1.2.13@ssrobins#39d7a38e319dc7d1d5c01be4cc4fc09f - Cache

======== Computing necessary packages ========
Requirements
    zlib/1.2.13@ssrobins#39d7a38e319dc7d1d5c01be4cc4fc09f:821b6be74fbdf90cabee2e5c4589ae01deea9831#2d348472072125b62c8201d83fb05325 - Cache

======== Installing packages ========
zlib/1.2.13@ssrobins: Already installed! (1 of 1)

======== Testing the package ========
Removing previously existing 'test_package' build folder: D:\a\conan-recipes\conan-recipes\recipes\zlib\test_package\build-debug
zlib/1.2.13@ssrobins (test package): Test package build: build-debug
zlib/1.2.13@ssrobins (test package): Test package build folder: D:\a\conan-recipes\conan-recipes\recipes\zlib\test_package\build-debug
zlib/1.2.13@ssrobins (test package): Calling generate()
zlib/1.2.13@ssrobins (test package): Generators folder: D:\a\conan-recipes\conan-recipes\recipes\zlib\test_package\build-debug\conan
zlib/1.2.13@ssrobins (test package): CMakeToolchain generated: conan_toolchain.cmake
zlib/1.2.13@ssrobins (test package): CMakeToolchain generated: CMakePresets.json
zlib/1.2.13@ssrobins (test package): CMakeToolchain generated: ..\..\CMakeUserPresets.json
ERROR: zlib/1.2.13@ssrobins (test package): Error in generate() method, line [26](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:27)
	deps.generate()
	ConanException: error generating context for 'zlib/1.2.13@ssrobins': Paths don't have the same drive
Traceback (most recent call last):
  File "D:\a\conan-recipes\conan-recipes\recipes\zlib\conan.py", line 7, in <module>
    conan_create(os.path.dirname(os.path.realpath(__file__)))
  File "D:\a\conan-recipes\conan-recipes\recipes\zlib/../../scripts\conan_create.py", line 54, in conan_create
    subprocess.run(conan_command, cwd=recipe_path, shell=True, check=True)
  File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\subprocess.py", line 5[28](https://github.com/ssrobins/conan-recipes/actions/runs/4604654329/jobs/8135793241#step:14:29), in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'conan create --update --user ssrobins . --profile:host=D:\a\conan-recipes\conan-recipes\scripts/../profiles/windows -s build_type=Debug' returned non-zero exit status 1.
Error: Process completed with exit code 1.
@ssrobins
Copy link
Contributor Author

ssrobins commented Apr 4, 2023

Also no error on any of the Conan macOS or Linux GitHub Actions conan create steps, they all were fine:
https://github.com/ssrobins/conan-recipes/actions/runs/4604654329

BTW, I've been using pip install conan --pre --upgrade in CI to install Conan to find errors earlier in the release cycle, but I haven't seen prereleases there since 2.0 came out. If there's a different way to try betas/release candidates, I'm happy to switch over to that on some of my repos.

@igormironchik
Copy link

I have the same problem with Conan 2.0.3 on Windows.

Command conan install . -of . --build=missing fails with:

======== Finalizing install (deploy, generators) ========
conanfile.txt: Writing generators to D:\a\md4qt\md4qt
conanfile.txt: Generator 'CMakeDeps' calling 'generate()'
conanfile.txt: ERROR: Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\conan\tools\cmake\cmakedeps\templates\__init__.py", line 42, in render
    context = self.context
              ^^^^^^^^^^^^
  File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\conan\tools\cmake\cmakedeps\templates\target_data.py", line 54, in context
    if os.path.commonpath([root_folder, generators_folder]) == generators_folder:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen ntpath>", line 814, in commonpath
ValueError: Paths don't have the same drive

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\conans\client\generators\__init__.py", line 70, in write_generators
    generator.generate()
  File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\conan\tools\cmake\cmakedeps\cmakedeps.py", line 42, in generate
    generator_files = self.content
                      ^^^^^^^^^^^^
  File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\conan\tools\cmake\cmakedeps\cmakedeps.py", line 84, in content
    self._generate_files(require, dep, ret, find_module_mode=False)
  File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\conan\tools\cmake\cmakedeps\cmakedeps.py", line 97, in _generate_files
    ret[data_target.filename] = data_target.render()
                                ^^^^^^^^^^^^^^^^^^^^
  File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\conan\tools\cmake\cmakedeps\templates\__init__.py", line 44, in render
    raise ConanException("error generating context for '{}': {}".format(self.conanfile, e))
conans.errors.ConanException: error generating context for 'icu/71.1': Paths don't have the same drive

ERROR: Error in generator 'CMakeDeps': error generating context for 'icu/71.1': Paths don't have the same drive
Error: Process completed with exit code 1.

@memsharded
Copy link
Member

Thanks very much @ssrobins and @igormironchik for reporting.

This was indeed a bug introduced by 2.0.3, some code didn't take into account the possibility of different drives in Windows.
It is being fixed in #13607, to be released in 2.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants