conan-center-index
conan-center-index copied to clipboard
[package] libiconv/1.17: still cannot create debug build type with msvc
Description
In the project, we're using several Conan packages to build a library, which are then linked into my executables. The ability to debug the executables is a requirement (e.g., step through GTest execution). Hence, I need to compile Debug build type for the entire project.
While doing this, I noticed that it is impossible to compile a debug version of the libiconv package (see logs). A similar issue has been reported but for a compiler other than MSVC.
Could anyone point me in the right direction to solve or workaround the issue with libiconv?
Package and Environment Details
- Package Name/Version: libiconv/1.17
- Operating System+version: Windows 11
- Compiler+version: Visual Studio 17 2022
- Conan version: conan 2.8.0
- Python version: Python 3.12.5
Conan profile
[settings] arch=x86_64 build_type=Debug compiler=msvc compiler.cppstd=17 compiler.runtime=dynamic compiler.version=194 os=Windows
Steps to reproduce
conan install --requires libiconv/1.17 --output-folder . --build missing --profile:all debug
Logs
Click to expand log
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Debug
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.runtime_type=Debug
compiler.version=194
os=Windows
Profile build:
[settings]
arch=x86_64
build_type=Debug
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.runtime_type=Debug
compiler.version=194
os=Windows
======== Computing dependency graph ========
Graph root
cli
Requirements
libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache
Build requirements
msys2/cci.latest#f6bb451a181a3f452024ea43ca744061 - Cache
======== Computing necessary packages ========
libiconv/1.17: Main binary package '8b7e35f91e516e42ed736c6dd52a9263da3a5dad' missing
libiconv/1.17: Checking 1 compatible configurations
libiconv/1.17: Compatible configurations not found in cache, checking servers
libiconv/1.17: 'ed44dacde2751b398e4bf9441ff992a70c913c00': compiler.version=193
Requirements
libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:8b7e35f91e516e42ed736c6dd52a9263da3a5dad - Build
Build requirements
msys2/cci.latest#f6bb451a181a3f452024ea43ca744061:956a88975bda9dfcc485e2861d71e74bd7e2b9a5#a4d094e33a7cec3c59a0489115a170c6 - Cache
======== Installing packages ========
msys2/cci.latest: Already installed! (1 of 2)
-------- Installing package libiconv/1.17 (2 of 2) --------
libiconv/1.17: Building from source
libiconv/1.17: Package libiconv/1.17:8b7e35f91e516e42ed736c6dd52a9263da3a5dad
libiconv/1.17: Copying sources to build folder
libiconv/1.17: Building your package in C:\Users\asutic\.conan2\p\b\libicb8faf43e427f5\b
libiconv/1.17: Calling generate()
libiconv/1.17: Generators folder: C:\Users\asutic\.conan2\p\b\libicb8faf43e427f5\b\build-debug\conan
libiconv/1.17: Generating aggregated env files
libiconv/1.17: Generated aggregated env files: ['conanbuild.sh', 'conanbuild.bat', 'conanrun.bat']
libiconv/1.17: Calling build()
libiconv/1.17: apply_conandata_patches(): No patches defined in conandata
libiconv/1.17: RUN: "/c/users/asutic/.conan2/p/b/libicb8faf43e427f5/b/src/configure" --disable-shared --enable-static --prefix=/ --bindir=${prefix}/bin --sbindir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include
conanvcvars.bat: Activating environment Visual Studio 17 - amd64 - winsdk_version=None - vcvars_ver=14.4
[vcvarsall.bat] Environment initialized for: 'x64'
The system cannot find the path specified.
libiconv/1.17: ERROR:
Package '8b7e35f91e516e42ed736c6dd52a9263da3a5dad' build failed
libiconv/1.17: WARN: Build folder C:\Users\asutic\.conan2\p\b\libicb8faf43e427f5\b\build-debug
ERROR: libiconv/1.17: Error in build() method, line 146
autotools.configure()
ConanException: Error 1 while executing```
</details>