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

nss: conan v2 support #19262

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open

nss: conan v2 support #19262

wants to merge 40 commits into from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Aug 17, 2023

Continues from #16174.

@conan-center-bot

This comment has been minimized.

This was referenced Aug 31, 2023
@conan-center-bot

This comment has been minimized.

@ghost ghost mentioned this pull request Sep 3, 2023
@stale
Copy link

stale bot commented Oct 15, 2023

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.

@AbrilRBS
Copy link
Member

Blocked by #18892

@stale stale bot removed the stale label Nov 1, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Nov 3, 2023

Hooks produced the following warnings for commit 24962fa
nss/3.92@#d200deb8ed621c2e4f8a5508921a9424
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.91@#a1f544a668ea733b6962cbb6101cec41
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.89@#97075d0c895729e6c6fd040aede77ec6
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.86@#6c79d5da5aec8ccde41ea9d0c79081cc
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.93@#8c6218e70293e33d4412556fb46db831
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.88.1@#deba4beae6fe9d613ba232ddd0390453
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.83@#87f6d326ff6c2977c44ca0a4fc2f83cc
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.72@#a19961ca0170c274acf4a421a489f697
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.77@#e1b84b4fe31d21bb4b411e84e035ddf5
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.85@#821889e6ffc84f5cde9099efbdfebfd9
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.84@#955445fb4d3f7815e2a5be1d2c7c99f6
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.76.1@#aef738ec666ff850a2c90fcf7dd14493
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.87@#5fe10d112d0d2ad8ebcb6eb92de3d728
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib

Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question about the run trait for sqlite

recipes/nss/all/conanfile.py Outdated Show resolved Hide resolved
@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Hooks produced the following warnings for commit 963beec
nss/3.92@#b3eac05da83c321d7a04fcfc8089c9b2
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.93@#1b9a0cad53aef24e5933ae05948a35de
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.91@#1cc2376d1eb19c8ea86502de58271039
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.88.1@#2ebd718b59e83d2dfdc503592a504245
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.87@#65343ed0a3a47e083e60fe6e46d0a2e5
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.85@#15f33268fd2b7a3efc72e47aae71157b
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.77@#d0829824c8c3b14792f2699f6a0eb422
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.86@#1b7aa7fd78438696b2c80128d688c006
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.84@#156446bfaae11689979370bb36df6007
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.76.1@#90b6309cfcf2f0a1dbe9982a089fca45
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.89@#6b4e3c298f127fe39b01017dfda8f241
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.72@#89030e3091e75f95bac0ad6b430b7907
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib
nss/3.83@#54a7e4a0c97ecca561b3f8302c614201
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libnssckbi-testlib.dylib, libnssckbi.dylib

@conan-center-bot

This comment has been minimized.

@valgur
Copy link
Contributor Author

valgur commented Nov 29, 2023

@RubenRBS Apparently the cross-building check was not necessary.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@valgur valgur mentioned this pull request Sep 10, 2024
3 tasks
Copy link
Contributor

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.

@github-actions github-actions bot added the stale label Oct 10, 2024
@conan-center-bot conan-center-bot added Missing dependencies Build failed due missing dependencies in Conan Center and removed stale labels Oct 10, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Warning

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

