Error when building 1.2.0 for iOS #557

Closed
opened 2026-01-29 20:45:47 +00:00 by claunia · 4 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?
Author
Owner

@eustas commented on GitHub (Oct 31, 2025):

Will investigate soon. Thanks for reporting.
(I wonder, why CI did not catch that...)

@eustas commented on GitHub (Oct 31, 2025): Will investigate soon. Thanks for reporting. (I wonder, why CI did not catch that...)
Author
Owner

@eustas commented on GitHub (Oct 31, 2025):

(oh, that is because we don't have iOS pipeline; going to add soon)

@eustas commented on GitHub (Oct 31, 2025): (oh, that is because we don't have iOS pipeline; going to add soon)
Author
Owner

@eustas commented on GitHub (Nov 7, 2025):

Should have been fixed with #1372

@eustas commented on GitHub (Nov 7, 2025): Should have been fixed with #1372
Author
Owner

@radarhere commented on GitHub (Nov 7, 2025):

Thanks very much

@radarhere commented on GitHub (Nov 7, 2025): Thanks very much
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#557