Compiling ART on OSX

Good news: with the latest fixes, ART compiled on MacOS 11.1 ARM, and I was able run the build from the console, open a raw file, and export it to jpeg.

Now, I got a bunch of messages in the console output:

During the compilation, I get the same warning multiple times as when building ART about OpenMP:

clang-11: warning: /opt/homebrew/lib/libomp.dylib: 'linker' input unused [-Wunused-command-line-argument]

When ART is launched and used to load and process a raw file, I get see:

(ART:2533): GLib-GObject-WARNING **: 19:01:32.175: invalid cast from 'GtkMenuBar' to 'GtkWindow'

(ART:2533): Gtk-CRITICAL **: 19:01:32.175: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
OMP: Info #270: omp_get_nested routine deprecated, please use omp_get_max_active_levels instead.
OMP: Info #270: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
OMP: Info #270: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
OMP: Info #270: omp_get_nested routine deprecated, please use omp_get_max_active_levels instead.
OMP: Info #270: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
OMP: Info #270: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
OMP: Info #270: omp_get_nested routine deprecated, please use omp_get_max_active_levels instead.
OMP: Info #270: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
OMP: Info #270: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
/Users/sguyader/Pictures/CW6A0393-2.jpg: Empty input file
/Users/sguyader/Pictures/CW6A0393-2.jpg: Empty input file

When I close ART it doesn’t close cleanly but crashes. In the console output:

ART(2533,0x1018efd40) malloc: *** error for object 0x155822000: pointer being freed was not allocated
ART(2533,0x1018efd40) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort      ./ART

An exerpt of the rather long crash report:

