conan-center-index
conan-center-index copied to clipboard
glib: add v2.80.0
Continues from #23193. Related to #23557 and https://github.com/conan-io/conan-docker-tools/pull/554#issuecomment-1999860485
~~Adds self.tool_requires("cpython/3.12.2") and installs a pinned version of packaging from PyPI locally into the build folder.~~
~~The published package artifacts on PyPI are immutable, so the pinned version will provide reproducible builds and is reflected in the package hash via the conanfile.py contents, if I'm not mistaken.~~
~~I think this approach is a simple and scalable way to deal with build-scope Python dependencies on CCI in general.~~
Edit: @ericLemanissier pointed out to me that the packaging dependency is a transitive build dep. Since we decided not to package it separately, the only option left was to vendor the two required files. Which I did.
Conan v1 pipeline :x:
Sorry, the system is under maintenance and it doesn't accept builds right now.
Motivation: Updating Jenkins plugins
Please, check https://status.conan.io to obtain more information. Thanks for your understanding and help with the Conan Center Index!
Conan v2 pipeline :x:
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:
Sorry, the system is under maintenance and it doesn't accept builds right now.
Motivation: Updating Jenkins plugins
Please, check https://status.conan.io to obtain more information. Thanks for your understanding and help with the Conan Center Index!
I detected other pull requests that are modifying glib/all recipe:
- #23986
- #23030
- #21535
- #18936
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.
Conan v1 pipeline :x:
Failure in build 3 (e9947fee2fe621088d84b74c68acaca8eaa5e128):
-
glib/2.80.0: CI failed to create some packages (All logs)
Logs for packageID
4f172310f7fe70fa425b01f63417f95b29b61951:[settings] arch=armv8 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] glib:shared=False[...] > cmake --build '/Users/jenkins/workspace/prod-v1/bsr/cci-45335841/recipes/glib/all/test_v1_package/build/d5515df86bdc914aeb79bfaa461ce77313582ce4' '--' '-j8' ----------------- [ 50%] Building C object test_package/CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable ../bin/test_package [100%] Built target test_package glib/2.80.0 (test package): Running test() ----Running------ > DYLD_LIBRARY_PATH="/Users/jenkins/workspace/prod-v1/bsr/22731/ddcff/.conan/data/glib/2.80.0/_/_/package/4f172310f7fe70fa425b01f63417f95b29b61951/lib:/Users/jenkins/workspace/prod-v1/bsr/22731/ddcff/.conan/data/libffi/3.4.4/_/_/package/095512ed878f14a09dd732e9f6868729dd437529/lib:/Users/jenkins/workspace/prod-v1/bsr/22731/ddcff/.conan/data/pcre2/10.42/_/_/package/4d89fddebeabddec8de38f1544ceb6c279bebbcf/lib:/Users/jenkins/workspace/prod-v1/bsr/22731/ddcff/.conan/data/libelf/0.8.13/_/_/package/095512ed878f14a09dd732e9f6868729dd437529/lib:/Users/jenkins/workspace/prod-v1/bsr/22731/ddcff/.conan/data/libgettext/0.22/_/_/package/fc527c40a27c7867614790f1a29098302b9939e1/lib:/Users/jenkins/workspace/prod-v1/bsr/22731/ddcff/.conan/data/zlib/1.3.1/_/_/package/095512ed878f14a09dd732e9f6868729dd437529/lib:/Users/jenkins/workspace/prod-v1/bsr/22731/ddcff/.conan/data/bzip2/1.0.8/_/_/package/2b8e4ed96946ad0a4cd2c6e1e01636aa2a421589/lib:/Users/jenkins/workspace/prod-v1/bsr/22731/ddcff/.conan/data/libiconv/1.17/_/_/package/095512ed878f14a09dd732e9f6868729dd437529/lib" DYLD_FRAMEWORK_PATH="" bin/test_package ----------------- glib 2.80.0 glib interface age: 0 glib binary age: 8000 glib module supported: true type name for char: gchar CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** WARN: pcre2/10.42: requirement zlib/[>=1.2.11 <2] overridden by glib/2.80.0 to zlib/1.3.1 glib/2.80.0 (test package): WARN: ************************************************ The 'pkg_config' generator is deprecated. Please update your code and remove it. ************************************************* glib/2.80.0 (test package): WARN: ************************************************ The 'cmake' generator is deprecated. Please update your code and remove it. ************************************************* glib/2.80.0 (test package): WARN: ************************************************ The 'cmake_find_package_multi' generator is deprecated. Please update your code and remove it. ************************************************* glib/2.80.0 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. **** -
glib/2.78.0: Didn't run or was cancelled before finishing
-
glib/2.78.3: Didn't run or was cancelled before finishing
-
glib/2.77.0: Didn't run or was cancelled before finishing
-
glib/2.78.1: Didn't run or was cancelled before finishing
-
glib/2.77.3: Didn't run or was cancelled before finishing
-
glib/2.77.2: Didn't run or was cancelled before finishing
-
glib/2.77.1: Didn't run or was cancelled before finishing
-
glib/2.76.3: Didn't run or was cancelled before finishing
-
glib/2.75.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.
Conan v2 pipeline :x:
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 3 (e9947fee2fe621088d84b74c68acaca8eaa5e128):
-
glib/2.78.3: Didn't run or was cancelled before finishing
-
glib/2.80.0: Didn't run or was cancelled before finishing
-
glib/2.78.1: Didn't run or was cancelled before finishing
-
glib/2.78.0: Didn't run or was cancelled before finishing
-
glib/2.77.3: Didn't run or was cancelled before finishing
-
glib/2.77.2: Didn't run or was cancelled before finishing
-
glib/2.77.0: Didn't run or was cancelled before finishing
-
glib/2.77.1: Didn't run or was cancelled before finishing
-
glib/2.75.3: CI failed to create some packages (All logs)
Logs for packageID
6fe96753500f9abc483205a985235a00a377541e:[settings] arch=armv8 build_type=Release compiler=apple-clang compiler.cppstd=17 compiler.libcxx=libc++ compiler.version=13 os=Macos [options] */*:shared=False[...] glib/2.75.3 (test package): Generating aggregated env files glib/2.75.3 (test package): Generated aggregated env files: ['conanrun.sh', 'conanbuild.sh'] ======== Testing the package: Building ======== glib/2.75.3 (test package): Calling build() glib/2.75.3 (test package): Running CMake.configure() glib/2.75.3 (test package): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/workspace/prod-v2/bsr/cci-9b789dc0/recipes/glib/all/test_package/build/apple-clang-13-armv8-17-release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/workspace/prod-v2/bsr/cci-9b789dc0/recipes/glib/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/workspace/prod-v2/bsr/cci-9b789dc0/recipes/glib/all/test_package" -- Using Conan toolchain: /Users/jenkins/workspace/prod-v2/bsr/cci-9b789dc0/recipes/glib/all/test_package/build/apple-clang-13-armv8-17-release/generators/conan_toolchain.cmake -- Conan toolchain: C++ Standard 17 with extensions OFF -- The C compiler identification is AppleClang 13.0.0.13000029 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /Users/jenkins/workspace/prod-v2/bsr/20378/fffdf/p/pkgco45f0cec3e078a/p/bin/pkgconf (found version "2.1.0") -- Checking for module 'glib-2.0' -- Found glib-2.0, version 2.75.3 -- Checking for module 'gio-2.0' -- Found gio-2.0, version 2.75.3 -- Checking for module 'gmodule-2.0' -- Found gmodule-2.0, version 2.75.3 -- Checking for module 'gobject-2.0' -- Found gobject-2.0, version 2.75.3 -- Checking for module 'gthread-2.0' -- Found gthread-2.0, version 2.75.3 -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/workspace/prod-v2/bsr/cci-9b789dc0/recipes/glib/all/test_package/build/apple-clang-13-armv8-17-release glib/2.75.3 (test package): Running CMake.build() glib/2.75.3 (test package): RUN: cmake --build "/Users/jenkins/workspace/prod-v2/bsr/cci-9b789dc0/recipes/glib/all/test_package/build/apple-clang-13-armv8-17-release" -- -j8 [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable test_package [100%] Built target test_package ======== Testing the package: Executing test ======== glib/2.75.3 (test package): Running test() glib/2.75.3 (test package): RUN: ./test_package glib 2.75.3 glib interface age: 0 glib binary age: 7503 glib module supported: true type name for char: gchar /bin/sh: pkg-config: command not found ERROR: glib/2.75.3 (test package): Error in test() method, line 58 gdbus_codegen = pkg_config.variables["gdbus_codegen"] ConanException: Error 127 while executing -
glib/2.76.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.
The build is now finished. You can take a look at the results here
Conan v1 pipeline :heavy_check_mark:
All green in build 4 (d94cbd4fccf490f9b2225e4dfb6d8b432a00f620):
-
glib/2.80.0: All packages built successfully! (All logs)
-
glib/2.78.3: All packages built successfully! (All logs)
-
glib/2.78.1: All packages built successfully! (All logs)
-
glib/2.77.1: All packages built successfully! (All logs)
-
glib/2.78.0: All packages built successfully! (All logs)
-
glib/2.77.3: All packages built successfully! (All logs)
-
glib/2.77.2: All packages built successfully! (All logs)
-
glib/2.77.0: All packages built successfully! (All logs)
-
glib/2.76.3: All packages built successfully! (All logs)
-
glib/2.75.3: All packages built successfully! (All logs)
Conan v2 pipeline :heavy_check_mark:
Note: Conan v2 builds are now mandatory. Please read our discussion about it.
All green in build 4 (d94cbd4fccf490f9b2225e4dfb6d8b432a00f620):
-
glib/2.80.0: All packages built successfully! (All logs)
-
glib/2.78.0: All packages built successfully! (All logs)
-
glib/2.78.3: All packages built successfully! (All logs)
-
glib/2.78.1: All packages built successfully! (All logs)
-
glib/2.77.3: All packages built successfully! (All logs)
-
glib/2.77.1: All packages built successfully! (All logs)
-
glib/2.77.0: All packages built successfully! (All logs)
-
glib/2.76.3: All packages built successfully! (All logs)
-
glib/2.75.3: All packages built successfully! (All logs)
-
glib/2.77.2: All packages built successfully! (All logs)
Closing as superseded by #24591. Most of the changes here were related to the Python 3.12 issues.