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

Fix "Unknown format" / "Failed to get_static_lib_exports" messages #4850

Merged
merged 12 commits into from
May 23, 2023

Conversation

rfezzani
Copy link
Contributor

@rfezzani rfezzani commented Apr 14, 2023

Description

Fixes #4806

This PR

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot
Copy link
Contributor

We require contributors to sign our Contributor License Agreement and we don't have one on file for @rfezzani.

In order for us to review and merge your code, please e-sign the Contributor License Agreement PDF. We then need to manually verify your signature. We will ping the bot to refresh the PR status when we have confirmed your signature.

@rfezzani
Copy link
Contributor Author

@mingwandroid, can you please confirm that the modification of the enable_static in #4120 default value is unintentional?

@rfezzani
Copy link
Contributor Author

Is there any core contributor that can assert that I signed the contributor license agreement? Thanks in advance 🙏

@rfezzani
Copy link
Contributor Author

rfezzani commented May 2, 2023

Gentle up! 🙂

@jezdez
Copy link
Member

jezdez commented May 3, 2023

@conda-bot check

@jezdez jezdez added this to the 3.25.0 milestone May 3, 2023
@jezdez
Copy link
Member

jezdez commented May 3, 2023

@conda-bot check

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label May 3, 2023
@rfezzani
Copy link
Contributor Author

rfezzani commented May 3, 2023

Thank you @jezdez for the review 😉

@@ -50,7 +50,7 @@ def set_invocation_time():
error_overlinking_default = "false"
error_overdepending_default = "false"
noarch_python_build_age_default = 0
enable_static_default = "true"
enable_static_default = "false"
Copy link
Member

Choose a reason for hiding this comment

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

😵‍💫

@jezdez
Copy link
Member

jezdez commented May 8, 2023

@rfezzani Any idea why the one test on Python 3.10 is failing?

@rfezzani
Copy link
Contributor Author

@rfezzani Any idea why the one test on Python 3.10 is failing?

I have absolutely no idea, but I will investigate 😉

@rfezzani
Copy link
Contributor Author

The CI failure occurs in the test_api_convert::test_convert_from_unix_to_win_creates_entry_points test:

fn = api.build(recipe_dir, config=testing_config)[0]

with the following messages 2023-05-04T10:03:08.5709520Z conda.CondaMultiError: The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.5712620Z appears to be corrupted. The path 'bin/test-script' 2023-05-04T10:03:08.5714150Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.5814750Z 2023-05-04T10:03:08.5915850Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.5965140Z appears to be corrupted. The path 'bin/test-script-manual' 2023-05-04T10:03:08.6011230Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.6025450Z 2023-05-04T10:03:08.6127420Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.6228980Z appears to be corrupted. The path 'bin/test-script-manual-postfix' 2023-05-04T10:03:08.6291470Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.6343640Z 2023-05-04T10:03:08.6358250Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.6459610Z appears to be corrupted. The path 'bin/test-script-setup.py' 2023-05-04T10:03:08.6560320Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.6661250Z 2023-05-04T10:03:08.6736070Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.6768560Z appears to be corrupted. The path 'lib/python3.10/site-packages/conda_build_test/__init__.py' 2023-05-04T10:03:08.6869130Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.6969870Z 2023-05-04T10:03:08.7071490Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.7178000Z appears to be corrupted. The path 'lib/python3.10/site-packages/conda_build_test/__pycache__/__init__.cpython-310.pyc' 2023-05-04T10:03:08.7178960Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.7224360Z 2023-05-04T10:03:08.7298200Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.7401670Z appears to be corrupted. The path 'lib/python3.10/site-packages/conda_build_test/__pycache__/empty.cpython-310.pyc' 2023-05-04T10:03:08.7504610Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.7557980Z 2023-05-04T10:03:08.7616560Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.7634840Z appears to be corrupted. The path 'lib/python3.10/site-packages/conda_build_test/__pycache__/manual_entry.cpython-310.pyc' 2023-05-04T10:03:08.7736280Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.7837200Z 2023-05-04T10:03:08.7938750Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.8040430Z appears to be corrupted. The path 'lib/python3.10/site-packages/conda_build_test/empty.py' 2023-05-04T10:03:08.8140810Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.8207960Z 2023-05-04T10:03:08.8307300Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.8369080Z appears to be corrupted. The path 'lib/python3.10/site-packages/conda_build_test/manual_entry.py' 2023-05-04T10:03:08.8415670Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.8518280Z 2023-05-04T10:03:08.8523760Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.8626020Z appears to be corrupted. The path 'lib/python3.10/site-packages/conda_build_test_project-1.0-py3.10.egg-info/PKG-INFO' 2023-05-04T10:03:08.8728080Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.8757860Z 2023-05-04T10:03:08.8762560Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.8864500Z appears to be corrupted. The path 'lib/python3.10/site-packages/conda_build_test_project-1.0-py3.10.egg-info/SOURCES.txt' 2023-05-04T10:03:08.8964370Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.9023080Z 2023-05-04T10:03:08.9078280Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.9113490Z appears to be corrupted. The path 'lib/python3.10/site-packages/conda_build_test_project-1.0-py3.10.egg-info/dependency_links.txt' 2023-05-04T10:03:08.9199920Z specified in the package manifest cannot be found. 2023-05-04T10:03:08.9291700Z 2023-05-04T10:03:08.9318690Z The package for conda-build-test-entry-points located at /Users/runner/conda_pkgs_dir/conda-build-test-entry-points-1.0-py310_0 2023-05-04T10:03:08.9351240Z appears to be corrupted. The path 'lib/python3.10/site-packages/conda_build_test_project-1.0-py3.10.egg-info/top_level.txt' 2023-05-04T10:03:08.9371840Z specified in the package manifest cannot be found.
I can't explain the root cause of the problem 😕

@rfezzani
Copy link
Contributor Author

One last detail, the failing platform is macos 3.10 parallel!

@rfezzani
Copy link
Contributor Author

CI seems broken 😭

@rfezzani
Copy link
Contributor Author

CI is green again 🎉 Thx @kenodegard

@jezdez jezdez modified the milestones: 3.25.0, Release TBD May 22, 2023
@kenodegard kenodegard modified the milestones: Release TBD, 3.26.0 May 23, 2023
@kenodegard kenodegard merged commit 4e57bb2 into conda:main May 23, 2023
@github-actions github-actions bot added the locked [bot] locked due to inactivity label May 23, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed [bot] added once the contributor has signed the CLA locked [bot] locked due to inactivity
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

"Unknown format" / "Failed to get_static_lib_exports" messages
4 participants