Process:               ART [2475]
Path:                  /Users/USER/*/ART
Identifier:            ART
Version:               0
Code Type:             ARM-64 (Native)
Parent Process:        zsh [2470]
Responsible:           Terminal [661]
User ID:               501

Date/Time:             2021-02-02 18:55:37.346 -0400
OS Version:            macOS 11.1 (20C69)
Report Version:        12
Anonymous UUID:        645651DB-3F03-76CF-AC23-A5BF04C101EF


Time Awake Since Boot: 810 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
ART(2475,0x10597bd40) malloc: *** error for object 0x15567fc00: pointer being freed was not allocated
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00000001a586fcec __pthread_kill + 8
1   libsystem_pthread.dylib       	0x00000001a58a0c24 pthread_kill + 292
2   libsystem_c.dylib             	0x00000001a57e8864 abort + 104
3   libsystem_malloc.dylib        	0x00000001a56d3d08 malloc_vreport + 560
4   libsystem_malloc.dylib        	0x00000001a56d7458 malloc_report + 64
5   libsystem_malloc.dylib        	0x00000001a56c6100 free + 532
6   liblensfun.2.dylib            	0x00000001071c2198 lfLens::~lfLens() + 96
7   liblensfun.2.dylib            	0x00000001071bbc2c lfDatabase::~lfDatabase() + 140
8   liblensfun.2.dylib            	0x00000001071bbcf0 lfDatabase::Destroy() + 16
9   ART                           	0x0000000105324464 rtengine::LFDatabase::~LFDatabase() + 48
10  libsystem_c.dylib             	0x00000001a57c8828 __cxa_finalize_ranges + 408
11  libsystem_c.dylib             	0x00000001a57c8ba4 exit + 60
12  libdyld.dylib                 	0x00000001a58bcf38 start + 8
{...}

Also, when I issue sudo make macosx_bundle I get this (and the bundle crashes like RT):

/opt/homebrew/Cellar/cmake/3.19.4/bin/cmake -S/Users/sguyader/PhotoApps/art -B/Users/sguyader/PhotoApps/art/build --check-build-system CMakeFiles/Makefile.cmake 0
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/Makefile2 macosx_bundle
/opt/homebrew/Cellar/cmake/3.19.4/bin/cmake -S/Users/sguyader/PhotoApps/art -B/Users/sguyader/PhotoApps/art/build --check-build-system CMakeFiles/Makefile.cmake 0
/opt/homebrew/Cellar/cmake/3.19.4/bin/cmake -E cmake_progress_start /Users/sguyader/PhotoApps/art/build/CMakeFiles 0
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/Makefile2 rtdata/CMakeFiles/macosx_bundle.dir/all
/Library/Developer/CommandLineTools/usr/bin/make  -f rtdata/CMakeFiles/macosx_bundle.dir/build.make rtdata/CMakeFiles/macosx_bundle.dir/depend
cd /Users/sguyader/PhotoApps/art/build && /opt/homebrew/Cellar/cmake/3.19.4/bin/cmake -E cmake_depends "Unix Makefiles" /Users/sguyader/PhotoApps/art /Users/sguyader/PhotoApps/art/rtdata /Users/sguyader/PhotoApps/art/build /Users/sguyader/PhotoApps/art/build/rtdata /Users/sguyader/PhotoApps/art/build/rtdata/CMakeFiles/macosx_bundle.dir/DependInfo.cmake --color=
Scanning dependencies of target macosx_bundle
/Library/Developer/CommandLineTools/usr/bin/make  -f rtdata/CMakeFiles/macosx_bundle.dir/build.make rtdata/CMakeFiles/macosx_bundle.dir/build
Creating macOS bundle
DUMMY_VARIABLE= PROJECT_NAME="ART" PROJECT_SOURCE_DIR="/Users/sguyader/PhotoApps/art" CMAKE_BUILD_TYPE="Release" GTK_PREFIX="/opt/homebrew/Cellar/gtk+3/3.24.24" PROC_BIT_DEPTH=64 sh /Users/sguyader/PhotoApps/art/tools/osx/macosx_bundle.sh
PROJECT_NAME:           ART
PROJECT_VERSION:        1.7.1.91
PROJECT_SOURCE_DIR:     /Users/sguyader/PhotoApps/art
CMAKE_BUILD_TYPE:       Release
PROC_BIT_DEPTH:         64
MINIMUM_SYSTEM_VERSION: 11.1
GTK_PREFIX:             /opt/homebrew/Cellar/gtk+3/3.24.24
PWD:                    /Users/sguyader/PhotoApps/art/build
/Users/sguyader/PhotoApps/art/tools/osx/macosx_bundle.sh: line 108: cmake: command not found
/Users/sguyader/PhotoApps/art/tools/osx/macosx_bundle.sh: line 109: cmake: command not found

-- Removing old files:

-- Creating bundle container:

-- Copying release files:
ditto: Cannot get the real path for source '/local/lib/libexiv2.27.dylib'
ditto: Cannot get the real path for source '/local/share/lensfun/version_2/*'
ditto: Cannot get the real path for source '/local/lib/liblensfun.2.dylib'
ditto: Cannot get the real path for source '/local/lib/libomp.dylib'

-- Copying dependencies from /opt/homebrew/Cellar/gtk+3/3.24.24:
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libomp.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libexpat.1.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libgtkmacintegration-gtk3.4.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libfftw3f.3.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libfftw3f_omp.3.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libgiomm-2.4.1.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libgio-2.0.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libglibmm-2.4.1.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libgobject-2.0.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libglib-2.0.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libintl.8.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libsigc-2.0.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libgthread-2.0.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libgtkmm-3.0.1.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libatkmm-1.6.1.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libgdkmm-3.0.1.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libgtk-3.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libgdk-3.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libatk-1.0.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libcairo-gobject.2.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libpangomm-1.4.1.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libcairomm-1.0.1.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libpangocairo-1.0.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libpango-1.0.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libharfbuzz.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libcairo.2.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libgdk_pixbuf-2.0.0.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libjpeg.9.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/liblcms2.2.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libpng16.16.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libtiff.5.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/liblensfun.2.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/librsvg-2.2.dylib (No such file or directory)
error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: ART.app/Contents/Frameworks/libexiv2.27.dylib (No such file or directory)

-- Modifying install names: ART.app/Contents/MacOS/ART-cli
   install_name_tool -change '/opt/homebrew/opt/libomp/lib/libomp.dylib' '@rpath/libomp.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/cairomm@1.14/lib/libcairomm-1.0.1.dylib' '@rpath/libcairomm-1.0.1.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/libsigc++@2/lib/libsigc-2.0.0.dylib' '@rpath/libsigc-2.0.0.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/cairo/lib/libcairo.2.dylib' '@rpath/libcairo.2.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/expat/lib/libexpat.1.dylib' '@rpath/libexpat.1.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/gtk-mac-integration/lib/libgtkmacintegration-gtk3.4.dylib' '@rpath/libgtkmacintegration-gtk3.4.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/fftw/lib/libfftw3f.3.dylib' '@rpath/libfftw3f.3.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/fftw/lib/libfftw3f_omp.3.dylib' '@rpath/libfftw3f_omp.3.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/glibmm@2.66/lib/libgiomm-2.4.1.dylib' '@rpath/libgiomm-2.4.1.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/glib/lib/libgio-2.0.0.dylib' '@rpath/libgio-2.0.0.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/glibmm@2.66/lib/libglibmm-2.4.1.dylib' '@rpath/libglibmm-2.4.1.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/glib/lib/libgobject-2.0.0.dylib' '@rpath/libgobject-2.0.0.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/glib/lib/libglib-2.0.0.dylib' '@rpath/libglib-2.0.0.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/gettext/lib/libintl.8.dylib' '@rpath/libintl.8.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/glib/lib/libgthread-2.0.0.dylib' '@rpath/libgthread-2.0.0.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/jpeg/lib/libjpeg.9.dylib' '@rpath/libjpeg.9.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/little-cms2/lib/liblcms2.2.dylib' '@rpath/liblcms2.2.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/libpng/lib/libpng16.16.dylib' '@rpath/libpng16.16.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/libtiff/lib/libtiff.5.dylib' '@rpath/libtiff.5.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/lensfun/lib/liblensfun.2.dylib' '@rpath/liblensfun.2.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/librsvg/lib/librsvg-2.2.dylib' '@rpath/librsvg-2.2.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib' '@rpath/libgdk_pixbuf-2.0.0.dylib' 'ART.app/Contents/MacOS/ART-cli'
   install_name_tool -change '/opt/homebrew/opt/exiv2/lib/libexiv2.27.dylib' '@rpath/libexiv2.27.dylib' 'ART.app/Contents/MacOS/ART-cli'

-- Modifying install names: ART.app/Contents/MacOS/ART
   install_name_tool -change '/opt/homebrew/opt/libomp/lib/libomp.dylib' '@rpath/libomp.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/expat/lib/libexpat.1.dylib' '@rpath/libexpat.1.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/gtk-mac-integration/lib/libgtkmacintegration-gtk3.4.dylib' '@rpath/libgtkmacintegration-gtk3.4.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/fftw/lib/libfftw3f.3.dylib' '@rpath/libfftw3f.3.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/fftw/lib/libfftw3f_omp.3.dylib' '@rpath/libfftw3f_omp.3.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/glibmm@2.66/lib/libgiomm-2.4.1.dylib' '@rpath/libgiomm-2.4.1.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/glib/lib/libgio-2.0.0.dylib' '@rpath/libgio-2.0.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/glibmm@2.66/lib/libglibmm-2.4.1.dylib' '@rpath/libglibmm-2.4.1.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/glib/lib/libgobject-2.0.0.dylib' '@rpath/libgobject-2.0.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/glib/lib/libglib-2.0.0.dylib' '@rpath/libglib-2.0.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/gettext/lib/libintl.8.dylib' '@rpath/libintl.8.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/libsigc++@2/lib/libsigc-2.0.0.dylib' '@rpath/libsigc-2.0.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/glib/lib/libgthread-2.0.0.dylib' '@rpath/libgthread-2.0.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/gtkmm3/lib/libgtkmm-3.0.1.dylib' '@rpath/libgtkmm-3.0.1.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/atkmm@2.28/lib/libatkmm-1.6.1.dylib' '@rpath/libatkmm-1.6.1.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/gtkmm3/lib/libgdkmm-3.0.1.dylib' '@rpath/libgdkmm-3.0.1.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/gtk+3/lib/libgtk-3.0.dylib' '@rpath/libgtk-3.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/gtk+3/lib/libgdk-3.0.dylib' '@rpath/libgdk-3.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/atk/lib/libatk-1.0.0.dylib' '@rpath/libatk-1.0.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/cairo/lib/libcairo-gobject.2.dylib' '@rpath/libcairo-gobject.2.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/pangomm@2.46/lib/libpangomm-1.4.1.dylib' '@rpath/libpangomm-1.4.1.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/cairomm@1.14/lib/libcairomm-1.0.1.dylib' '@rpath/libcairomm-1.0.1.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/pango/lib/libpangocairo-1.0.0.dylib' '@rpath/libpangocairo-1.0.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/pango/lib/libpango-1.0.0.dylib' '@rpath/libpango-1.0.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/harfbuzz/lib/libharfbuzz.0.dylib' '@rpath/libharfbuzz.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/cairo/lib/libcairo.2.dylib' '@rpath/libcairo.2.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib' '@rpath/libgdk_pixbuf-2.0.0.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/jpeg/lib/libjpeg.9.dylib' '@rpath/libjpeg.9.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/little-cms2/lib/liblcms2.2.dylib' '@rpath/liblcms2.2.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/libpng/lib/libpng16.16.dylib' '@rpath/libpng16.16.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/libtiff/lib/libtiff.5.dylib' '@rpath/libtiff.5.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/lensfun/lib/liblensfun.2.dylib' '@rpath/liblensfun.2.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/librsvg/lib/librsvg-2.2.dylib' '@rpath/librsvg-2.2.dylib' 'ART.app/Contents/MacOS/ART'
   install_name_tool -change '/opt/homebrew/opt/exiv2/lib/libexiv2.27.dylib' '@rpath/libexiv2.27.dylib' 'ART.app/Contents/MacOS/ART'
ditto: Cannot get the real path for source '/local/lib/libjpeg.62.dylib'
ditto: Cannot get the real path for source ''
ditto: Cannot get the real path for source '/local/lib/libz.1.dylib'
ditto: Cannot get the real path for source '/local/lib/libpng16.16.dylib'
ditto: Cannot get the real path for source '/local/lib/libtiff.5.dylib'
ditto: Cannot get the real path for source '/local/share/lensfun/version_2/*'
ditto: Cannot get the real path for source '/local/lib/liblensfun.2.dylib'
ditto: Cannot get the real path for source '/local/lib/libomp.dylib'

-- Copying configuration files from /opt/homebrew/Cellar/gtk+3/3.24.24:

-- Copying library modules from /opt/homebrew/Cellar/gtk+3/3.24.24:
ditto: Cannot get the real path for source '/opt/homebrew/Cellar/gtk+3/3.24.24/lib/gdk-pixbuf-2.0'

-- Removing static libraries and cache files:

-- Flattening the Frameworks folder
ditto: Cannot get the real path for source 'ART.app/Contents/Frameworks/gdk-pixbuf-2.0/2*/loaders/*.so'
ditto: Cannot get the real path for source 'ART.app/Contents/Frameworks/gtk-3.0/3*/immodules/*.dylib'
ditto: Cannot get the real path for source 'ART.app/Contents/Frameworks/gtk-3.0/3*/immodules/*.so'
rm: ART.app/Contents/Frameworks/gdk-pixbuf-2.0: No such file or directory

-- Build glib database:
ditto: Cannot get the real path for source '/local/share/glib-2.0/schemas'
/Users/sguyader/PhotoApps/art/tools/osx/macosx_bundle.sh: line 203: /local/bin/glib-compile-schemas: No such file or directory

-- Copy GTK+3 theme and icon resources:
ditto: Cannot get the real path for source '/local/share/themes/Mac/gtk-3.0/gtk-keys.css'
ditto: Cannot get the real path for source '/local/share/themes/Default/gtk-3.0/gtk-keys.css'

-- Copy Adwaita icons
ditto: Cannot get the real path for source '/local/share/icons/Adwaita/16x16/actions/*'
ditto: Cannot get the real path for source '/local/share/icons/Adwaita/16x16/devices/*'
ditto: Cannot get the real path for source '/local/share/icons/Adwaita/16x16/mimetypes/*'
ditto: Cannot get the real path for source '/local/share/icons/Adwaita/16x16/places/*'
ditto: Cannot get the real path for source '/local/share/icons/Adwaita/16x16/status/*'
ditto: Cannot get the real path for source '/local/share/icons/Adwaita/48x48/devices/*'
ditto: Cannot get the real path for source '/local/share/icons/Adwaita/index.theme'
/Users/sguyader/PhotoApps/art/tools/osx/macosx_bundle.sh: line 218: /local/bin/gtk-update-icon-cache: No such file or directory
ditto: Cannot get the real path for source '/local/share/icons/hicolor'

-- Build GTK3 databases:
/Users/sguyader/PhotoApps/art/tools/osx/macosx_bundle.sh: line 223: /local/bin/gdk-pixbuf-query-loaders: No such file or directory
/Users/sguyader/PhotoApps/art/tools/osx/macosx_bundle.sh: line 224: /local/bin/gtk-query-immodules-3.0: No such file or directory

-- Modifying install names: ART.app/Contents/MacOS/ART-cli

-- Modifying install names: ART.app/Contents/MacOS/ART

-- Registering @rpath in Frameworks folder:
   install_name_tool -delete_rpath /opt/local/lib 'ART.app/Contents/Frameworks/*'
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: ART.app/Contents/Frameworks/* (No such file or directory)
   install_name_tool -add_rpath /Applications/ART.app/Contents/Frameworks 'ART.app/Contents/Frameworks/*'
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: ART.app/Contents/Frameworks/* (No such file or directory)

-- Copying shared files from /opt/homebrew/Cellar/gtk+3/3.24.24:
ditto: Cannot get the real path for source '/local/share/mime'

-- Installing required application bundle files:
/Users/sguyader/PhotoApps/art/tools/osx/macosx_bundle.sh: line 262: update-mime-database: command not found

-- Registering @rpath into the executable:
   install_name_tool -add_rpath /Applications/ART.app/Contents/Frameworks 'ART.app/Contents/MacOS/bin/ART-bin'
   install_name_tool -add_rpath /Applications/ART.app/Contents/Frameworks 'ART.app/Contents/MacOS/ART-cli'

-- Modifying install names: ART.app/Contents/MacOS/ART-cli

-- Modifying install names: ART.app/Contents/MacOS/ART

-- Registering @rpath in Frameworks folder:
   install_name_tool -delete_rpath /opt/local/lib 'ART.app/Contents/Frameworks/*'
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: ART.app/Contents/Frameworks/* (No such file or directory)
   install_name_tool -add_rpath /Applications/ART.app/Contents/Frameworks 'ART.app/Contents/Frameworks/*'
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: ART.app/Contents/Frameworks/* (No such file or directory)

-- Codesigning:
/Users/sguyader/PhotoApps/art/tools/osx/macosx_bundle.sh: line 281: cmake: command not found
/Users/sguyader/PhotoApps/art/tools/osx/macosx_bundle.sh: line 296: cmake: command not found

-- Preparing disk image sources at /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/1758.gg8DdvyF:

-- Creating disk image:
.................................................................
created: /Users/sguyader/PhotoApps/art/build/ART_OSX_11.1_64_1.7.1-91-ga030cb27b.dmg

-- Zipping disk image for redistribution:
  adding: ART_OSX_11.1_64_1.7.1-91-ga030cb27b.dmg (deflated 2%)
  adding: Resources/AboutThisBuild.txt (deflated 40%)

-- Removing disk image caches:

-- Finishing build:
Script complete.
Built target macosx_bundle
/opt/homebrew/Cellar/cmake/3.19.4/bin/cmake -E cmake_progress_start /Users/sguyader/PhotoApps/art/build/CMakeFiles 0