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] libjpeg/9d: can't build with clang on windows #9960

Closed
AndreyMlashkin opened this issue Mar 28, 2022 · 0 comments · Fixed by #9997
Closed

[package] libjpeg/9d: can't build with clang on windows #9960

AndreyMlashkin opened this issue Mar 28, 2022 · 0 comments · Fixed by #9997
Labels
bug Something isn't working

Comments

@AndreyMlashkin
Copy link
Contributor

AndreyMlashkin commented Mar 28, 2022

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: libjpeg/9d
  • Operating System+version: Windows 10
  • Compiler+version: clang 12
  • Conan version: conan 1.46.2

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=clang
compiler.runtime=MD
compiler.version=12
cppstd=17
os=Windows
os_build=Windows
[options]
[build_requires]
[env]
CC=clang-cl
CONAN_CMAKE_GENERATOR=Ninja
CXX=clang-cl

Steps to reproduce (Include if Applicable)

conan install libjpeg/9d@ --build missing -pr clang

Logs (Include/Attach if Applicable)

Click to expand log
libjpeg/9d: Applying build-requirement: msys2/cci.latest
Downloading conan_sources.tgz completed [6.16k]
Decompressing conan_sources.tgz completed [0.00k]
libjpeg/9d: Configuring sources in D:\.conan\storage\libjpeg\9d\_\_\source
Downloading jpegsrc.v9d.tar.gz completed [1006.75k]

libjpeg/9d: Copying sources to build folder
libjpeg/9d: Building your package in D:\.conan\storage\libjpeg\9d\_\_\build\e5dfaa2a6d0ff8915bb91aa1f1e2569e87e2b3dc
libjpeg/9d: Generator txt created conanbuildinfo.txt
libjpeg/9d: Aggregating env generators
libjpeg/9d: Calling build()
libjpeg/9d: WARN: Error running `configure --help`: Cannot recognize the Windows subsystem, install MSYS2/cygwin or specify a build_require to apply it.
libjpeg/9d: Calling:
 > /d/.conan/storage/libjpeg/9d/_/_/build/e5dfaa2a6d0ff8915bb91aa1f1e2569e87e2b3dc/source_subfolder/configure --enable-shared=no --enable-static=yes --prefix=D:/.conan/storage/libjpeg/9d/_/_/package/e5dfaa2a6d0ff8915bb91aa1f1e2569e87e2b3dc
libjpeg/9d:
libjpeg/9d: ERROR: Package 'e5dfaa2a6d0ff8915bb91aa1f1e2569e87e2b3dc' build failed
libjpeg/9d: WARN: Build folder D:\.conan\storage\libjpeg\9d\_\_\build\e5dfaa2a6d0ff8915bb91aa1f1e2569e87e2b3dc
ERROR: libjpeg/9d: Error in build() method, line 116
        autotools = self._configure_autotools()
while calling '_configure_autotools', line 97
        self._autotools.configure(configure_dir=self._source_subfolder, args=args)
        ConanException: Cannot recognize the Windows subsystem, install MSYS2/cygwin or specify a build_require to apply it.
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

Successfully merging a pull request may close this issue.

1 participant