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

Add linuxdeploy recipe #15600

Closed
wants to merge 10 commits into from
Closed

Add linuxdeploy recipe #15600

wants to merge 10 commits into from

Conversation

Nomalah
Copy link
Contributor

@Nomalah Nomalah commented Jan 31, 2023

Specify library name and version: linuxdeploy/cci.20221114

linuxdeploy is a tool to build AppDirs for Linux. It is required for linuxdeploy-plugin-qt (which packages qt elements), and linuxdeploy-plugin-appimage (which turns AppDirs into AppImages).


@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@Nomalah
Copy link
Contributor Author

Nomalah commented Feb 1, 2023

Failing due to patchelf.

@Nomalah
Copy link
Contributor Author

Nomalah commented Feb 2, 2023

Waiting on #12915. @sfackler, any progress on this? I'm not entirely sure what the error you're experiencing is...

@sfackler
Copy link
Contributor

sfackler commented Feb 2, 2023

It's blocked on the Conan maintainers fixing the check.

@stale
Copy link

stale bot commented Mar 11, 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.

@stale stale bot added the stale label Mar 11, 2023
@Nomalah Nomalah closed this Mar 12, 2023
@Nomalah Nomalah reopened this Mar 12, 2023
@stale stale bot removed the stale label Mar 12, 2023
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 10 (16d6ce9dca78e6e50513f2e38b4c9ebc9064f884):

  • linuxdeploy/cci.20221114@:
    CI failed to create some packages (All logs)

    Logs for packageID cddacacf1fd8491e380004c5a1dea334170cd15c:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=8
    os=Linux
    [options]
    linuxdeploy:shared=False
    
    [...]
    plugin.cpp:(.text+0x11ce): undefined reference to `std::filesystem::absolute(std::filesystem::__cxx11::path const&)'
    plugin.cpp:(.text+0x11d6): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
    plugin.cpp:(.text+0x1280): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
    plugin.cpp:(.text+0x12af): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
    plugin.cpp:(.text+0x12dc): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
    plugin.cpp:(.text+0x12e4): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
    plugin.cpp:(.text+0x1332): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
    plugin.cpp:(.text+0x1384): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
    plugin.cpp:(.text+0x14e1): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
    plugin.cpp:(.text+0x17ca): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
    plugin.cpp:(.text+0x184a): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
    plugin/liblinuxdeploy_plugin.a(plugin.cpp.o):plugin.cpp:(.text.unlikely+0x128): more undefined references to `std::filesystem::__cxx11::directory_iterator::operator*() const' follow
    plugin/liblinuxdeploy_plugin.a(plugin_type0.cpp.o): In function `linuxdeploy::plugin::base::PluginBase<0>::PrivateData::PrivateData(std::filesystem::__cxx11::path const&)':
    plugin_type0.cpp:(.text._ZN11linuxdeploy6plugin4base10PluginBaseILi0EE11PrivateDataC2ERKNSt10filesystem7__cxx114pathE[_ZN11linuxdeploy6plugin4base10PluginBaseILi0EE11PrivateDataC5ERKNSt10filesystem7__cxx114pathE]+0x47): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
    plugin/liblinuxdeploy_plugin.a(plugin_process_handler.cpp.o): In function `linuxdeploy::plugin::plugin_process_handler::plugin_process_handler(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::filesystem::__cxx11::path)':
    plugin_process_handler.cpp:(.text+0x17e): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
    plugin_process_handler.cpp:(.text+0x18d): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
    core/copyright/liblinuxdeploy_core_copyright.a(copyright.cpp.o): In function `linuxdeploy::core::copyright::ICopyrightFilesManager::getInstance()':
    copyright.cpp:(.text+0x638): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
    copyright.cpp:(.text+0x640): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
    copyright.cpp:(.text+0x7ba): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
    copyright.cpp:(.text+0x7d0): undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)'
    copyright.cpp:(.text+0x867): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
    copyright.cpp:(.text+0x9b2): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
    copyright.cpp:(.text+0xa15): undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
    copyright.cpp:(.text+0x10fc): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
    copyright.cpp:(.text+0x118d): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
    core/copyright/liblinuxdeploy_core_copyright.a(copyright_dpkgquery.cpp.o): In function `linuxdeploy::core::copyright::DpkgQueryCopyrightFilesManager::getCopyrightFilesForPath(std::filesystem::__cxx11::path const&)':
    copyright_dpkgquery.cpp:(.text+0x597): undefined reference to `std::filesystem::canonical(std::filesystem::__cxx11::path const&)'
    copyright_dpkgquery.cpp:(.text+0xc12): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
    copyright_dpkgquery.cpp:(.text+0xc69): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
    copyright_dpkgquery.cpp:(.text+0xcdd): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
    copyright_dpkgquery.cpp:(.text+0xdf4): undefined reference to `std::filesystem::__cxx11::path::has_root_directory() const'
    copyright_dpkgquery.cpp:(.text+0xf4c): undefined reference to `std::filesystem::__cxx11::path::has_root_directory() const'
    copyright_dpkgquery.cpp:(.text+0x114b): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
    copyright_dpkgquery.cpp:(.text+0x136e): undefined reference to `std::filesystem::__cxx11::path::has_filename() const'
    copyright_dpkgquery.cpp:(.text+0x1407): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
    copyright_dpkgquery.cpp:(.text+0x1416): undefined reference to `std::filesystem::__cxx11::path::has_filename() const'
    copyright_dpkgquery.cpp:(.text+0x14af): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
    collect2: error: ld returned 1 exit status
    make[2]: *** [src/linuxdeploy] Error 1
    make[1]: *** [src/CMakeFiles/linuxdeploy.dir/all] Error 2
    make: *** [all] Error 2
    linuxdeploy/cci.20221114: 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
    linuxdeploy/cci.20221114: 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
    linuxdeploy/cci.20221114: ERROR: Package 'cddacacf1fd8491e380004c5a1dea334170cd15c' build failed
    linuxdeploy/cci.20221114: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/linuxdeploy/cci.20221114/_/_/build/cddacacf1fd8491e380004c5a1dea334170cd15c/build/Release
    ERROR: linuxdeploy/cci.20221114: Error in build() method, line 82
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/linuxdeploy/cci.20221114/_/_/build/cddacacf1fd8491e380004c5a1dea334170cd15c/build/Release" '--' '-j3'
    

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 (informative, not required for merge) ❌

Note: Conan v2 builds are informative and they are not required for the PR to be merged.

The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future.

See details:

Failure in build 11 (16d6ce9dca78e6e50513f2e38b4c9ebc9064f884):

  • linuxdeploy/cci.20221114@:
    Error running command conan graph info --requires linuxdeploy/cci.20221114@#68d2844c15ce5868925d5f021387ca47 -f json -pr:h /home/conan/w/prod-v2_cci_PR-15600/11/4defc507-ecff-4e97-a2b2-d6e39fdd0af3/profile_linux_11_libstdcpp11_gnu17_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-15600/11/4defc507-ecff-4e97-a2b2-d6e39fdd0af3/profile_linux_11_libstdcpp11_gnu17_gcc_release_64.-shared-False.txt:
    ======== Computing dependency graph ========
    xorg/system: Not found in local cache, looking in remotes...
    xorg/system: Checking remote: conan-center
    xorg/system: Downloaded recipe revision 76c55c475d495bb7603cce89eb36ca2a
    patchelf/0.13: Not found in local cache, looking in remotes...
    patchelf/0.13: Checking remote: conan-center
    Decompressing conan_export.tgz
    patchelf/0.13: Downloaded recipe revision 6079b5543a58519f8d771768d589cbdb
    Graph root
        cli
    Requirements
        linuxdeploy/cci.20221114#68d2844c15ce5868925d5f021387ca47 - Cache
        xorg/system#76c55c475d495bb7603cce89eb36ca2a - Downloaded (conan-center)
    Graph error
        Package 'patchelf/0.13' not resolved: patchelf/0.13: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15600/p/patch3aa5a19fe1ae0/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15600/p/patch3aa5a19fe1ae0/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-15600/p/patch3aa5a19fe1ae0/e/conanfile.py", line 1, in <module>
        from conans import ConanFile, AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
    *********************************************************
    Recipe 'patchelf/0.13' seems broken.
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
    If it is your recipe, check it is updated to 2.0
    *********************************************************
    
    ERROR: Package 'patchelf/0.13' not resolved: patchelf/0.13: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15600/p/patch3aa5a19fe1ae0/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15600/p/patch3aa5a19fe1ae0/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-15600/p/patch3aa5a19fe1ae0/e/conanfile.py", line 1, in <module>
        from conans import ConanFile, AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    

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 Apr 11, 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.

@stale stale bot added the stale label Apr 11, 2023
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@stale stale bot removed the stale label May 18, 2023
@stale
Copy link

stale bot commented Jun 18, 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.

@stale stale bot added the stale label Jun 18, 2023
@stale
Copy link

stale bot commented Aug 10, 2023

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

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.

4 participants