Error when building 1.2.0 for iOS #554

Open
opened 2026-01-29 20:45:45 +00:00 by claunia · 0 comments
Owner

Originally created by @radarhere on GitHub (Oct 31, 2025).

When building 1.2.0, but not 1.1.0, I received an error - https://github.com/radarhere/Pillow/actions/runs/18856549681/job/53805755475#step:5:7929

-- The C compiler identification is AppleClang 17.0.0.17000013
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Setting build type to Release as none was specified
-- Performing Test BROTLI_EMSCRIPTEN
-- Compiler is not EMSCRIPTEN
-- Performing Test BROTLI_EMSCRIPTEN - Failed
-- Looking for log2 in m
-- Looking for log2 in m - found
CMake Error at CMakeLists.txt:188 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "brotli".

I found a similar error for libtiff at https://gitlab.com/libtiff/libtiff/-/issues/282

the configuration step fails due to the install(TARGETS) command within the libtiff/CMakeLists.txt missing the BUNDLE DESTINATION argument.

The issue suggests a workaround, -DCMAKE_MACOSX_BUNDLE=OFF, which does succeed, but I wondered if you wanted to address this?

Originally created by @radarhere on GitHub (Oct 31, 2025). When building 1.2.0, but not 1.1.0, I received an error - https://github.com/radarhere/Pillow/actions/runs/18856549681/job/53805755475#step:5:7929 > -- The C compiler identification is AppleClang 17.0.0.17000013 > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working C compiler: /Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped > -- Detecting C compile features > -- Detecting C compile features - done > -- Setting build type to Release as none was specified > -- Performing Test BROTLI_EMSCRIPTEN > -- Compiler is not EMSCRIPTEN > -- Performing Test BROTLI_EMSCRIPTEN - Failed > -- Looking for log2 in m > -- Looking for log2 in m - found > CMake Error at CMakeLists.txt:188 (install): > install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable > target "brotli". I found a similar error for libtiff at https://gitlab.com/libtiff/libtiff/-/issues/282 > the configuration step fails due to the install(TARGETS) command within the [libtiff/CMakeLists.txt](https://github.com/libtiff/libtiff/-/blob/master/libtiff/CMakeLists.txt) missing the BUNDLE DESTINATION argument. The issue suggests a workaround, `-DCMAKE_MACOSX_BUNDLE=OFF`, which does succeed, but I wondered if you wanted to address this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#554