Opened 14 months ago
Last modified 6 months ago
#68301 reopened defect
GIMP-Lensfun @0.2.4_6 - Unable to build on Lion and Mtn Lion - Undefined symbols - Exiv2::ImageFactory::open - Exiv2::ExifKey::ExifKey - Exiv2::ExifData::operator
Reported by: | RobK88 | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | lion mountainlion | Cc: | cooljeanius (Eric Gallager) |
Port: | GIMP-lensfun |
Description
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$
Attachments (1)
Change History (7)
Changed 14 months ago by RobK88
comment:1 Changed 14 months ago by RobK88
comment:2 Changed 14 months ago by RobK88
Keywords: | lion mtn-lion added |
---|---|
Summary: | GIMP-Lensfun @0.2.4_6 - Unable to build - Undefined symbols - Exiv2::ImageFactory::open - Exiv2::ExifKey::ExifKey - Exiv2::ExifData::operator → GIMP-Lensfun @0.2.4_6 - Unable to build on Lion and Mtn Lion - Undefined symbols - Exiv2::ImageFactory::open - Exiv2::ExifKey::ExifKey - Exiv2::ExifData::operator |
comment:3 Changed 14 months ago by mascguy (Christopher Nielsen)
Cc: | mascguy removed |
---|---|
Keywords: | mountainlion added; mtn-lion removed |
Owner: | set to mascguy |
Status: | new → assigned |
comment:4 Changed 14 months ago by Christopher Nielsen <mascguy@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 14 months ago by mascguy (Christopher Nielsen)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Looks like buildbot builds still fail for 10.8 (and perhaps 10.7 and earlier), due to the following:
Undefined symbols for architecture x86_64: "Exiv2::ImageFactory::open(std::string const&, bool)", referenced from: run(char const*, int, _GimpParam const*, int*, _GimpParam**) in gimplensfun.o "Exiv2::ExifKey::ExifKey(std::string const&)", referenced from: run(char const*, int, _GimpParam const*, int*, _GimpParam**) in gimplensfun.o "Exiv2::ExifData::operator[](std::string const&)", referenced from: run(char const*, int, _GimpParam const*, int*, _GimpParam**) in gimplensfun.o ld: symbol(s) not found for architecture x86_64
I'll take a closer look when I have some time.
comment:6 Changed 6 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Note: See
TracTickets for help on using
tickets.
Workaround. I was able to build and install
GIMP-Lensfun
on Lion and Mtn Lion using a more modern compiler includingclang-7.0
andclang-11
. See below.