Opened 2 years ago

Closed 23 months ago

#65232 closed defect (duplicate)

darktable @3.8.1 -x11 +quartz +openmp: build fails

Reported by: gpagnon Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: openmp Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: darktable

Description (last modified by jmroot (Joshua Root))

Build fails with message:

--->  Building darktable                                 
Error: Failed to build darktable: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_darktable/darktable/main.log for details.

Here are the lines at the end of the log file (also attached in its entirety, for reference):

:info:build clang: note: diagnostic msg:
:info:build ********************
:info:build PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
:info:build Preprocessed source(s) and associated run script(s) are located at:
:info:build clang: note: diagnostic msg: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_darktable/darktable/work/.tmp/iop_profile-0da2a1.c
:info:build clang: note: diagnostic msg: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_darktable/darktable/work/.tmp/iop_profile-0da2a1.sh
:info:build clang: note: diagnostic msg: Crash backtrace is located in
:info:build clang: note: diagnostic msg: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_darktable/darktable/work/.home/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
:info:build clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
:info:build clang: note: diagnostic msg:
:info:build ********************
:info:build make[2]: *** [bin/CMakeFiles/lib_darktable.dir/common/iop_profile.c.o] Error 139
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_darktable/darktable/work/build'
:info:build make[1]: *** [bin/CMakeFiles/lib_darktable.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_darktable/darktable/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_darktable/darktable/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_darktable/darktable/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON
:info:build Exit code: 2
:error:build Failed to build darktable: command execution failed
:debug:build Error code: CHILDSTATUS 10144 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_darktable/darktable/main.log for details.

Attachments (1)

main.log (1.8 MB) - added by gpagnon 2 years ago.
build log file

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by gpagnon

Attachment: main.log added

build log file

comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: MarcusCalhoun-Lopez added
Keywords: openmp added
Owner: set to mascguy
Status: newassigned

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Description: modified (diff)

comment:3 Changed 23 months ago by mascguy (Christopher Nielsen)

This crash is caused by known issues with Clang 14.

We recently updated darktable to sidestep that, via the use of Clang 13 instead. Can you run sudo port selfupdate, and try the installation again?

comment:4 Changed 23 months ago by gpagnon

Fantastic, it works now and hasn't crashed yet (something that used to happen fairly frequently with the precompiled binary). The only minor niggle is that I have to start darktable from the terminal for it to be able to access my external hard drive. If I launch it via the Os X launcher (CMD-space), it complains that it cannot access the files. It looks like when launching from the terminal it inherits the access privileges from the Terminal app. I tried to add darktable to the apps that can access all the files (via the Preferences), but it doesn't work. Anyway, that is really a minor issue for me.

thank you very much for fixing it giuseppe

comment:5 Changed 23 months ago by mascguy (Christopher Nielsen)

Great, glad the issue is resolved!

As for the other issue related to the launcher, I'll create another ticket and CC you. Thanks for the heads-up!

comment:6 Changed 23 months ago by mascguy (Christopher Nielsen)

Resolution: duplicate
Status: assignedclosed

Duplicate of issue:65246

Note: See TracTickets for help on using tickets.