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

[package] libiconv/1.17: still cannot create debug build type with msvc #25626

Open
asutic opened this issue Oct 15, 2024 · 0 comments
Open

[package] libiconv/1.17: still cannot create debug build type with msvc #25626

asutic opened this issue Oct 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@asutic
Copy link

asutic commented Oct 15, 2024

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>
@asutic asutic added the bug Something isn't working label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant