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

generate-conda-packages fails on macOS with Segmentation fault error #1250

Closed
traversaro opened this issue Sep 6, 2022 · 4 comments
Closed

Comments

@traversaro
Copy link
Member

traversaro commented Sep 6, 2022

Error 1:

2022-08-30T09:34:16.2311810Z Packaging icub-main
2022-08-30T09:34:17.1629180Z INFO:conda_build.build:Packaging icub-main-1.26.1-py310h522bd16_65
2022-08-30T09:34:17.1629660Z Packaging icub-main-1.26.1-py310h522bd16_65
2022-08-30T09:34:26.1786120Z The install/build script(s) for icub-main deleted the following files (from dependencies) from the prefix:
2022-08-30T09:34:26.1786650Z ['lib/plugin/libfido2.1.dylib']
2022-08-30T09:34:26.1787200Z This will cause the post-link checks to mis-report. Please try not to delete and files (DSOs in particular) from the prefix
2022-08-30T09:34:26.1787850Z WARNING:conda_build.build:The install/build script(s) for icub-main deleted the following files (from dependencies) from the prefix:
2022-08-30T09:34:26.1788300Z ['lib/plugin/libfido2.1.dylib']
2022-08-30T09:34:26.1788820Z This will cause the post-link checks to mis-report. Please try not to delete and files (DSOs in particular) from the prefix
2022-08-30T09:35:15.1279930Z /Users/runner/.profile: line 14: 88001 Segmentation fault: 11  "$CONDA_EXE" $_CE_M $_CE_CONDA "$@"
2022-08-30T09:35:15.1329890Z /usr/local/miniconda/envs/test/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
2022-08-30T09:35:15.1331250Z   warnings.warn('resource_tracker: There appear to be %d '
2022-08-30T09:35:15.1398230Z ##[error]Process completed with exit code 139.
2022-08-30T09:35:15.1559480Z Post job cleanup.

Error 2 from https://github.com/robotology/robotology-superbuild/runs/8197688614 :

2022-09-06T03:16:54.7982510Z CMake Warning:
2022-09-06T03:16:54.8712530Z   Manually-specified variables were not used by the project:
2022-09-06T03:16:54.8909570Z 
2022-09-06T03:16:54.8966050Z     CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP
2022-09-06T03:16:54.9067230Z     Matlab_MEX_EXTENSION
2022-09-06T03:16:54.9082230Z     Matlab_ROOT_DIR
2022-09-06T03:16:54.9082970Z 
2022-09-06T03:16:54.9083570Z 
2022-09-06T03:27:05.4036980Z /Users/runner/.profile: line 14: 14816 Segmentation fault: 11  "$CONDA_EXE" $_CE_M $_CE_CONDA "$@"
2022-09-06T03:27:05.4498780Z /usr/local/miniconda/envs/test/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
2022-09-06T03:27:05.4500150Z   warnings.warn('resource_tracker: There appear to be %d '
2022-09-06T03:27:05.4562170Z ##[error]Process completed with exit code 139.
@traversaro
Copy link
Member Author

See conda-forge/conda-forge.github.io#1823 for the conda-forge upstream bug.

@traversaro
Copy link
Member Author

traversaro commented Sep 21, 2022

I tried a workaround in e8559ce, let's see if it works:
https://github.com/robotology/robotology-superbuild/actions/runs/3098808781

The workaround pins lief to 0.11.5 instead of 0.12.2 (see conda-forge/conda-forge.github.io#1823 (comment)).

@traversaro
Copy link
Member Author

The workaround worked fine, let's suggest it in a PR.

@traversaro
Copy link
Member Author

The workaround works fine for robotology-superbuild, and the actual problem is tracked in conda-forge/conda-forge.github.io#1823 . I think we can close this issue.

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

No branches or pull requests

1 participant