conda-forge / pyqt-feedstock

A conda-smithy repository for pyqt.
BSD 3-Clause "New" or "Revised" License
5 stars 35 forks source link

OS X is failing with `osx_image: xcode6.4` #15

Closed ocefpaf closed 6 years ago

ocefpaf commented 7 years ago
g++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -o qtdirs.app/Contents/MacOS/qtdirs qtdirs.o    -L/Users/travis/miniconda3/conda-bld/recipe_1486536904915/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib -lQtCore -L/Users/travis/miniconda3/conda-bld/recipe_1486536904915/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib 
ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [qtdirs.app/Contents/MacOS/qtdirs] Error 1
Error: Failed to determine the layout of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.

Full log: https://travis-ci.org/conda-forge/pyqt-feedstock/jobs/199237751

ccordoba12 commented 7 years ago

... -mmacosx-version-min=10.5 ... ld: library not found for -lgcc_s.10.5

This seems the problem: the recipe is trying to compile for 10.5 but that seems too old for XCode 6.4.

jakirkham commented 7 years ago

IIRC this is hard coded in PyQt4. We might need to patch it to fix this.

jakirkham commented 7 years ago

Not sure whether this was an issue with PyQt4 or PyQ5, but both are passing now and both build on the xcode6.4 image.

ref: https://travis-ci.org/conda-forge/pyqt-feedstock/builds/221397026 ref: https://travis-ci.org/conda-forge/pyqt-feedstock/builds/225311097