Failure in build 22 (779c901210f96a5d23e709e6ee814c03a77761db):

  • nss/3.104:
    CI failed to create some packages (All logs)

    Logs for packageID 61ebf2f17ffc58f35c901447785c48c914e48685:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    
    [...]
        tcl/8.6.10 from 'conan-center' - Downloaded
        tk/8.6.10 from 'conan-center' - Downloaded
        util-linux-libuuid/2.39.2 from 'conan-center' - Downloaded
        xorg/system from 'conan-center' - Downloaded
        xz_utils/5.4.5 from 'conan-center' - Downloaded
    Build requirements packages
        brotli/1.1.0:a75b81d8594a44d34a32f08564f32c5d06a912ea - Download
        bzip2/1.0.8:3df6ebb8a308d309e882b21988fd9ea103560e16 - Download
        cpython/3.12.2:689403d698ad8a6e7a5ed616ae7311e3a0e517de - Download
        expat/2.6.3:b025735bb0d121754b0b4aaae6c02d3b9546c56f - Download
        fontconfig/2.13.93:103f47a570e93cd83b8daec30a37c8982318b81f - Download
        freetype/2.13.2:bf05ac88aac1986abd35f257eeb0064299824400 - Download
        gdbm/1.23:9f6a5757a1dd11863d4b0ae3027ee9190bab5816 - Download
        libffi/3.4.4:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        libpng/1.6.44:b4e19c2a9f411079edce0e39c7f8fa0db025a2ad - Download
        libxcrypt/4.4.36:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        mpdecimal/2.5.1:3ba48d6bfc61d6958e872ba037eafcf0804d11b7 - Download
        ncurses/6.4:52c113e441a8157bb9acd43119f92dab45990f99 - Download
        ninja/1.12.1:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download
        openssl/3.3.2:288ceea1eccdb5f24f7075ead24b83b854b1d943 - Download
        tcl/8.6.10:d5204605bf864d4bd98fc6a9e624938e8e04ad03 - Download
        tk/8.6.10:162e0998c1c3e567ea54306fa726b90ab515d1ce - Missing
        util-linux-libuuid/2.39.2:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        xorg/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        xz_utils/5.4.5:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
    
    Installing (downloading, building) binaries...
    
    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 
    ERROR: Missing binary: tk/8.6.10:162e0998c1c3e567ea54306fa726b90ab515d1ce
    tk/8.6.10: WARN: Can't find a 'tk/8.6.10' package for the specified settings, options and dependencies:
    - Settings: arch=x86_64, build_type=Release, compiler=gcc, compiler.version=5, os=Linux
    - Options: fPIC=True, shared=False, brotli:enable_debug=False, brotli:enable_log=False, brotli:enable_portable=False, brotli:enable_rbit=True, brotli:endianness=None, brotli:fPIC=True, brotli:shared=False, brotli:target_bits=None, bzip2:build_executable=True, bzip2:fPIC=True, bzip2:shared=False, expat:char_type=char, expat:fPIC=True, expat:large_size=False, expat:shared=False, fontconfig:fPIC=True, fontconfig:shared=False, freetype:fPIC=True, freetype:shared=False, freetype:subpixel=False, freetype:with_brotli=True, freetype:with_bzip2=True, freetype:with_png=True, freetype:with_zlib=True, libpng:api_prefix=, libpng:fPIC=True, libpng:shared=False, libpng:sse=True, tcl:fPIC=True, tcl:shared=False, zlib:fPIC=True, zlib:shared=False
    - Dependencies: tcl/8.6.10, fontconfig/2.13.93, xorg/system
    - Requirements: fontconfig/2.Y.Z, tcl/8.Y.Z, xorg/system
    - Package ID: 162e0998c1c3e567ea54306fa726b90ab515d1ce
    
    ERROR: Missing prebuilt package for 'tk/8.6.10'
    Use 'conan search tk/8.6.10@ --table=table.html -r=remote' and open the table.html file to see available packages
    Or try to build locally from sources with '--build=tk'
    
    More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
    

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.

