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

qt5: reduce disk space usage #15695

Closed
wants to merge 1 commit into from

Conversation

ericLemanissier
Copy link
Contributor

@ericLemanissier ericLemanissier commented Feb 3, 2023

Specify library name and version: qt/5.*


@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2023

🤖 Beep Boop! This pull request is making changes to 'recipes/qt//'.

👋 @ericLemanissier you might be interested. 😉

@ghost
Copy link

ghost commented Feb 3, 2023

I detected other pull requests that are modifying qt/5.x.x recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@jcar87
Copy link
Contributor

jcar87 commented Feb 3, 2023

Hi @ericLemanissier - thanks for looking into this. Please remember to update the PR description (or maybe comments on the recipe itself), explaining what's the purpose of -optimized-tools and how it relates to the disk space issue. If you could provide solid evidence of how disk-space usage is impacted before and after this flag, that would be hugely appreciated.

@ericLemanissier
Copy link
Contributor Author

Yes, let us first wait and see if the disk space problem is actually solved by this

@ericLemanissier
Copy link
Contributor Author

This accomplishes nothing, tools are optimized by default

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 2 (126a4baf0f300fdf57fd4b4d84edfc848416ea35):

  • qt/5.15.8@:
    CI failed to create some packages (All logs)

    Logs for packageID a5e4204c67ab84c3f8bba263f4c853a41884c41f:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MD
    compiler.version=16
    os=Windows
    [options]
    qt:shared=True
    
    [...]
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    openssl/1.1.1s: Package installed 3fb49604f9c2f729b85ba3115852006824e72cab
    openssl/1.1.1s: Downloaded package revision 0c06a80f6128f220e197ac1b8ae9d5ca
    sqlite3/3.39.4: Retrieving package 1cb7125758648b3fd39bd045f772ec43fd26f71a from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    sqlite3/3.39.4: Package installed 1cb7125758648b3fd39bd045f772ec43fd26f71a
    sqlite3/3.39.4: Downloaded package revision 39b805430fd22e42202b9424229b5fec
    zlib/1.2.13: Retrieving package 3fb49604f9c2f729b85ba3115852006824e72cab from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    zlib/1.2.13: Package installed 3fb49604f9c2f729b85ba3115852006824e72cab
    zlib/1.2.13: Downloaded package revision af3348b4caca1d82c42531a352a4cc25
    zstd/1.5.2: Retrieving package 72381fc5a05da7a9f5e4d254cd58aa074c20b053 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    zstd/1.5.2: Package installed 72381fc5a05da7a9f5e4d254cd58aa074c20b053
    zstd/1.5.2: Downloaded package revision e22687c56220fc5609a3e9f6e5df1d29
    libpng/1.6.39: Retrieving package ce650d9f1f1c1c0839cf0694a55c1351ddbed859 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    libpng/1.6.39: Package installed ce650d9f1f1c1c0839cf0694a55c1351ddbed859
    libpng/1.6.39: Downloaded package revision 589c9b8a60108777bd06f53ad64f3866
    pcre2/10.40: Retrieving package 4958b335ae23c49b138435b977645c6c321f9662 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    pcre2/10.40: Package installed 4958b335ae23c49b138435b977645c6c321f9662
    pcre2/10.40: Downloaded package revision f40aea60cd6c060168fd7d6afb1524cd
    freetype/2.12.1: Retrieving package 27b2733304cef577b19f699fec3a5bdbefb36d16 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    freetype/2.12.1: Package installed 27b2733304cef577b19f699fec3a5bdbefb36d16
    freetype/2.12.1: Downloaded package revision 02a330083f43c7d9cb9411e8d35dc7a6
    md4c/0.4.8: Appending PATH environment variable: C:\J\w\prod\BuildSingleReference@5\.conan\data\md4c\0.4.8\_\_\package\2ec80560d72e835e8539fd021f88f9133aaea932\bin
    sqlite3/3.39.4: Appending PATH env var with : C:\J\w\prod\BuildSingleReference@5\.conan\data\sqlite3\3.39.4\_\_\package\1cb7125758648b3fd39bd045f772ec43fd26f71a\bin
    pcre2/10.40: Appending PATH environment variable: C:\J\w\prod\BuildSingleReference@5\.conan\data\pcre2\10.40\_\_\package\4958b335ae23c49b138435b977645c6c321f9662\bin
    qt/5.15.8: Applying build-requirement: jom/1.1.3
    [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK
    qt/5.15.8: Configuring sources in C:\J\w\prod\BuildSingleReference@5/s\5eec5f\1
    qt/5.15.8: 
    ERROR: qt/5.15.8: Error in source() method, line 442
    	strip_root=True, destination="qt5")
    	OSError: [Errno 28] No space left on device
    
  • qt/5.15.7@:
    Didn't run or was cancelled before finishing

  • qt/5.15.6@:
    Didn't run or was cancelled before finishing

  • qt/5.15.5@:
    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 (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 2 (126a4baf0f300fdf57fd4b4d84edfc848416ea35):

  • qt/5.15.8@:
    Error running command conan export --name qt --version 5.15.8 recipes/qt/5.x.x/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15695/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15695/recipes/qt/5.x.x/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-15695/recipes/qt/5.x.x/conanfile.py", line 8, in <module>
        from conans import tools, RunEnvironment
    ImportError: cannot import name 'tools' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • qt/5.15.7@:
    Error running command conan export --name qt --version 5.15.7 recipes/qt/5.x.x/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15695/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15695/recipes/qt/5.x.x/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-15695/recipes/qt/5.x.x/conanfile.py", line 8, in <module>
        from conans import tools, RunEnvironment
    ImportError: cannot import name 'tools' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • qt/5.15.6@:
    Error running command conan export --name qt --version 5.15.6 recipes/qt/5.x.x/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15695/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15695/recipes/qt/5.x.x/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-15695/recipes/qt/5.x.x/conanfile.py", line 8, in <module>
        from conans import tools, RunEnvironment
    ImportError: cannot import name 'tools' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • qt/5.15.5@:
    Error running command conan export --name qt --version 5.15.5 recipes/qt/5.x.x/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15695/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15695/recipes/qt/5.x.x/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-15695/recipes/qt/5.x.x/conanfile.py", line 8, in <module>
        from conans import tools, RunEnvironment
    ImportError: cannot import name 'tools' 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants