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

[glib] Build fail with clang: unknown compilers #976

Closed
Cyberdr8gon opened this issue Sep 23, 2019 · 8 comments
Closed

[glib] Build fail with clang: unknown compilers #976

Cyberdr8gon opened this issue Sep 23, 2019 · 8 comments
Assignees
Labels

Comments

@Cyberdr8gon
Copy link

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: glib/2.58.3
  • Operating System+version: MacOS Mojave 10.14.6
  • Compiler+version: Apple Clang 11.0
  • Conan version: conan 1.18.4
  • Python version: Python 3.7.4

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

[settings]
os=Macos
os_build=Macos
arch=x86_64
arch_build=x86_64
compiler=apple-clang
compiler.version=11.0
compiler.libcxx=libc++
build_type=Release
[options]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

Logs (Include/Attach if Applicable)

meson.build:612:2: ERROR: Unknown compiler(s): ['cc']
@ericLemanissier
Copy link
Contributor

travis-ci is hitting the same error currently: https://travis-ci.com/bincrafters/conan-glib/jobs/247503806

@ericLemanissier
Copy link
Contributor

this bug is fixed by migrating to meson/0.51.2. Unfortunately this breaks windows compilation. we'll try with meson/0.52.0 when conan-io/conan-center-index#212 is merged

@ericLemanissier ericLemanissier self-assigned this Oct 21, 2019
@Croydon
Copy link
Member

Croydon commented Nov 8, 2019

I pushed bincrafters/conan-glib@42ebcf0 to testing

GCC 4.9 is failing because of conan-io/conan-center-index#213

Windows failed in the 2.60.3 branch before this commit

Rest is still running at the time of writing, but looks good. WDYT?

@ericLemanissier
Copy link
Contributor

for windows, I think we need to wait for the next version of meson, now that mesonbuild/meson#6101 is fixed.

@itsjamie
Copy link

As a Mac user, how would I build with the meson version 0.52.0 that contains the fix for Mac but breaks Windows?

I tried with the documentation for replacing a transitive dependency by defining it, but it still uses the Meson_installer 0.50.0 version.

@translunar
Copy link

Is there a work-around for this issue?

@ericLemanissier
Copy link
Contributor

conan-io/conan-center-index#406 should be merged soon. In the meantime, you can install system version of meson 0.52.1, so that you don't rely on conan version of meson (https://github.com/bincrafters/conan-glib/blob/stable/2.58.3/conanfile.py#L74)

ericLemanissier added a commit to bincrafters/conan-glib that referenced this issue Dec 5, 2019
@Croydon
Copy link
Member

Croydon commented Jul 5, 2020

This recipe is now in the Conan Center Index.

Please migrate to the recipe version there.
If this is still an issue, please create a new issue in the Conan Center Index issue tracker.

Thanks!

@Croydon Croydon closed this as completed Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants