[MacPorts] #68301: GIMP-Lensfun @0.2.4_6 - Unable to build - Undefined symbols - Exiv2::ImageFactory::open - Exiv2::ExifKey::ExifKey - Exiv2::ExifData::operator

MacPorts noreply at macports.org
Sat Sep 30 15:58:40 UTC 2023


#68301: GIMP-Lensfun @0.2.4_6 - Unable to build - Undefined symbols -
Exiv2::ImageFactory::open  - Exiv2::ExifKey::ExifKey -
Exiv2::ExifData::operator
--------------------+--------------------------
 Reporter:  RobK88  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.8.1
 Keywords:          |       Port:  GIMP-lensfun
--------------------+--------------------------
 I am unable to build and install GIMP-lensfun.  The compiler complains
 about undefined symbols for:

 {{{
 Exiv2::ImageFactory::open
 Exiv2::ExifKey::ExifKey
 Exiv2::ExifData::operator
 }}}

 But the `exiv2` and `gexiv2` ports are installed.  See below.

 {{{
 bash-3.2$ sudo port -v install gimp-lensfun
 Password:
 --->  Computing dependencies for GIMP-Lensfun.
 --->  Fetching archive for GIMP-Lensfun
 --->  GIMP-Lensfun-0.2.4_6.darwin_11.x86_64.tbz2 doesn't seem to exist in
 /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch GIMP-Lensfun-0.2.4_6.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/GIMP-Lensfun
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0--->  Attempting to fetch GIMP-Lensfun-0.2.4_6.darwin_11.x86_64.tbz2 from
 http://ywg.ca.packages.macports.org/mirror/macports/packages/GIMP-Lensfun
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0--->  Attempting to fetch GIMP-Lensfun-0.2.4_6.darwin_11.x86_64.tbz2 from
 http://mirror.fcix.net/macports/packages/GIMP-Lensfun
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0--->  Building GIMP-Lensfun
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_graphics_GIMP-Lensfun/GIMP-
 Lensfun/work/GIMP-Lensfun-0.2.4" && /usr/bin/make -j4 -w all
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_graphics_GIMP-Lensfun/GIMP-
 Lensfun/work/GIMP-Lensfun-0.2.4'
 /usr/bin/clang++ -o gimp-lensfun src/gimplensfun.o -L/opt/local/lib
 -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0
 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgegl-0.4 -lgegl-npd-0.4
 -lgmodule-2.0 -ljson-glib-1.0 -lbabl-0.1 -lgtk-x11-2.0 -lgdk-x11-2.0
 -lpangocairo-1.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite
 -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0
 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl
 -lharfbuzz -lfontconfig -lfreetype -L/opt/local/lib -llensfun -lexiv2
 -lstdc++
 Undefined symbols for architecture x86_64:
   "Exiv2::ImageFactory::open(std::string const&, bool)", referenced from:
       __ZL3runPKciPK10_GimpParamPiPPS1_ in gimplensfun.o
   "Exiv2::ExifKey::ExifKey(std::string const&)", referenced from:
       __ZL3runPKciPK10_GimpParamPiPPS1_ in gimplensfun.o
   "Exiv2::ExifData::operator[](std::string const&)", referenced from:
       __ZL3runPKciPK10_GimpParamPiPPS1_ in gimplensfun.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make: *** [gimp-lensfun] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_graphics_GIMP-Lensfun/GIMP-
 Lensfun/work/GIMP-Lensfun-0.2.4'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_graphics_GIMP-Lensfun/GIMP-
 Lensfun/work/GIMP-Lensfun-0.2.4" && /usr/bin/make -j4 -w all
 Exit code: 2
 Error: Failed to build GIMP-Lensfun: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_graphics_GIMP-Lensfun/GIMP-
 Lensfun/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port gimp-lensfun failed
 bash-3.2$
 bash-3.2$
 bash-3.2$ port installed exiv2
 The following ports are currently installed:
   exiv2 @0.27.6_0 (active)
 bash-3.2$
 bash-3.2$ port installed gexiv2
 The following ports are currently installed:
   gexiv2 @0.14.2_0+python311 (active)
 bash-3.2$
 }}}

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


More information about the macports-tickets mailing list