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

clang 12.0.0 -- ld: unsupported tapi file type '!tapi-tbd' in YAML file .../libSystem.tbd #166

Closed
1 task done
jakirkham opened this issue Feb 25, 2022 · 3 comments
Closed
1 task done

Comments

@jakirkham
Copy link
Member

Issue:

Have started seeing this recently with clang version 12.0.0 and python version 3.10. Did not see this issue when using clang version 11.1.0. Also not seeing this with python version 3.9 or earlier (though appear to be getting clang version 12.0.1 in those cases). Not sure why clang version 12.0.1 is not getting installed with python version 3.10.

ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64

Environment (conda list):
name: env
channels:
  - conda-forge
  - defaults
dependencies:
  - bzip2=1.0.8=h0d85af4_4
  - c-compiler=1.4.0=h774085c_0
  - ca-certificates=2021.10.8=h033912b_0
  - cctools=949.0.1=h9abeeb2_23
  - cctools_osx-64=949.0.1=hc7db93f_23
  - clang=12.0.0=hecd8cb5_2
  - clang-12=12.0.0=default_hfcad0e5_2
  - clang_osx-64=12.0.0=h7ad7729_2
  - clangxx=12.0.0=default_hfcad0e5_2
  - clangxx_osx-64=12.0.0=he0c6f94_2
  - compiler-rt=12.0.0=hd87ff74_2
  - compiler-rt_osx-64=12.0.0=hfb26b64_2
  - compilers=1.4.0=h694c41f_0
  - cxx-compiler=1.4.0=hbb4e6a2_0
  - fortran-compiler=1.4.0=h46a1860_0
  - gfortran=9.3.0=h768ea0c_15
  - gfortran_impl_osx-64=9.3.0=h9cc0e5e_23
  - gfortran_osx-64=9.3.0=h18f7dce_15
  - gmp=6.2.1=h2e338ed_0
  - isl=0.22.1=hb1e8313_2
  - ld64=530=h20443b4_23
  - ld64_osx-64=530=h70f3046_23
  - ldid=2.1.2=h6a69015_3
  - libclang-cpp12=12.0.0=default_hfcad0e5_2
  - libcxx=12.0.1=habf9029_1
  - libffi=3.3=h046ec9c_2
  - libgfortran=5.0.0=9_3_0_h6c81a4c_23
  - libgfortran-devel_osx-64=9.3.0=h6c81a4c_23
  - libgfortran5=9.3.0=h6c81a4c_23
  - libiconv=1.16=haf1e3a3_0
  - libllvm12=12.0.0=h9b2ccf5_3
  - libzlib=1.2.11=h9173be1_1013
  - llvm-openmp=13.0.1=hda6cdc1_0
  - llvm-tools=12.0.0=h9b2ccf5_3
  - mpc=1.2.1=hbb51d92_0
  - mpfr=4.1.0=h0f52abe_1
  - ncurses=6.3=he49afe7_0
  - openssl=1.1.1l=h0d85af4_0
  - pip=22.0.3=pyhd8ed1ab_0
  - python=3.10.0=hdfd78df_3
  - python_abi=3.10=2_cp310
  - readline=8.1=h05e3726_0
  - setuptools=60.9.3=py310h2ec42d9_0
  - sqlite=3.37.0=h23a322b_0
  - tapi=1000.10.8=ha1b3eb9_0
  - tk=8.6.12=h5dbffcc_0
  - tzdata=2021e=he74cb21_0
  - wheel=0.37.1=pyhd8ed1ab_0
  - xz=5.2.5=haf1e3a3_1
  - zlib=1.2.11=h9173be1_1013
  - pip:
    - attrs==21.4.0
    - certifi==2021.10.8
    - charset-normalizer==2.0.12
    - coverage==6.3.2
    - coveralls==3.3.1
    - cython==0.29.28
    - distlib==0.3.4
    - docopt==0.6.2
    - entrypoints==0.4
    - filelock==3.6.0
    - flake8==4.0.1
    - idna==3.3
    - iniconfig==1.1.1
    - mccabe==0.6.1
    - msgpack==1.0.3
    - numpy==1.22.2
    - packaging==21.3
    - platformdirs==2.5.1
    - pluggy==1.0.0
    - py==1.11.0
    - pycodestyle==2.8.0
    - pyflakes==2.4.0
    - pyparsing==3.0.7
    - pytest==7.0.1
    - pytest-cov==3.0.0
    - requests==2.27.1
    - setuptools-scm==6.4.2
    - six==1.16.0
    - toml==0.10.2
    - tomli==2.0.1
    - tox==3.24.5
    - urllib3==1.26.8
    - virtualenv==20.13.2
prefix: /usr/local/miniconda/envs/env

Details about conda and system ( conda info ):

Using conda-incubator/setup-miniconda@master

@jakirkham
Copy link
Member Author

Forcing clang version 12.0.1 fixes the issue. That said, am unclear on why 12.0.0 is picked up instead of 12.0.1 in this case.

@isuruf
Copy link
Member

isuruf commented May 25, 2022

Linked log shows ld64 being used from defaults. That was the issue.

@isuruf isuruf closed this as completed May 25, 2022
@jakirkham
Copy link
Member Author

jakirkham commented May 25, 2022

Only conda-forge is specified here

Perhaps conda-incubator/setup-miniconda needs some other configuration we are missing

Edit: Looks like it is issue ( conda-incubator/setup-miniconda#207 )

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

2 participants