Failure in build 22 (779c901210f96a5d23e709e6ee814c03a77761db):

  • nss/3.104:
    CI failed to create some packages (All logs)

    Logs for packageID 88bb91212ea51c6b2a4c3d94eedd8cd93313a5ef:
    [settings]
    arch=armv8
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=True
    
    [...]
        m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Downloaded (conan-center)
        meson/1.2.2#21b73818ba96d9eea465b310b5bbc993 - Downloaded (conan-center)
        mpdecimal/2.5.0#ef7f121607e10372c07a668830887b79 - Downloaded (conan-center)
        ncurses/6.4#78908f3ed548f188cf15e415f8949f2f - Downloaded (conan-center)
        ninja/1.12.1#fd583651bf0c6a901943495d49878803 - Downloaded (conan-center)
        openssl/3.3.2#9f9f130d58e7c13e76bb8a559f0a6a8b - Downloaded (conan-center)
        pkgconf/2.0.3#f996677e96e61e6552d85e83756c328b - Downloaded (conan-center)
        pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Downloaded (conan-center)
        sqlite3/3.45.2#60f2d3278e7bc12c8ef02ac75119c137 - Downloaded (conan-center)
        tcl/8.6.10#d694cc97f48640f0d66aa90b16cdc5cd - Downloaded (conan-center)
        tk/8.6.10#1e8cbe0b5d8257de6bc6904da048766f - Downloaded (conan-center)
        xz_utils/5.4.5#b885d1d79c9d30cff3803f7f551dbe66 - Downloaded (conan-center)
        zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Downloaded (conan-center)
    Resolved version ranges
        expat/[>=2.6.2 <3]: expat/2.6.3
        ninja/[>=1.10.2 <2]: ninja/1.12.1
        openssl/[>=1.1 <4]: openssl/3.3.2
        zlib/[>=1.2.11 <2]: zlib/1.3.1
    
    ======== Computing necessary packages ========
    nss/3.104: Forced build from source
    Requirements
        nspr/4.35#782175b266f93ade4f45d915a33e03b1:fd770026dce0013a34f3a6e868c3213c7e82eb84 - Missing
        nss/3.104#aa5ac91e7e719399c1b2f167009e425a:88bb91212ea51c6b2a4c3d94eedd8cd93313a5ef - Build
        sqlite3/3.45.2#60f2d3278e7bc12c8ef02ac75119c137:d5c043ceb6aeb150e82e6a796d41f2ddd56f6454#80328a1e4b3e7af9335dff4bb3146156 - Download (conan-center)
        zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:a3c9d80d887539fac38b81ff8cd4585fe42027e0#515618e4a12062cffccdb3809b4d34ee - Download (conan-center)
    Build requirements
        cpython/3.12.2#68cb44d6d7eeb24578b1c942ce16a8cd:cb5c6be30cbf4f724cfcf6054138a93c4993cb22#0359898ae7a17c56d8d1e5a1f15e358b - Download (conan-center)
        ninja/1.12.1#fd583651bf0c6a901943495d49878803:617cae191537b47386c088e07b1822d8606b7e67#64e4f9c8e6ed8c3448c93db771b94ecc - Download (conan-center)
    Skipped binaries
        autoconf/2.71, automake/1.16.5, bison/3.8.2, bzip2/1.0.8, expat/2.6.3, flex/2.6.4, gdbm/1.23, gnu-config/cci.20210814, libffi/3.4.4, libtool/2.4.7, libxcrypt/4.4.36, m4/1.4.19, meson/1.2.2, mpdecimal/2.5.0, ncurses/6.4, openssl/3.3.2, pkgconf/2.0.3, pkgconf/2.1.0, sqlite3/3.45.2, tcl/8.6.10, tk/8.6.10, xz_utils/5.4.5, zlib/1.3.1
    ERROR: Missing binary: nspr/4.35:fd770026dce0013a34f3a6e868c3213c7e82eb84
    
    nspr/4.35: WARN: Can't find a 'nspr/4.35' package binary 'fd770026dce0013a34f3a6e868c3213c7e82eb84' for the configuration:
    [settings]
    arch=armv8
    build_type=Release
    compiler=apple-clang
    compiler.version=13
    os=Macos
    [options]
    shared=True
    with_mozilla=True
    
    ERROR: Missing prebuilt package for 'nspr/4.35'. You can try:
        - List all available packages using 'conan list "nspr/4.35:*" -r=remote'
        - Explain missing binaries: replace 'conan install ...' with 'conan graph explain ...'
        - Try to build locally from sources using the '--build=nspr/4.35' argument
    
    More Info at 'https://docs.conan.io/2/knowledge/faq.html#error-missing-prebuilt-package'
    

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.

Copy link
Contributor

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.

@github-actions github-actions bot added the stale label Nov 10, 2024
@valgur
Copy link
Contributor Author

valgur commented Nov 10, 2024

.

@github-actions github-actions bot removed the stale label Nov 11, 2024
@AbrilRBS AbrilRBS removed their assignment Dec 3, 2024
@valgur
Copy link
Contributor Author

valgur commented Dec 9, 2024

Please trigger the build (or do something about the ill-conceived absolute open PR limit - there's no way I'm going to close 90% of my open PRs just to make one line in some CI script happy).

This package is the only remaining blocker for QtWebEngine support on Linux for Qt6 on CCI.

@valgur valgur marked this pull request as ready for review December 9, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Failed Missing dependencies Build failed due missing dependencies in Conan Center
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants