Fix: Handle non-Mach-O files during macOS universal binary lipo assembly #30

Merged
gronod merged 1 commits from fix/macos-universal-non-macho-lipo into development 2026-09-01 00:16:50 +01:00
Owner

Fix Description

During the macOS Universal aggregation job, bin/ contains non-Mach-O assets such as com.argyllcms.metainfo.xml installed by Jamfile. Invoking lipo -create on XML or other text files causes lipo to fail with a non-Mach-O error.

This PR checks whether both slice files are Mach-O binaries (file | grep -q Mach-O) before invoking lipo, and copies non-Mach-O assets directly into bin/.

### Fix Description During the macOS Universal aggregation job, `bin/` contains non-Mach-O assets such as `com.argyllcms.metainfo.xml` installed by `Jamfile`. Invoking `lipo -create` on XML or other text files causes `lipo` to fail with a non-Mach-O error. This PR checks whether both slice files are Mach-O binaries (`file | grep -q Mach-O`) before invoking `lipo`, and copies non-Mach-O assets directly into `bin/`.
gronod added 1 commit 2026-09-01 00:16:47 +01:00
gronod merged commit c196912bed into development 2026-09-01 00:16:50 +01:00
gronod deleted branch fix/macos-universal-non-macho-lipo 2026-09-01 00:16:51 +01:00
Sign in to join this conversation.