Opened 9 years ago

Closed 7 years ago

#47226 closed defect (fixed)

darktable @1.1.2: ./build.sh: line 242: syntax error near unexpected token `&&'

Reported by: Dmole (Tim) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: robert.current@…, EnekoGotzon
Port: darktable

Description

sudo port install darktable
sudo port clean darktable
sudo port install darktable
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:info:configure CMake Error at /opt/local/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
:info:configure -- Configuring incomplete, errors occurred!
:info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_darktable/darktable/work/darktable-1.1.2/build/CMakeFiles/CMakeError.log".
:info:configure ./build.sh: line 242: syntax error near unexpected token `&&'
:error:configure org.macports.configure for port darktable returned: configure failure: command execution failed
:debug:configure Error code: NONE
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_darktable/darktable/work/darktable-1.1.2/build/CMakeFiles/CMakeTmp/src.c:2:10: fatal error: 'omp.h' file not found
1 error generated.
gmake[1]: *** [CMakeFiles/cmTryCompileExec1708053017.dir/src.c.o] Error 1
gmake: *** [cmTryCompileExec1708053017/fast] Error 2
clang: error: no such file or directory: '/openmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec47210223.dir/src.c.o] Error 1
gmake: *** [cmTryCompileExec47210223/fast] Error 2
clang: error: unknown argument: '-Qopenmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec1456542323.dir/src.c.o] Error 1
gmake: *** [cmTryCompileExec1456542323/fast] Error 2
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_darktable/darktable/work/darktable-1.1.2/build/CMakeFiles/CMakeTmp/src.c:2:10: fatal error: 'omp.h' file not found
1 error generated.
gmake[1]: *** [CMakeFiles/cmTryCompileExec3973531929.dir/src.c.o] Error 1
gmake: *** [cmTryCompileExec3973531929/fast] Error 2
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_darktable/darktable/work/darktable-1.1.2/build/CMakeFiles/CMakeTmp/src.c:2:10: fatal error: 'omp.h' file not found
1 error generated.
gmake[1]: *** [CMakeFiles/cmTryCompileExec3382979230.dir/src.c.o] Error 1
gmake: *** [cmTryCompileExec3382979230/fast] Error 2
clang: error: language not recognized: 'openmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec2096644810.dir/src.c.o] Error 1
gmake: *** [cmTryCompileExec2096644810/fast] Error 2
clang: error: no such file or directory: '+Oopenmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec1889606406.dir/src.c.o] Error 1
gmake: *** [cmTryCompileExec1889606406/fast] Error 2
clang: error: unknown argument: '-qsmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec326856919.dir/src.c.o] Error 1
gmake: *** [cmTryCompileExec326856919/fast] Error 2
clang: error: unknown argument: '-mp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec3779605840.dir/src.c.o] Error 1
gmake: *** [cmTryCompileExec3779605840/fast] Error 2
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_darktable/darktable/work/darktable-1.1.2/build/CMakeFiles/CMakeTmp/src.cxx:2:10: fatal error: 'omp.h' file not found
1 error generated.
gmake[1]: *** [CMakeFiles/cmTryCompileExec3201640476.dir/src.cxx.o] Error 1
gmake: *** [cmTryCompileExec3201640476/fast] Error 2
clang: error: no such file or directory: '/openmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec2420210185.dir/src.cxx.o] Error 1
gmake: *** [cmTryCompileExec2420210185/fast] Error 2
clang: error: unknown argument: '-Qopenmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec883615533.dir/src.cxx.o] Error 1
gmake: *** [cmTryCompileExec883615533/fast] Error 2
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_darktable/darktable/work/darktable-1.1.2/build/CMakeFiles/CMakeTmp/src.cxx:2:10: fatal error: 'omp.h' file not found
1 error generated.
gmake[1]: *** [CMakeFiles/cmTryCompileExec4285343452.dir/src.cxx.o] Error 1
gmake: *** [cmTryCompileExec4285343452/fast] Error 2
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_darktable/darktable/work/darktable-1.1.2/build/CMakeFiles/CMakeTmp/src.cxx:2:10: fatal error: 'omp.h' file not found
1 error generated.
gmake[1]: *** [CMakeFiles/cmTryCompileExec2125455150.dir/src.cxx.o] Error 1
gmake: *** [cmTryCompileExec2125455150/fast] Error 2
clang: error: language not recognized: 'openmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec2465517248.dir/src.cxx.o] Error 1
gmake: *** [cmTryCompileExec2465517248/fast] Error 2
clang: error: no such file or directory: '+Oopenmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec3673817509.dir/src.cxx.o] Error 1
gmake: *** [cmTryCompileExec3673817509/fast] Error 2
clang: error: unknown argument: '-qsmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec2396883352.dir/src.cxx.o] Error 1
gmake: *** [cmTryCompileExec2396883352/fast] Error 2
clang: error: unknown argument: '-mp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec1244608828.dir/src.cxx.o] Error 1
gmake: *** [cmTryCompileExec1244608828/fast] Error 2

Attachments (3)

main.log (148.2 KB) - added by Dmole (Tim) 9 years ago.
CMakeError.log (40.4 KB) - added by Dmole (Tim) 9 years ago.
main.2.log (132.2 KB) - added by EnekoGotzon 8 years ago.

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by Dmole (Tim)

Attachment: main.log added

Changed 9 years ago by Dmole (Tim)

Attachment: CMakeError.log added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Keywords: darktable removed

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: robert.current@… added
Summary: darktabledarktable @1.1.2: ./build.sh: line 242: syntax error near unexpected token `&&'

Has duplicate #50050.

darktable needs to be updated to a newer version. See #43286.

comment:3 Changed 8 years ago by EnekoGotzon

Cc: enekogotzon@… added

Cc Me!

Changed 8 years ago by EnekoGotzon

Attachment: main.2.log added

comment:4 Changed 8 years ago by EnekoGotzon

After cleaning and running in trace mode, darktable —still in version 1.1.2_5— continues to fail at configure fase. Main log attached above.

comment:5 Changed 7 years ago by ctreleaven (Craig Treleaven)

Resolution: fixed
Status: newclosed

In 4606c62b/macports-ports:

darktable: update to 2.2.3

Major reworking of darktable port. Project is now hosted on github, significant
changes to deps (including update to gtk3), only builds with quartz.

Minor functional testing so far other than to launch and display jpegs.

See #43286
Believed to:
Fix #43199
Fix #47226
Fix #51447

Note: See TracTickets for help on using tickets.