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

Facing problem in building wheels using github actions #179

Open
Earammak opened this issue Feb 27, 2023 · 1 comment
Open

Facing problem in building wheels using github actions #179

Earammak opened this issue Feb 27, 2023 · 1 comment
Labels

Comments

@Earammak
Copy link

Earammak commented Feb 27, 2023

Describe the bug
This is regarding we are building a wheels from ci server.
For macos we could see the following error:

  + delocate-wheel --require-archs x86_64 -w /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-uvqi31y6/cp311-macosx_x86_64/repaired_wheel -v /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-uvqi31y6/cp311-macosx_x86_64/built_wheel/ibm_db_wheel-0.0.1-cp311-cp311-macosx_10_15_x86_64.whl
  ERROR:delocate.libsana:
  /usr/local/lib/gcc/8/libstdc++.6.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2.dylib
  ERROR:delocate.libsana:
  /usr/local/lib/gcc/8/libgcc_s.1.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2.dylib
  ERROR:delocate.libsana:
  /usr/local/lib/gcc/8/libstdc++.6.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2.dylib
  ERROR:delocate.libsana:/usr/local/lib/gcc/8/libstdc++.6.dylib not found, requested by /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2.dylib
  ERROR:delocate.libsana:
  /usr/local/lib/gcc/8/libgcc_s.1.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2.dylib
  ERROR:delocate.libsana:/usr/local/lib/gcc/8/libgcc_s.1.dylib not found, requested by /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2.dylib
  ERROR:delocate.libsana:
  /usr/local/lib/gcc/8/libstdc++.6.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2clixml4c.dylib
  ERROR:delocate.libsana:
  /usr/local/lib/gcc/8/libgcc_s.1.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2clixml4c.dylib
  ERROR:delocate.libsana:
  /usr/local/lib/gcc/8/libstdc++.6.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2clixml4c.dylib
  ERROR:delocate.libsana:/usr/local/lib/gcc/8/libstdc++.6.dylib not found, requested by /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2clixml4c.dylib
  ERROR:delocate.libsana:
  /usr/local/lib/gcc/8/libgcc_s.1.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2clixml4c.dylib
  ERROR:delocate.libsana:/usr/local/lib/gcc/8/libgcc_s.1.dylib not found, requested by /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/lib/libdb2clixml4c.dylib
  ERROR:delocate.libsana:
  /usr/local/opt/gcc@8/lib/gcc/8/libstdc++.6.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/security64/plugin/IBM/client/IBMIAMauth.dylib
  ERROR:delocate.libsana:
  /usr/local/lib/gcc/8/libgcc_s.1.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/security64/plugin/IBM/client/IBMIAMauth.dylib
  ERROR:delocate.libsana:
  /usr/local/opt/gcc@8/lib/gcc/8/libstdc++.6.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/security64/plugin/IBM/client/IBMIAMauth.dylib
  ERROR:delocate.libsana:/usr/local/opt/gcc@8/lib/gcc/8/libstdc++.6.dylib not found, requested by /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/security64/plugin/IBM/client/IBMIAMauth.dylib
  ERROR:delocate.libsana:
  /usr/local/lib/gcc/8/libgcc_s.1.dylib not found:
    Needed by: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/security64/plugin/IBM/client/IBMIAMauth.dylib
  ERROR:delocate.libsana:/usr/local/lib/gcc/8/libgcc_s.1.dylib not found, requested by /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpx3aasy2z/wheel/clidriver/security64/plugin/IBM/client/IBMIAMauth.dylib
  Fixing: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-uvqi31y6/cp311-macosx_x86_64/built_wheel/ibm_db_wheel-0.0.1-cp311-cp311-macosx_10_15_x86_64.whl
  Traceback (most recent call last):
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-uvqi31y6/cp311-macosx_x86_64/build/venv/bin/delocate-wheel", line 8, in <module>
      sys.exit(main())
               ^^^^^^
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-uvqi31y6/cp311-macosx_x86_64/build/venv/lib/python3.11/site-packages/delocate/cmd/delocate_wheel.py", line 127, in main
      copied = delocate_wheel(
               ^^^^^^^^^^^^^^^
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-uvqi31y6/cp311-macosx_x86_64/build/venv/lib/python3.11/site-packages/delocate/delocating.py", line 645, in delocate_wheel
      copied_libs = delocate_path(
                    ^^^^^^^^^^^^^^
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-uvqi31y6/cp311-macosx_x86_64/build/venv/lib/python3.11/site-packages/delocate/delocating.py", line 466, in delocate_path
      lib_dict = tree_libs_from_directory(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-uvqi31y6/cp311-macosx_x86_64/build/venv/lib/python3.11/site-packages/delocate/libsana.py", line 380, in tree_libs_from_directory
      return _tree_libs_from_libraries(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-uvqi31y6/cp311-macosx_x86_64/build/venv/lib/python3.11/site-packages/delocate/libsana.py", line 321, in _tree_libs_from_libraries
      raise delocate.delocating.DelocationError(
  delocate.delocating.DelocationError: Could not find all dependencies.
                                                             ✕ 41.37s
Error: Command delocate-wheel --require-archs x86_64 -w /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-uvqi31y6/cp311-macosx_x86_64/repaired_wheel -v /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-uvqi31y6/cp311-macosx_x86_64/built_wheel/ibm_db_wheel-0.0.1-cp311-cp311-macosx_10_15_x86_64.whl failed with code 1. None

Platform (please complete the following information):
OS version: macOS 12
Delocate version: 0.10.4

Kindly help us in resolving this from github actiond server.
Thanks

@Earammak Earammak added the bug label Feb 27, 2023
@quantumgizmos
Copy link

quantumgizmos commented Sep 26, 2023

@Earammak I'm experiencing this problem for Apple Silicon Wheels too. Did you find a solution?

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

No branches or pull requests

2 participants