[MacPorts] #60284: gmic @2.9.0_0: removes symbols needed by darktable @3.0.1_0

MacPorts noreply at macports.org
Tue Mar 31 07:59:22 UTC 2020


#60284: gmic @2.9.0_0: removes symbols needed by darktable @3.0.1_0
---------------------+----------------------------
 Reporter:  olupton  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  gmic darktable
---------------------+----------------------------
 Building {{{darktable @3.0.1_0+openmp}}} fails with the error
 {{{
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "cimg_library::CImgList<char>::assign(unsigned int)",
 referenced from:
 :info:build       _lut3d_read_gmz in lut3dgmic.cpp.o
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [src/iop/liblut3d.so] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_graphics_darktable/darktable/work/build'
 :info:build make[1]: *** [src/iop/CMakeFiles/lut3d.dir/all] Error 2
 }}}
 when {{{gmic @2.9.0_0}}} is installed. If I revert to {{{gmic @2.8.4_0}}}
 the build succeeds (and the missing symbol is there):
 {{{
 $ nm -Ujg /opt/local/lib/libgmic.2.8.4.dylib | c++filt | grep
 "cimg_library::CImgList<char>::assign(unsigned int)"
 cimg_library::CImgList<char>::assign(unsigned int)
 }}}
 I am not immediately sure if this is a defect in {{{gmic}}} or
 {{{darktable}}}.
 With {{{gmic @2.9.0_0}}} far fewer symbols are exported:
 {{{
 $ nm -Ujg /opt/local/lib/libgmic.2.9.0.dylib | c++filt | grep assign
 cimg_library::CImg<float>::assign(unsigned int, unsigned int, unsigned
 int, unsigned int)
 cimg_library::CImgList<float>::assign(unsigned int)
 }}}
 vs.
 {{{
 $ nm -Ujg /opt/local/lib/libgmic.2.8.4.dylib | c++filt | grep assign | wc
 -l
      259
 }}}

 I also find that {{{darktable}}} crashes on startup, but presumably this
 is another issue, to be debugged separately.
 I doubt this is relevant, but I just updated to macOS Catalina.

-- 
Ticket URL: <https://trac.macports.org/ticket/60284>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list