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: Convert to MesonToolchain to enable cross-compiling #11610

Closed
wants to merge 3 commits into from

Conversation

jwillikers
Copy link
Contributor

Specify library name and version: glib

Based off of PR #11053.


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@ericLemanissierBot
Copy link

ericLemanissierBot commented Jul 8, 2022

I detected other pull requests that are modifying glib/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Failure in build 10 (98d95e2759e50e93e48acacb61ab1e458d37378b):

  • glib/2.69.3@:
    Didn't run or was cancelled before finishing

  • glib/2.73.2@:
    Didn't run or was cancelled before finishing

  • glib/2.72.1@:
    CI failed to create some packages (All logs)

    Logs for packageID 3c492f92e961580c7adb9f91509bdde9db8cfe15:
    [settings]
    arch=armv8
    build_type=Release
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=12.0
    os=Macos
    [options]
    glib:shared=False
    
    [...]
    Checking for function "strtoll_l" : YES 
    Checking for function "strtoull_l" : YES 
    Checking for function "symlink" : YES 
    Checking for function "timegm" : YES 
    Checking for function "unsetenv" : YES 
    Checking for function "uselocale" : YES 
    Checking for function "utimes" : YES 
    Checking for function "valloc" : YES 
    Checking for function "vasprintf" : YES 
    Checking for function "vsnprintf" : YES 
    Checking for function "wcrtomb" : YES 
    Checking for function "wcslen" : YES 
    Checking for function "wcsnlen" : YES 
    Checking for function "sysctlbyname" : YES 
    Checking for function "_NSGetEnviron" : YES 
    Checking for function "statvfs" : YES 
    Checking for function "statfs" : YES 
    Checking for function "if_indextoname" : YES 
    Checking for function "if_nametoindex" : YES 
    Checking for function "splice" : NO 
    Checking for function "stpcpy" : YES 
    Checking for function "memalign" : NO 
    Checking for function "_aligned_malloc" : NO 
    Checking for function "aligned_alloc" : YES 
    Checking for function "posix_memalign" : YES 
    Checking for function "posix_spawn" : YES 
    Checking if "strerror_r() returns char *" compiles: NO 
    Checking for function "snprintf" : YES 
    Checking for function "strcasecmp" : YES 
    Checking for function "strncasecmp" : YES 
    Header <sys/sysmacros.h> has symbol "major" : NO 
    Header <sys/mkdev.h> has symbol "major" : NO 
    Header <sys/types.h> has symbol "major" : YES 
    Header <dlfcn.h> has symbol "RTLD_LAZY" : YES 
    Header <dlfcn.h> has symbol "RTLD_NOW" : YES 
    Header <dlfcn.h> has symbol "RTLD_GLOBAL" : YES 
    Header <dlfcn.h> has symbol "RTLD_NEXT" : YES 
    Message: Checking whether to use statfs or statvfs .. statfs
    Objective-C compiler for the build machine: cc (clang 12.0.5)
    Objective-C linker for the build machine: cc ld64 650.9
    
    ../meson.build:799:2: ERROR: 'objc' compiler binary not defined in cross or native file
    
    A full log can be found at /Users/jenkins/w/prod/BuildSingleReference/.conan/data/glib/2.72.1/_/_/build/3c492f92e961580c7adb9f91509bdde9db8cfe15/build-release/meson-logs/meson-log.txt
    glib/2.72.1: 
    glib/2.72.1: ERROR: Package '3c492f92e961580c7adb9f91509bdde9db8cfe15' build failed
    glib/2.72.1: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference/.conan/data/glib/2.72.1/_/_/build/3c492f92e961580c7adb9f91509bdde9db8cfe15/build-release
    ERROR: glib/2.72.1: Error in build() method, line 202
    	meson.configure()
    	ConanException: Error 1 while executing meson setup --cross-file "/Users/jenkins/w/prod/BuildSingleReference/.conan/data/glib/2.72.1/_/_/build/3c492f92e961580c7adb9f91509bdde9db8cfe15/build-release/conan/conan_meson_cross.ini" "/Users/jenkins/w/prod/BuildSingleReference/.conan/data/glib/2.72.1/_/_/build/3c492f92e961580c7adb9f91509bdde9db8cfe15/build-release" "/Users/jenkins/w/prod/BuildSingleReference/.conan/data/glib/2.72.1/_/_/build/3c492f92e961580c7adb9f91509bdde9db8cfe15/." -Dprefix="/Users/jenkins/w/prod/BuildSingleReference/.conan/data/glib/2.72.1/_/_/package/3c492f92e961580c7adb9f91509bdde9db8cfe15"
    
  • glib/2.73.1@:
    Didn't run or was cancelled before finishing

  • glib/2.70.4@:
    Didn't run or was cancelled before finishing

  • glib/2.68.3@:
    Didn't run or was cancelled before finishing

  • glib/2.73.0@:
    Didn't run or was cancelled before finishing

  • glib/2.71.3@:
    Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@stale
Copy link

stale bot commented Sep 24, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants