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 2.79.0 #21874

Closed
wants to merge 2 commits into from
Closed

Glib 2.79.0 #21874

wants to merge 2 commits into from

Conversation

ericLemanissier
Copy link
Contributor

Specify library name and version: glib/2.79.0


@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (725bf10c555bfd7e26c50f02d6c6fbe89bf823e8):

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

    Logs for packageID 35a2987206414fc1968e948dd2b71196d6dcb604:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    glib:shared=False
    
    [...]
    Checking if "sync swap" : links: NO 
    Run-time dependency threads found: YES
    Header "pthread.h" has symbol "pthread_attr_setstacksize" : YES 
    Header "pthread.h" has symbol "pthread_attr_setinheritsched" : YES 
    Header "pthread.h" has symbol "pthread_condattr_setclock" : YES 
    Header "pthread.h" has symbol "pthread_cond_timedwait_relative_np" : NO 
    Header "pthread.h" has symbol "pthread_getname_np" : YES 
    Checking if "pthread_setname_np(const char*)" with dependency threads: links: NO 
    Checking if "pthread_setname_np(pthread_t, const char*)" with dependency threads: links: YES 
    Checking if "stack grows check" runs: NO (1)
    Run-time dependency iconv found: YES
    Found pkg-config: /home/conan/w/prod-v1/bsr/75025/efabf/.conan/data/pkgconf/2.0.3/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf (2.0.3)
    Run-time dependency libpcre2-8 found: YES 10.42
    
    Executing subproject gvdb 
    
    gvdb| Project name: gvdb
    gvdb| Project version: 0.0
    gvdb| C compiler for the host machine: gcc (gcc 11.1.0 "gcc (GCC) 11.1.0")
    gvdb| C linker for the host machine: gcc ld.bfd 2.37
    gvdb| Build targets in project: 0
    gvdb| Subproject gvdb finished.
    
    Dependency gvdb found: YES 0.0 (overridden)
    Library m found: YES
    Run-time dependency libffi found: YES 3.4.4
    Run-time dependency zlib found: YES 1.3
    Run-time dependency intl found: YES
    Checking for function "ngettext" with dependency intl: YES 
    Checking for function "bind_textdomain_codeset" with dependency intl: YES 
    Run-time dependency mount found: YES 2.39
    Run-time dependency libselinux found: YES 3.5
    Checking for function "getxattr" : YES 
    Has header "sys/xattr.h" : YES 
    Checking if "XATTR_NOFOLLOW" compiles: NO 
    Checking for function "strlcpy" : NO 
    Checking if "/proc/self/cmdline" runs: YES
    Program python3 (packaging) found: NO
    
    ../src/meson.build:2379:26: ERROR: python is missing modules: packaging
    
    A full log can be found at /home/conan/w/prod-v1/bsr/75025/efabf/.conan/data/glib/2.79.0/_/_/build/35a2987206414fc1968e948dd2b71196d6dcb604/build-release/meson-logs/meson-log.txt
    glib/2.79.0: 
    WARN: pcre2/10.42: requirement zlib/[>=1.2.11 <2] overridden by glib/2.79.0 to zlib/1.3 
    glib/2.79.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    glib/2.79.0: ERROR: Package '35a2987206414fc1968e948dd2b71196d6dcb604' build failed
    glib/2.79.0: WARN: Build folder /home/conan/w/prod-v1/bsr/75025/efabf/.conan/data/glib/2.79.0/_/_/build/35a2987206414fc1968e948dd2b71196d6dcb604/build-release
    ERROR: glib/2.79.0: Error in build() method, line 136
    	meson.configure()
    	ConanException: Error 1 while executing meson setup --native-file "/home/conan/w/prod-v1/bsr/75025/efabf/.conan/data/glib/2.79.0/_/_/build/35a2987206414fc1968e948dd2b71196d6dcb604/build-release/conan/conan_meson_native.ini" "/home/conan/w/prod-v1/bsr/75025/efabf/.conan/data/glib/2.79.0/_/_/build/35a2987206414fc1968e948dd2b71196d6dcb604/build-release" "/home/conan/w/prod-v1/bsr/75025/efabf/.conan/data/glib/2.79.0/_/_/build/35a2987206414fc1968e948dd2b71196d6dcb604/src" -Dprefix="/home/conan/w/prod-v1/bsr/75025/efabf/.conan/data/glib/2.79.0/_/_/package/35a2987206414fc1968e948dd2b71196d6dcb604"
    

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.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 1 (725bf10c555bfd7e26c50f02d6c6fbe89bf823e8):

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

    Logs for packageID 92a5fb6ee386014d1462dd42634645fb26cd90eb:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
    Header "pthread.h" has symbol "pthread_getname_np" : YES 
    Checking if "pthread_setname_np(const char*)" with dependency threads: links: NO 
    Checking if "pthread_setname_np(pthread_t, const char*)" with dependency threads: links: YES 
    Checking if "stack grows check" runs: NO (1)
    Run-time dependency iconv found: YES
    Found pkg-config: /home/conan/w/prod-v2/bsr/61508/feede/p/pkgco96229fb471f65/p/bin/pkgconf (2.0.3)
    Run-time dependency libpcre2-8 found: YES 10.42
    
    Executing subproject gvdb 
    
    gvdb| Project name: gvdb
    gvdb| Project version: 0.0
    gvdb| C compiler for the host machine: gcc (gcc 11.1.0 "gcc (GCC) 11.1.0")
    gvdb| C linker for the host machine: gcc ld.bfd 2.37
    gvdb| Build targets in project: 0
    gvdb| Subproject gvdb finished.
    
    Dependency gvdb found: YES 0.0 (overridden)
    Library m found: YES
    Run-time dependency libffi found: YES 3.4.4
    Run-time dependency zlib found: YES 1.3
    Run-time dependency intl found: YES
    Checking for function "ngettext" with dependency intl: YES 
    Checking for function "bind_textdomain_codeset" with dependency intl: YES 
    Run-time dependency mount found: YES 2.39
    Run-time dependency libselinux found: YES 3.5
    Checking for function "getxattr" : YES 
    Has header "sys/xattr.h" : YES 
    Checking if "XATTR_NOFOLLOW" compiles: NO 
    Checking for function "strlcpy" : NO 
    Checking if "/proc/self/cmdline" runs: YES
    Program python3 (packaging) found: NO
    
    ../src/meson.build:2379:26: ERROR: python is missing modules: packaging
    
    A full log can be found at /home/conan/w/prod-v2/bsr/61508/feede/p/b/glib79de38fc2b382/b/build-release/meson-logs/meson-log.txt
    
    glib/2.79.0: ERROR: 
    Package '92a5fb6ee386014d1462dd42634645fb26cd90eb' build failed
    glib/2.79.0: WARN: Build folder /home/conan/w/prod-v2/bsr/61508/feede/p/b/glib79de38fc2b382/b/build-release
    *********************************************************
    Recipe 'glib/2.79.0' cannot build its binary
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
    If it is your recipe, check if it is updated to 2.0
    *********************************************************
    
    ERROR: glib/2.79.0: Error in build() method, line 136
    	meson.configure()
    	ConanException: Error 1 while executing
    

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.

@ericLemanissier
Copy link
Contributor Author

The build is now finished. You can take a look at the results here

@ericLemanissier
Copy link
Contributor Author

ericLemanissier commented Dec 23, 2023

So glib now requires python's packaging module https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3740
I guess the only way forward is to install it on all C3I runners ?
I guess glib is not the only package which will migrate from distutils to packaging

See also #21535

@jwillikers
Copy link
Contributor

So glib now requires python's packaging module https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3740 I guess the only way forward is to install it on all C3I runners ? I guess glib is not the only package which will migrate from distutils to packaging

See also #21535

I've opened conan-io/conan-docker-tools#554 to add this to at least some of the runners.

@ghost ghost mentioned this pull request Mar 14, 2024
3 tasks
@ericLemanissier
Copy link
Contributor Author

superseded by #23093

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

Successfully merging this pull request may close these issues.

3 participants