bincrafters / community

Central repository for issues and recipes
http://bincrafters.readthedocs.io/en/latest/
MIT License
218 stars 36 forks source link

gstreamer/1.16.0: Build failed, on MacOS 10.14, with Apple-Clang 11.0 #1112

Closed BlueSolei closed 4 years ago

BlueSolei commented 4 years ago

Package and Environment Details

Conan profile (as detected by CMake)

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

Steps to reproduce

Add gstreamer/1.16.0@bincrafters/stable as a requirement to a conanfile.txt IMPORTANT: Current package: gstreamer/1.16.0@bincrafters/stable is broken, and fixed here
Affeer applying the fix, I get the link failure, which this issue is about.

Logs

build.log Start at line 431:

Undefined symbols for architecture x86_64:
  "_CFArrayGetCount", referenced from:
      _libintl_setlocale in libgnuintl.a(setlocale.o)
      __nl_language_preferences_default in libgnuintl.a(langprefs.o)
  "_CFArrayGetValueAtIndex", referenced from:

My findings:

The bug is in GStreamer sources. the package builds from a tarball. I found the issue and created a pull request to fix it. I don't know how the package should fix this issue, as its build from a specific GStreamer release. I can offer to patch the sources: BuildMacOSFix.patch.txt

ericLemanissier commented 4 years ago

This looks like the issue solved with https://github.com/conan-io/conan/pull/6309. could you please retry when conan 1.22.0 is released?

BlueSolei commented 4 years ago

Thanks, I will. When it is planned to be released?

ericLemanissier commented 4 years ago

4 days ago, according to https://github.com/conan-io/conan/milestone/120 ;) it should be in the coming days/weeks I guess

BlueSolei commented 4 years ago

I update to 1.22.0, and installing GStreamer failed with the same error. Here are the logs: ConanInstallGStreamer.log

ericLemanissier commented 4 years ago

@BlueSolei it's been several month, but the log you sent starts with

conan --version
Conan version 1.21.2

So I guess there was a problem with the update. Could you retry to update conan and restart ?

BlueSolei commented 4 years ago

Yes, it is working now. Thanks a lot for your response.