conan-center-index icon indicating copy to clipboard operation
conan-center-index copied to clipboard

cpython: avoid invalid configurations

Open valgur opened this issue 1 year ago • 7 comments

Summary

Changes to recipe: cpython/[*]

Motivation

The cpython recipe is currently marked as invalid on

  • macOS x86_64 due to tk and ncurses not supporting cross-building. tk/8.6.10: Invalid: The tk conan recipe does not currently support Macos cross-builds. A contribution to add this functionality would be welcome. ncurses/6.4: Invalid: Cross building to/from arm is (currently) not supported
  • cpython/*:shared=False on MSVC for v3.10 and greater due to build errors. cpython/3.12.7: Invalid ID: Static msvc build disabled (>=3.10) due to "AttributeError: module 'sys' has no attribute 'winver'"

Both of these are avoidable.

This affects the build of these configurations for nanobind, for example: https://github.com/conan-io/conan-center-index/pull/20297#issuecomment-2390819786

/cc @Ahajha

Details


valgur avatar Oct 03 '24 08:10 valgur

Conan v1 pipeline :x:

[!WARNING] Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement.

Failure in build 1 (1e83747eac83fef8535667488554d228a24f83af):

  • cpython/3.12.2: CI failed to create some packages (All logs)

    Logs for packageID 0619ee0ee8a0fcb058d9bf8999a42aaf7e050e32:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    cpython:shared=True
    
    [...]
    -- Conan: Adjusting language standard
    -- This project seems to be plain C, using 'GNU' compiler
    -- Conan: Compiler GCC>=5, checking major version 7
    -- Conan: Checking correct version: 7
    -- Conan: C++ stdlib: libstdc++11
    -- Found PythonInterp: /home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cpython/3.12.2/_/_/package/0619ee0ee8a0fcb058d9bf8999a42aaf7e050e32/bin/python3.12 (found version "3.12.2")
    -- Found PythonLibs: /home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cpython/3.12.2/_/_/package/0619ee0ee8a0fcb058d9bf8999a42aaf7e050e32/lib/libpython3.12.a (found version "3.12.2")
    -- FindPythonInterp:
    -- PYTHON_VERSION_STRING: 3.12.2
    -- PYTHON_VERSION_MAJOR: 3
    -- PYTHON_VERSION_MINOR: 12
    -- PYTHON_VERSION_PATCH: 2
    -- =============================================
    -- FindPythonLibs:
    -- PYTHON_LIBRARIES: /home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cpython/3.12.2/_/_/package/0619ee0ee8a0fcb058d9bf8999a42aaf7e050e32/lib/libpython3.12.a
    -- PYTHON_INCLUDE_PATH: /home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cpython/3.12.2/_/_/package/0619ee0ee8a0fcb058d9bf8999a42aaf7e050e32/include/python3.12 (deprecated)
    -- PYTHON_INCLUDE_DIRS: /home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cpython/3.12.2/_/_/package/0619ee0ee8a0fcb058d9bf8999a42aaf7e050e32/include/python3.12
    -- PYTHON_DEBUG_LIBRARIES:  (deprecated)
    -- PYTHONLIBS_VERSION_STRING: 3.12.2
    -- Configuring incomplete, errors occurred!
    Using Python_ADDITIONAL_VERSIONS: 3.12.2;3.12;3;3.12.2;3.12;3
    CMake Error at /home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cmake/3.30.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
      Could NOT find Python3 (missing: Python3_LIBRARIES Development
      Development.Embed) (found version "3.12.2")
    Call Stack (most recent call first):
      /home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cmake/3.30.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
      /home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cmake/3.30.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/share/cmake-3.30/Modules/FindPython/Support.cmake:3984 (find_package_handle_standard_args)
      /home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cmake/3.30.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/share/cmake-3.30/Modules/FindPython3.cmake:596 (include)
      CMakeLists.txt:80 (find_package)
    
    
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by cpython/3.12.2 to zlib/1.3.1 
    WARN: tcl/8.6.10: requirement zlib/[>=1.2.11 <2] overridden by tk/8.6.10 to zlib/1.3.1 
    WARN: fontconfig/2.13.93: requirement expat/[>=2.6.2 <3] overridden by tk/8.6.10 to expat/2.6.3 
    WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by fontconfig/2.13.93 to zlib/1.3.1 
    WARN: libpng/1.6.44: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.2 to zlib/1.3.1 
    cpython/3.12.2 (test package): WARN: 
         ************************************************
         The 'cmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    cpython/3.12.2 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. ****
    ERROR: cpython/3.12.2 (test package): Error in build() method, line 69
    	cmake.configure()
    	ConanException: Error 1 while executing cd '/home/conan/workspace/prod-v1/bsr/cci-ab812ba9/recipes/cpython/all/test_v1_package/build/cd16dc4b22718bc7ac96eece8aaa173106348ef1' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v1/bsr/cci-ab812ba9/recipes/cpython/all/test_v1_package/build/cd16dc4b22718bc7ac96eece8aaa173106348ef1/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_MODULE="True" -DPY_VERSION_MAJOR_MINOR="3.12" -DPY_FULL_VERSION="3.12.2" -DPY_VERSION="3.12.2" -DPY_VERSION_SUFFIX="" -DPYTHON_EXECUTABLE="/home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cpython/3.12.2/_/_/package/0619ee0ee8a0fcb058d9bf8999a42aaf7e050e32/bin/python3.12" -DUSE_FINDPYTHON_X="True" -DPython3_EXECUTABLE="/home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cpython/3.12.2/_/_/package/0619ee0ee8a0fcb058d9bf8999a42aaf7e050e32/bin/python3.12" -DPython3_ROOT_DIR="/home/conan/workspace/prod-v1/bsr/105842/ebcbb/.conan/data/cpython/3.12.2/_/_/package/0619ee0ee8a0fcb058d9bf8999a42aaf7e050e32" -DPython3_USE_STATIC_LIBS="False" -DPython3_FIND_FRAMEWORK="NEVER" -DPython3_FIND_REGISTRY="NEVER" -DPython3_FIND_IMPLEMENTATIONS="CPython" -DPython3_FIND_STRATEGY="LOCATION" -Wno-dev '/home/conan/workspace/prod-v1/bsr/cci-ab812ba9/recipes/cpython/all/test_v1_package'
    
  • cpython/3.11.9: Didn't run or was cancelled before finishing

  • cpython/3.10.14: Didn't run or was cancelled before finishing

  • cpython/3.8.19: Didn't run or was cancelled before finishing

  • cpython/3.12.7: Didn't run or was cancelled before finishing

  • cpython/3.9.19: 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.

Failure in build 1 (1e83747eac83fef8535667488554d228a24f83af):

  • cpython/3.12.7: Didn't run or was cancelled before finishing

  • cpython/3.11.9: CI failed to create some packages (All logs)

    Logs for packageID b3781e1d155f3ad1a6ec45741e75fd64afa1739e:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=False
    
    [...]
    xz_utils/5.4.5: Retrieving package d62dff20d86436b9c58ddc0162499d197be9de1e from remote 'conan-center' 
    xz_utils/5.4.5: Package installed d62dff20d86436b9c58ddc0162499d197be9de1e
    xz_utils/5.4.5: Downloaded package revision e7e701d5c6b6c1cefabf4d83a043f82a
    zlib/1.3.1: Retrieving package d62dff20d86436b9c58ddc0162499d197be9de1e from remote 'conan-center' 
    zlib/1.3.1: Package installed d62dff20d86436b9c58ddc0162499d197be9de1e
    zlib/1.3.1: Downloaded package revision c4506d0ca4188035101e46f9b99cc29f
    pkgconf/2.1.0: Retrieving package df7e47c8f0b96c79c977dd45ec51a050d8380273 from remote 'conan-center' 
    pkgconf/2.1.0: Package installed df7e47c8f0b96c79c977dd45ec51a050d8380273
    pkgconf/2.1.0: Downloaded package revision 0e4a349206e0319ddfe0a13932c26b03
    gdbm/1.23: Retrieving package c2e0b97811fca19961df06c6397496a898589b98 from remote 'conan-center' 
    gdbm/1.23: Package installed c2e0b97811fca19961df06c6397496a898589b98
    gdbm/1.23: Downloaded package revision 08c62dd2d703bd861d75036a8e2e5b42
    libxcrypt/4.4.36: Retrieving package d62dff20d86436b9c58ddc0162499d197be9de1e from remote 'conan-center' 
    libxcrypt/4.4.36: Package installed d62dff20d86436b9c58ddc0162499d197be9de1e
    libxcrypt/4.4.36: Downloaded package revision af0e2669d1d5bc8c6b88c014e771a979
    openssl/3.3.2: Retrieving package 85a50ad6024a51a54e17f9661b5d30ecb2b33742 from remote 'conan-center' 
    openssl/3.3.2: Package installed 85a50ad6024a51a54e17f9661b5d30ecb2b33742
    openssl/3.3.2: Downloaded package revision 6859054fea9224247a21f725e992890f
    pkgconf/2.1.0: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
    gdbm/1.23: Appending PATH environment variable: /Users/jenkins/workspace/prod-v2/bsr@2/94657/ccfdb/p/gdbm151c3cfe442d1/p/bin
    cpython/3.11.9: Calling source() in /Users/jenkins/workspace/prod-v2/bsr@2/94657/ccfdb/p/cpytha245f4f6c85db/s/src
    cpython/3.11.9: Downloading 26.5MB e7de3240a8bc2b1e1ba5c81bf943f06861ff494b69fda990ce2722a504c6153d
    cpython/3.11.9: Sources for https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tgz found in remote backup https://c3i.jfrog.io/artifactory/conan-center-backup-sources/
    cpython/3.11.9: Unzipping Python-3.11.9.tgz to .
    
    -------- Installing package cpython/3.11.9 (12 of 12) --------
    cpython/3.11.9: Building from source
    cpython/3.11.9: Package cpython/3.11.9:b3781e1d155f3ad1a6ec45741e75fd64afa1739e
    cpython/3.11.9: Copying sources to build folder
    cpython/3.11.9: Building your package in /Users/jenkins/workspace/prod-v2/bsr@2/94657/ccfdb/p/b/cpyth31c74d6334c2f/b
    cpython/3.11.9: Calling generate()
    cpython/3.11.9: Generators folder: /Users/jenkins/workspace/prod-v2/bsr@2/94657/ccfdb/p/b/cpyth31c74d6334c2f/b/build-release/conan
    cpython/3.11.9: Generating aggregated env files
    cpython/3.11.9: Generated aggregated env files: ['conanbuild.sh']
    cpython/3.11.9: Calling build()
    cpython/3.11.9: Apply patch (bugfix): Fix ARM/ARM64 mismatch in project file
    cpython/3.11.9: Apply patch (portability): Support shared libffi
    cpython/3.11.9: Apply patch (conan): Allow package to be relocatable
    cpython/3.11.9: Apply patch (conan): Remove section of solution file forcing projects to be built that might not be used for this recipe
    cpython/3.11.9: RUN: "/Users/jenkins/workspace/prod-v2/bsr@2/94657/ccfdb/p/b/cpyth31c74d6334c2f/b/src/configure" --disable-shared --prefix=/Users/jenkins/workspace/prod-v2/bsr@2/94657/ccfdb/p/b/cpyth31c74d6334c2f/p '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' --host=x86_64-apple-darwin --build=aarch64-apple-darwin --with-doc-strings=yes --with-pymalloc=yes --with-system-expat --enable-optimizations=no --with-lto=no --with-pydebug=no --with-system-libmpdec --with-openssl=/Users/jenkins/workspace/prod-v2/bsr@2/94657/ccfdb/p/opensfed589a3aefa8/p --with-system-ffi --disable-test-modules --enable-loadable-sqlite-extensions=yes 
    checking build system type... aarch64-apple-darwin
    checking host system type... x86_64-apple-darwin
    configure: error: Cross compiling requires --with-build-python
    
    cpython/3.11.9: ERROR: 
    Package 'b3781e1d155f3ad1a6ec45741e75fd64afa1739e' build failed
    cpython/3.11.9: WARN: Build folder /Users/jenkins/workspace/prod-v2/bsr@2/94657/ccfdb/p/b/cpyth31c74d6334c2f/b/build-release
    ERROR: cpython/3.11.9: Error in build() method, line 550
    	autotools.configure()
    	ConanException: Error 1 while executing
    
  • cpython/3.12.2: Didn't run or was cancelled before finishing

  • cpython/3.10.14: Didn't run or was cancelled before finishing

  • cpython/3.9.19: Didn't run or was cancelled before finishing

  • cpython/3.8.19: 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-center-bot avatar Oct 03 '24 09:10 conan-center-bot

I like the goal here. There's another invalid config, relating to mpdecimal on Windows/shared. The cxx option is enabled by default, but is incompatible with the shared option on Windows, so the Windows/all shared build is invalid. So probably want to also just disable the cxx option, at least on Windows.

Fixing the issues that come up from these might not be trivial, but I can take a look if I have some spare time. It might not be a bad idea to split this into a few PRs if it gets difficult.

Ahajha avatar Oct 04 '24 05:10 Ahajha

Conan v1 pipeline :x:

[!WARNING] Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement.

Failure in build 2 (783662d82e196a7ec8825b461937615ed98e769e):

  • cpython/3.12.2: CI failed to create some packages (All logs)

    Logs for packageID 451718e84cd9d74d2f16bcb2e39f52a6f0d5e1a3:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    cpython:shared=True
    
    [...]
    -- Conan: Adjusting language standard
    -- This project seems to be plain C, using 'GNU' compiler
    -- Conan: Compiler GCC>=5, checking major version 5
    -- Conan: Checking correct version: 5
    -- Conan: C++ stdlib: libstdc++11
    -- Found PythonInterp: /home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cpython/3.12.2/_/_/package/451718e84cd9d74d2f16bcb2e39f52a6f0d5e1a3/bin/python3.12 (found version "3.12.2")
    -- Found PythonLibs: /home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cpython/3.12.2/_/_/package/451718e84cd9d74d2f16bcb2e39f52a6f0d5e1a3/lib/libpython3.12.a (found version "3.12.2")
    -- FindPythonInterp:
    -- PYTHON_VERSION_STRING: 3.12.2
    -- PYTHON_VERSION_MAJOR: 3
    -- PYTHON_VERSION_MINOR: 12
    -- PYTHON_VERSION_PATCH: 2
    -- =============================================
    -- FindPythonLibs:
    -- PYTHON_LIBRARIES: /home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cpython/3.12.2/_/_/package/451718e84cd9d74d2f16bcb2e39f52a6f0d5e1a3/lib/libpython3.12.a
    -- PYTHON_INCLUDE_PATH: /home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cpython/3.12.2/_/_/package/451718e84cd9d74d2f16bcb2e39f52a6f0d5e1a3/include/python3.12 (deprecated)
    -- PYTHON_INCLUDE_DIRS: /home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cpython/3.12.2/_/_/package/451718e84cd9d74d2f16bcb2e39f52a6f0d5e1a3/include/python3.12
    -- PYTHON_DEBUG_LIBRARIES:  (deprecated)
    -- PYTHONLIBS_VERSION_STRING: 3.12.2
    -- Configuring incomplete, errors occurred!
    Using Python_ADDITIONAL_VERSIONS: 3.12.2;3.12;3;3.12.2;3.12;3
    CMake Error at /home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cmake/3.30.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
      Could NOT find Python3 (missing: Python3_LIBRARIES Development
      Development.Embed) (found version "3.12.2")
    Call Stack (most recent call first):
      /home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cmake/3.30.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
      /home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cmake/3.30.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/share/cmake-3.30/Modules/FindPython/Support.cmake:3984 (find_package_handle_standard_args)
      /home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cmake/3.30.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/share/cmake-3.30/Modules/FindPython3.cmake:596 (include)
      CMakeLists.txt:80 (find_package)
    
    
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by cpython/3.12.2 to zlib/1.3.1 
    WARN: tcl/8.6.10: requirement zlib/[>=1.2.11 <2] overridden by tk/8.6.10 to zlib/1.3.1 
    WARN: fontconfig/2.13.93: requirement expat/[>=2.6.2 <3] overridden by tk/8.6.10 to expat/2.6.3 
    WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by fontconfig/2.13.93 to zlib/1.3.1 
    WARN: libpng/1.6.44: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.2 to zlib/1.3.1 
    cpython/3.12.2 (test package): WARN: 
         ************************************************
         The 'cmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    cpython/3.12.2 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. ****
    ERROR: cpython/3.12.2 (test package): Error in build() method, line 69
    	cmake.configure()
    	ConanException: Error 1 while executing cd '/home/conan/workspace/prod-v1/bsr/cci-c77bba71/recipes/cpython/all/test_v1_package/build/b35e4350eea385efec098ee946833071b40a57f8' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v1/bsr/cci-c77bba71/recipes/cpython/all/test_v1_package/build/b35e4350eea385efec098ee946833071b40a57f8/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_MODULE="True" -DPY_VERSION_MAJOR_MINOR="3.12" -DPY_FULL_VERSION="3.12.2" -DPY_VERSION="3.12.2" -DPY_VERSION_SUFFIX="" -DPYTHON_EXECUTABLE="/home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cpython/3.12.2/_/_/package/451718e84cd9d74d2f16bcb2e39f52a6f0d5e1a3/bin/python3.12" -DUSE_FINDPYTHON_X="True" -DPython3_EXECUTABLE="/home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cpython/3.12.2/_/_/package/451718e84cd9d74d2f16bcb2e39f52a6f0d5e1a3/bin/python3.12" -DPython3_ROOT_DIR="/home/conan/workspace/prod-v1/bsr/106344/ccfda/.conan/data/cpython/3.12.2/_/_/package/451718e84cd9d74d2f16bcb2e39f52a6f0d5e1a3" -DPython3_USE_STATIC_LIBS="False" -DPython3_FIND_FRAMEWORK="NEVER" -DPython3_FIND_REGISTRY="NEVER" -DPython3_FIND_IMPLEMENTATIONS="CPython" -DPython3_FIND_STRATEGY="LOCATION" -Wno-dev '/home/conan/workspace/prod-v1/bsr/cci-c77bba71/recipes/cpython/all/test_v1_package'
    
  • cpython/3.9.19: Didn't run or was cancelled before finishing

  • cpython/3.12.7: Didn't run or was cancelled before finishing

  • cpython/3.11.9: Didn't run or was cancelled before finishing

  • cpython/3.10.14: Didn't run or was cancelled before finishing

  • cpython/3.8.19: 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.

Failure in build 2 (783662d82e196a7ec8825b461937615ed98e769e):

  • cpython/3.12.2: Didn't run or was cancelled before finishing

  • cpython/3.12.7: CI failed to create some packages (All logs)

    Logs for packageID 16a2174902a9bbd88e19d7a2baff4a7af1bbdb23:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
    -- Conan: Component target declared 'xorg::xcb-xfixes'
    -- Conan: Component target declared 'xorg::xcb-xinerama'
    -- Conan: Component target declared 'xorg::xcb'
    -- Conan: Component target declared 'xorg::xcb-atom'
    -- Conan: Component target declared 'xorg::xcb-aux'
    -- Conan: Component target declared 'xorg::xcb-event'
    -- Conan: Component target declared 'xorg::xcb-util'
    -- Conan: Component target declared 'xorg::xcb-dri3'
    -- Conan: Component target declared 'xorg::xcb-cursor'
    -- Conan: Component target declared 'xorg::xcb-dri2'
    -- Conan: Component target declared 'xorg::xcb-glx'
    -- Conan: Component target declared 'xorg::xcb-present'
    -- Conan: Component target declared 'xorg::xcb-composite'
    -- Conan: Component target declared 'xorg::xcb-ewmh'
    -- Conan: Component target declared 'xorg::xcb-res'
    -- Conan: Component target declared 'xorg::uuid'
    -- Conan: Component target declared 'xorg::sm'
    -- Conan: Target declared 'xorg::xorg'
    -- Conan: Component target declared 'ncurses::tinfo'
    -- Conan: Component target declared 'ncurses::libcurses++'
    -- Conan: Component target declared 'ncurses::libcurses'
    -- Conan: Component target declared 'ncurses::panel'
    -- Conan: Component target declared 'ncurses::menu'
    -- Conan: Component target declared 'ncurses::form'
    -- Conan: Component target declared 'ncurses::ticlib'
    -- Conan: Component target declared 'ncurses::curses++'
    -- Conan: Target declared 'Curses::Curses'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/94868/aebeb/p/ncursd4659b2179361/p/lib/cmake/conan-official-ncurses-targets.cmake'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/94868/aebeb/p/b/cpyth1059c4f00163e/p/lib/cmake/use_conan_python.cmake'
    CMake Error at /home/conan/workspace/prod-v2/bsr/94868/aebeb/p/cmakefaa1321642d5b/p/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
      Could NOT find Python3 (missing: Development.Embed) (found version
      "3.12.7")
    
          Reason given by package: 
              Development: Cannot find the library "/home/conan/workspace/prod-v2/bsr/94868/aebeb/p/b/cpyth1059c4f00163e/p/lib/cmake/../libpython3.12.a"
    
    Call Stack (most recent call first):
      /home/conan/workspace/prod-v2/bsr/94868/aebeb/p/cmakefaa1321642d5b/p/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
      /home/conan/workspace/prod-v2/bsr/94868/aebeb/p/cmakefaa1321642d5b/p/share/cmake-3.30/Modules/FindPython/Support.cmake:3984 (find_package_handle_standard_args)
      /home/conan/workspace/prod-v2/bsr/94868/aebeb/p/cmakefaa1321642d5b/p/share/cmake-3.30/Modules/FindPython3.cmake:596 (include)
      /home/conan/workspace/prod-v2/bsr/94868/aebeb/p/b/cpyth1059c4f00163e/p/lib/cmake/use_conan_python.cmake:14 (include)
      build/gcc-11-x86_64-17-release/generators/Python3Config.cmake:38 (include)
      CMakeLists.txt:4 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    
    ERROR: cpython/3.12.7 (test package): Error in build() method, line 92
    	cmake.configure()
    	ConanException: Error 1 while executing
    
  • cpython/3.11.9: Didn't run or was cancelled before finishing

  • cpython/3.9.19: Didn't run or was cancelled before finishing

  • cpython/3.10.14: Didn't run or was cancelled before finishing

  • cpython/3.8.19: 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-center-bot avatar Oct 04 '24 06:10 conan-center-bot

Conan v1 pipeline :x:

[!WARNING] Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement.

Failure in build 3 (4d5827560711bf9d10efc553871517b3f6bbb9e6):

  • cpython/3.12.7: CI failed to create some packages (All logs)

    Logs for packageID 689403d698ad8a6e7a5ed616ae7311e3a0e517de:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    cpython:shared=False
    
    [...]
    conaninfo.txt
    conanrun.sh
    conanrunenv-release-x86_64.sh
    deactivate_conanbuild.sh
    deactivate_conanrun.sh
    deactivate_conanrunenv-release-x86_64.sh
    gdbm.db
    graph_info.json
    lib
    cpython/3.12.7 (test package): Result of test was expected.
    
    ----Running------
    > . "/home/conan/workspace/prod-v1/bsr/cci-9063dba4/recipes/cpython/all/test_v1_package/build/90006a92d3e6c2f4fbf13a4358e3e69a582d2a46/conanbuild.sh" && bin/test_package
    -----------------
    Today is Mon Oct  7 03:42:34 2024
    Using Python_ADDITIONAL_VERSIONS: 3.12.7;3.12;3;3.12.7;3.12;3
    Python3_EXECUTABLE: /home/conan/workspace/prod-v1/bsr/107435/adaca/.conan/data/cpython/3.12.7/_/_/package/689403d698ad8a6e7a5ed616ae7311e3a0e517de/bin/python3.12
    Python3_INTERPRETER_ID: Python
    Python3_VERSION: 3.12.7
    Python3_INCLUDE_DIRS: /home/conan/workspace/prod-v1/bsr/107435/adaca/.conan/data/cpython/3.12.7/_/_/package/689403d698ad8a6e7a5ed616ae7311e3a0e517de/include/python3.12
    Python3_LIBRARIES: /home/conan/workspace/prod-v1/bsr/107435/adaca/.conan/data/cpython/3.12.7/_/_/package/689403d698ad8a6e7a5ed616ae7311e3a0e517de/lib/libpython3.12.a
    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: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by cpython/3.12.7 to zlib/1.3.1 
    WARN: tcl/8.6.10: requirement zlib/[>=1.2.11 <2] overridden by tk/8.6.10 to zlib/1.3.1 
    WARN: fontconfig/2.13.93: requirement expat/[>=2.6.2 <3] overridden by tk/8.6.10 to expat/2.6.3 
    WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by fontconfig/2.13.93 to zlib/1.3.1 
    WARN: libpng/1.6.44: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.2 to zlib/1.3.1 
    cpython/3.12.7 (test package): WARN: 
         ************************************************
         The 'cmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    cpython/3.12.7 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. ****
    
  • cpython/3.12.2: Didn't run or was cancelled before finishing

  • cpython/3.11.9: Didn't run or was cancelled before finishing

  • cpython/3.8.19: Didn't run or was cancelled before finishing

  • cpython/3.9.19: Didn't run or was cancelled before finishing

  • cpython/3.10.14: 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.

Failure in build 3 (4d5827560711bf9d10efc553871517b3f6bbb9e6):

  • cpython/3.12.2: Didn't run or was cancelled before finishing

  • cpython/3.12.7: Didn't run or was cancelled before finishing

  • cpython/3.9.19: Didn't run or was cancelled before finishing

  • cpython/3.11.9: Didn't run or was cancelled before finishing

  • cpython/3.10.14: Didn't run or was cancelled before finishing

  • cpython/3.8.19: CI failed to create some packages (All logs)

    Logs for packageID 04532a7f28bad8394e6adc81d59189e10ce33256:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=False
    
    [...]
    sqlite3/3.45.2: Retrieving package cba20dbd31e3a53330299d98db1e609461f2a3a1 from remote 'conan-center' 
    sqlite3/3.45.2: Package installed cba20dbd31e3a53330299d98db1e609461f2a3a1
    sqlite3/3.45.2: Downloaded package revision f25de4d0dfcb84eb4ad0b4c7c76bcdb4
    xz_utils/5.4.5: Retrieving package d62dff20d86436b9c58ddc0162499d197be9de1e from remote 'conan-center' 
    xz_utils/5.4.5: Package installed d62dff20d86436b9c58ddc0162499d197be9de1e
    xz_utils/5.4.5: Downloaded package revision e7e701d5c6b6c1cefabf4d83a043f82a
    zlib/1.3.1: Retrieving package d62dff20d86436b9c58ddc0162499d197be9de1e from remote 'conan-center' 
    zlib/1.3.1: Package installed d62dff20d86436b9c58ddc0162499d197be9de1e
    zlib/1.3.1: Downloaded package revision c4506d0ca4188035101e46f9b99cc29f
    gdbm/1.23: Retrieving package c2e0b97811fca19961df06c6397496a898589b98 from remote 'conan-center' 
    gdbm/1.23: Package installed c2e0b97811fca19961df06c6397496a898589b98
    gdbm/1.23: Downloaded package revision 08c62dd2d703bd861d75036a8e2e5b42
    libxcrypt/4.4.36: Retrieving package d62dff20d86436b9c58ddc0162499d197be9de1e from remote 'conan-center' 
    libxcrypt/4.4.36: Package installed d62dff20d86436b9c58ddc0162499d197be9de1e
    libxcrypt/4.4.36: Downloaded package revision af0e2669d1d5bc8c6b88c014e771a979
    openssl/3.3.2: Retrieving package 85a50ad6024a51a54e17f9661b5d30ecb2b33742 from remote 'conan-center' 
    openssl/3.3.2: Package installed 85a50ad6024a51a54e17f9661b5d30ecb2b33742
    openssl/3.3.2: Downloaded package revision 6859054fea9224247a21f725e992890f
    gdbm/1.23: Appending PATH environment variable: /Users/jenkins/workspace/prod-v2/bsr/95700/bfcba/p/gdbm151c3cfe442d1/p/bin
    cpython/3.8.19: Calling source() in /Users/jenkins/workspace/prod-v2/bsr/95700/bfcba/p/cpythea3d99981cc88/s/src
    cpython/3.8.19: Downloading 25.3MB c7fa55a36e5c7a19ec37d8f90f60a2197548908c9ac8b31e7c0dbffdd470eeac
    cpython/3.8.19: Sources for https://www.python.org/ftp/python/3.8.19/Python-3.8.19.tgz found in remote backup https://c3i.jfrog.io/artifactory/conan-center-backup-sources/
    cpython/3.8.19: Unzipping Python-3.8.19.tgz to .
    
    -------- Installing package cpython/3.8.19 (11 of 11) --------
    cpython/3.8.19: Building from source
    cpython/3.8.19: Package cpython/3.8.19:04532a7f28bad8394e6adc81d59189e10ce33256
    cpython/3.8.19: Copying sources to build folder
    cpython/3.8.19: Building your package in /Users/jenkins/workspace/prod-v2/bsr/95700/bfcba/p/b/cpytha5ce942c8f294/b
    cpython/3.8.19: Calling generate()
    cpython/3.8.19: Generators folder: /Users/jenkins/workspace/prod-v2/bsr/95700/bfcba/p/b/cpytha5ce942c8f294/b/build-release/conan
    cpython/3.8.19: Generating aggregated env files
    cpython/3.8.19: Generated aggregated env files: ['conanbuild.sh']
    cpython/3.8.19: Calling build()
    cpython/3.8.19: Apply patch (portability): Remove duplicate libffi symbols and support shared libffi
    cpython/3.8.19: Apply patch (conan): Allow package to be relocatable
    cpython/3.8.19: Apply patch (conan): Remove section of solution file forcing projects to be built that might not be used for this recipe
    cpython/3.8.19: RUN: "/Users/jenkins/workspace/prod-v2/bsr/95700/bfcba/p/b/cpytha5ce942c8f294/b/src/configure" --disable-shared --prefix=/Users/jenkins/workspace/prod-v2/bsr/95700/bfcba/p/b/cpytha5ce942c8f294/p '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' --host=x86_64-apple-darwin --build=aarch64-apple-darwin --with-doc-strings=yes --with-pymalloc=yes --with-system-expat --enable-optimizations=no --with-lto=no --with-pydebug=no --with-system-libmpdec --with-openssl=/Users/jenkins/workspace/prod-v2/bsr/95700/bfcba/p/opensfed589a3aefa8/p --with-system-ffi --enable-loadable-sqlite-extensions=yes 
    checking build system type... aarch64-apple-darwin
    checking host system type... x86_64-apple-darwin
    checking for python3.8... no
    checking for python3... python3
    checking for python interpreter for cross build... configure: error: python3.8 interpreter not found
    
    cpython/3.8.19: ERROR: 
    Package '04532a7f28bad8394e6adc81d59189e10ce33256' build failed
    cpython/3.8.19: WARN: Build folder /Users/jenkins/workspace/prod-v2/bsr/95700/bfcba/p/b/cpytha5ce942c8f294/b/build-release
    ERROR: cpython/3.8.19: Error in build() method, line 550
    	autotools.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.

conan-center-bot avatar Oct 07 '24 03:10 conan-center-bot

@AbrilRBS To fix the Mac cross-compile errors, we would need an additional build-time dependency on cpython itself. Can CCI support this?

Ahajha avatar Oct 14 '24 04:10 Ahajha

Conan v1 pipeline :x:

[!WARNING] Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement.

Failure in build 4 (6d8d46c6c3abe10494f4fa56db94c34e3544df2a):

  • cpython/3.12.7: CI failed to create some packages (All logs)

    Logs for packageID 4a14cda3e7ca148a6b1faadb3dd157d4515b117c:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    cpython:shared=False
    
    [...]
    conaninfo.txt
    conanrun.sh
    conanrunenv-release-x86_64.sh
    deactivate_conanbuild.sh
    deactivate_conanrun.sh
    deactivate_conanrunenv-release-x86_64.sh
    gdbm.db
    graph_info.json
    lib
    cpython/3.12.7 (test package): Result of test was expected.
    
    ----Running------
    > . "/home/conan/workspace/prod-v1/bsr/cci-45ad3f50/recipes/cpython/all/test_v1_package/build/a1e56edeec75e2e77a868017f5a8d20d8d2bc14d/conanbuild.sh" && bin/test_package
    -----------------
    Today is Mon Oct 14 06:38:06 2024
    Using Python_ADDITIONAL_VERSIONS: 3.12.7;3.12;3;3.12.7;3.12;3
    Python3_EXECUTABLE: /home/conan/workspace/prod-v1/bsr/110064/ecabc/.conan/data/cpython/3.12.7/_/_/package/4a14cda3e7ca148a6b1faadb3dd157d4515b117c/bin/python3.12
    Python3_INTERPRETER_ID: Python
    Python3_VERSION: 3.12.7
    Python3_INCLUDE_DIRS: /home/conan/workspace/prod-v1/bsr/110064/ecabc/.conan/data/cpython/3.12.7/_/_/package/4a14cda3e7ca148a6b1faadb3dd157d4515b117c/include/python3.12
    Python3_LIBRARIES: /home/conan/workspace/prod-v1/bsr/110064/ecabc/.conan/data/cpython/3.12.7/_/_/package/4a14cda3e7ca148a6b1faadb3dd157d4515b117c/lib/libpython3.12.a
    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: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by cpython/3.12.7 to zlib/1.3.1 
    WARN: tcl/8.6.10: requirement zlib/[>=1.2.11 <2] overridden by tk/8.6.10 to zlib/1.3.1 
    WARN: fontconfig/2.13.93: requirement expat/[>=2.6.2 <3] overridden by tk/8.6.10 to expat/2.6.3 
    WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by fontconfig/2.13.93 to zlib/1.3.1 
    WARN: libpng/1.6.44: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.2 to zlib/1.3.1 
    cpython/3.12.7 (test package): WARN: 
         ************************************************
         The 'cmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    cpython/3.12.7 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. ****
    
  • cpython/3.11.9: Didn't run or was cancelled before finishing

  • cpython/3.12.2: Didn't run or was cancelled before finishing

  • cpython/3.8.19: Didn't run or was cancelled before finishing

  • cpython/3.10.14: Didn't run or was cancelled before finishing

  • cpython/3.9.19: 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.

Failure in build 4 (6d8d46c6c3abe10494f4fa56db94c34e3544df2a):

  • cpython/3.12.7: Didn't run or was cancelled before finishing

  • cpython/3.10.14: CI failed to create some packages (All logs)

    Logs for packageID 832cf6f7ab6b91ef09d21447b2d2dfe1d8692894:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=False
    
    [...]
    cpython/3.10.14: package(): Packaged 1 '.fish' file: activate.fish
    cpython/3.10.14: package(): Packaged 1 '.csh' file: activate.csh
    cpython/3.10.14: package(): Packaged 1 '.ps1' file: Activate.ps1
    cpython/3.10.14: package(): Packaged 2 '.pickle' files: Grammar3.10.14.final.0.pickle, PatternGrammar3.10.14.final.0.pickle
    cpython/3.10.14: package(): Packaged 1 '.html' file: help.html
    cpython/3.10.14: package(): Packaged 1 '.pyw' file: idle.pyw
    cpython/3.10.14: package(): Packaged 4 '.def' files: config-main.def, config-keys.def, config-extensions.def, config-highlight.def
    cpython/3.10.14: package(): Packaged 9 '.gif' files
    cpython/3.10.14: package(): Packaged 4 '.png' files: idle_48.png, idle_16.png, idle_32.png, idle_256.png
    cpython/3.10.14: package(): Packaged 1 '.ico' file: idle.ico
    cpython/3.10.14: package(): Packaged 1 '.css' file: _pydoc.css
    cpython/3.10.14: package(): Packaged 1 '.rst' file: architecture.rst
    cpython/3.10.14: Created package revision 04474de4e7bd44058e6377e9ecf20554
    cpython/3.10.14: Package '3ebb45ad952837444686011331625ac965bae6ad' created
    cpython/3.10.14: Full package reference: cpython/3.10.14#ba4425226637e1d7a7e6f50b91222fa2:3ebb45ad952837444686011331625ac965bae6ad#04474de4e7bd44058e6377e9ecf20554
    cpython/3.10.14: Package folder /Users/jenkins/workspace/prod-v2/bsr/98254/afbee/p/b/cpyth0ecdc34d7f76c/p
    cpython/3.10.14: Appending PATH environment variable: /Users/jenkins/workspace/prod-v2/bsr/98254/afbee/p/b/cpyth0ecdc34d7f76c/p/bin
    cpython/3.10.14: Appending PYTHON environment variable: /Users/jenkins/workspace/prod-v2/bsr/98254/afbee/p/b/cpyth0ecdc34d7f76c/p/bin/python3.10
    cpython/3.10.14: Setting PYTHON_ROOT environment variable: /Users/jenkins/workspace/prod-v2/bsr/98254/afbee/p/b/cpyth0ecdc34d7f76c/p
    
    -------- Installing package cpython/3.10.14 (25 of 25) --------
    cpython/3.10.14: Building from source
    cpython/3.10.14: Package cpython/3.10.14:832cf6f7ab6b91ef09d21447b2d2dfe1d8692894
    cpython/3.10.14: Copying sources to build folder
    cpython/3.10.14: Building your package in /Users/jenkins/workspace/prod-v2/bsr/98254/afbee/p/b/cpyth1c3bbd7425499/b
    cpython/3.10.14: Calling generate()
    cpython/3.10.14: Generators folder: /Users/jenkins/workspace/prod-v2/bsr/98254/afbee/p/b/cpyth1c3bbd7425499/b/build-release/conan
    cpython/3.10.14: Generating aggregated env files
    cpython/3.10.14: Generated aggregated env files: ['conanbuild.sh']
    cpython/3.10.14: Calling build()
    cpython/3.10.14: Apply patch (bugfix): Fix ARM/ARM64 mismatch in project file
    cpython/3.10.14: Apply patch (portability): Remove duplicate libffi symbols and support shared libffi
    cpython/3.10.14: Apply patch (conan): Allow package to be relocatable
    cpython/3.10.14: Apply patch (conan): Remove section of solution file forcing projects to be built that might not be used for this recipe
    cpython/3.10.14: RUN: "/Users/jenkins/workspace/prod-v2/bsr/98254/afbee/p/b/cpyth1c3bbd7425499/b/src/configure" --enable-shared --prefix=/Users/jenkins/workspace/prod-v2/bsr/98254/afbee/p/b/cpyth1c3bbd7425499/p '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' --host=x86_64-apple-darwin --build=aarch64-apple-darwin --with-doc-strings=yes --with-pymalloc=yes --with-system-expat --enable-optimizations=no --with-lto=no --with-pydebug=no --with-system-libmpdec --with-openssl=/Users/jenkins/workspace/prod-v2/bsr/98254/afbee/p/opensfed589a3aefa8/p --with-system-ffi --disable-test-modules --enable-loadable-sqlite-extensions=yes --with-build-python=/Users/jenkins/workspace/prod-v2/bsr/98254/afbee/p/b/cpyth0ecdc34d7f76c/p/bin/python --enable-ipv6 ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no 
    configure: WARNING: unrecognized options: --with-build-python
    checking build system type... aarch64-apple-darwin
    checking host system type... x86_64-apple-darwin
    checking for python3.10... python3.10
    checking for python interpreter for cross build... python3.10
    checking for --enable-universalsdk... no
    checking for --with-universal-archs... no
    checking MACHDEP... configure: error: cross build not supported for x86_64-apple-darwin
    
    cpython/3.10.14: ERROR: 
    Package '832cf6f7ab6b91ef09d21447b2d2dfe1d8692894' build failed
    cpython/3.10.14: WARN: Build folder /Users/jenkins/workspace/prod-v2/bsr/98254/afbee/p/b/cpyth1c3bbd7425499/b/build-release
    ERROR: cpython/3.10.14: Error in build() method, line 562
    	autotools.configure()
    	ConanException: Error 1 while executing
    
  • cpython/3.8.19: Didn't run or was cancelled before finishing

  • cpython/3.12.2: Didn't run or was cancelled before finishing

  • cpython/3.11.9: Didn't run or was cancelled before finishing

  • cpython/3.9.19: 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-center-bot avatar Oct 14 '24 06:10 conan-center-bot

@valgur Seems that cpython doesn't support Mac cross compiles, but it does support universal builds (see https://github.com/python/cpython/issues/90905). That might go into a rabbithole of needing to update dependencies to also support universal builds. Also see https://docs.conan.io/2/reference/tools/cmake/cmaketoolchain.html#support-for-universal-binaries-in-macos, somewhat relevant.

Ahajha avatar Oct 19 '24 03:10 Ahajha

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: Ahajha
:x: Martin Valgur


Martin Valgur seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Mar 09 '25 08:03 CLAassistant