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

cpython: fix invalid pkg_config name #12128

Closed
wants to merge 1 commit into from

Conversation

mttbernardini
Copy link

Specify library name and version: cpython/all

This PR closes #8198


  • 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.

@CLAassistant
Copy link

CLAassistant commented Aug 10, 2022

CLA assistant check
All committers have signed the CLA.

@ghost
Copy link

ghost commented Aug 10, 2022

@conan-center-bot

This comment has been minimized.

@uilianries
Copy link
Member

@mttbernardini thank you for your contribution, please ask for access request on #4 first. Otherwise, the CI will not run your PR.

@conan-center-bot
Copy link
Collaborator

Failure in build 2 (36ad1f42630a900e69264de33456a0c06f78ebd4):

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

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

    Logs for packageID 113c66262a1ab7a6d1cd09852dc058871832fcea:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=11.0
    os=Macos
    [options]
    cpython:shared=False
    
    [...]
    configure: checking for device files
    checking for /dev/ptmx... yes
    checking for /dev/ptc... no
    checking for %zd printf() format support... no
    checking for socklen_t... no
    checking for build directories... checking for --with-computed-gotos... no value specified
    checking whether cc supports computed gotos... no
    done
    checking for ensurepip... no
    configure: creating ./config.status
    config.status: creating Makefile.pre
    config.status: creating Modules/Setup.config
    config.status: creating Misc/python.pc
    config.status: creating Modules/ld_so_aix
    config.status: creating pyconfig.h
    creating Modules/Setup
    creating Modules/Setup.local
    creating Makefile
    
    
    If you want a release build with all optimizations active (LTO, PGO, etc),
    please run ./configure --enable-optimizations
    
    
    
    ----Running------
    > make -j4
    -----------------
    cc -c -fno-strict-aliasing -m64 -O3 -fPIC -isysroot /Applications/conan/xcode/11/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -Isource_subfolder/Include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1l/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/expat/2.4.1/_/_/package/c2af20934eb6114018bf39eb2aa084128d52e0d7/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/libffi/3.2.1/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/mpdecimal/2.4.2/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/libxcrypt/4.4.25/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/32bef4803d4b079e983ecb27f105881e778bc5a7/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/gdbm/1.19/_/_/package/000816404a3433a6bf1745a2e66863f266abfb89/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/sqlite3/3.36.0/_/_/package/78c2bdd0f586e3dc4b9f24ed32481331c9f0657b/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/tk/8.6.10/_/_/package/538d4e45e1936cab65a74f89ce34673f4165eebd/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/ncurses/6.2/_/_/package/786068a67933102159166ec8dd1d2203e92816ef/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/ncurses/6.2/_/_/package/786068a67933102159166ec8dd1d2203e92816ef/include/ncursesw -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/tcl/8.6.10/_/_/package/eb50d18a5a5d59bd0c332464a4c348ab65e353bf/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/zlib/1.2.11/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -DSTATIC_BUILD -DNCURSES_STATIC -DFFI_BUILDING -DXML_STATIC -DNDEBUG  -DPy_BUILD_CORE -o Modules/python.o source_subfolder/Modules/python.c
    cc -c -fno-strict-aliasing -m64 -O3 -fPIC -isysroot /Applications/conan/xcode/11/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -Isource_subfolder/Include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1l/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/expat/2.4.1/_/_/package/c2af20934eb6114018bf39eb2aa084128d52e0d7/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/libffi/3.2.1/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/mpdecimal/2.4.2/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/libxcrypt/4.4.25/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/32bef4803d4b079e983ecb27f105881e778bc5a7/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/gdbm/1.19/_/_/package/000816404a3433a6bf1745a2e66863f266abfb89/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/sqlite3/3.36.0/_/_/package/78c2bdd0f586e3dc4b9f24ed32481331c9f0657b/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/tk/8.6.10/_/_/package/538d4e45e1936cab65a74f89ce34673f4165eebd/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/ncurses/6.2/_/_/package/786068a67933102159166ec8dd1d2203e92816ef/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/ncurses/6.2/_/_/package/786068a67933102159166ec8dd1d2203e92816ef/include/ncursesw -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/tcl/8.6.10/_/_/package/eb50d18a5a5d59bd0c332464a4c348ab65e353bf/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/zlib/1.2.11/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -DSTATIC_BUILD -DNCURSES_STATIC -DFFI_BUILDING -DXML_STATIC -DNDEBUG  -DPy_BUILD_CORE -o Parser/acceler.o source_subfolder/Parser/acceler.c
    cc -c -fno-strict-aliasing -m64 -O3 -fPIC -isysroot /Applications/conan/xcode/11/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -Isource_subfolder/Include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1l/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/expat/2.4.1/_/_/package/c2af20934eb6114018bf39eb2aa084128d52e0d7/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/libffi/3.2.1/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/mpdecimal/2.4.2/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/libxcrypt/4.4.25/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/32bef4803d4b079e983ecb27f105881e778bc5a7/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/gdbm/1.19/_/_/package/000816404a3433a6bf1745a2e66863f266abfb89/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/sqlite3/3.36.0/_/_/package/78c2bdd0f586e3dc4b9f24ed32481331c9f0657b/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/tk/8.6.10/_/_/package/538d4e45e1936cab65a74f89ce34673f4165eebd/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/ncurses/6.2/_/_/package/786068a67933102159166ec8dd1d2203e92816ef/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/ncurses/6.2/_/_/package/786068a67933102159166ec8dd1d2203e92816ef/include/ncursesw -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/tcl/8.6.10/_/_/package/eb50d18a5a5d59bd0c332464a4c348ab65e353bf/include -I/Users/jenkins/w/prod/BuildSingleReference/.conan/data/zlib/1.2.11/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include -DSTATIC_BUILD -DNCURSES_STATIC -DFFI_BUILDING -DXML_STATIC -DNDEBUG  -DPy_BUILD_CORE -o Parser/grammar1.o source_subfolder/Parser/grammar1.c
    cpython/2.7.18: 
    configure: WARNING:
    
      By default, distutils will build C++ extension modules with "c++".
      If this is not intended, then set CXX on the configure command line.
      
    clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.6'
    clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.6'
    make: *** [Parser/acceler.o] Error 1
    make: *** Waiting for unfinished jobs....
    make: *** [Modules/python.o] Error 1
    clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.6'
    make: *** [Parser/grammar1.o] Error 1
    WARN: tcl/8.6.10: requirement zlib/1.2.12 overridden by tk/8.6.10 to zlib/1.2.11 
    cpython/2.7.18: ERROR: Package '113c66262a1ab7a6d1cd09852dc058871832fcea' build failed
    cpython/2.7.18: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference/.conan/data/cpython/2.7.18/_/_/build/113c66262a1ab7a6d1cd09852dc058871832fcea
    ERROR: cpython/2.7.18: Error in build() method, line 428
    	autotools.make()
    	ConanException: Error 2 while executing make -j4
    
  • cpython/3.10.0@:
    Didn't run or was cancelled before finishing

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

  • cpython/3.8.12@:
    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 Oct 8, 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.

@stale stale bot added the stale label Oct 8, 2022
@stale
Copy link

stale bot commented Nov 7, 2022

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale bot closed this Nov 7, 2022
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.

[cpython]: Invalid pkg_config name
4 participants