After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779204 - Temporary binary link error on Debian 8 stable
Temporary binary link error on Debian 8 stable
Status: RESOLVED OBSOLETE
Product: gexiv2
Classification: Other
Component: general
0.10.x
Other Linux
: Normal normal
: ---
Assigned To: Gexiv2 Maintainers
Gexiv2 Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-25 02:29 UTC by media.richard
Modified: 2018-05-22 12:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description media.richard 2017-02-25 02:29:22 UTC
Hello again, everyone.

Sorry to bring another issue to your attention so soon after you fixed 779089, but this new error was shown after I pulled the latest changes today.  As before, I'm building against exiv2-0.25 and am using a custom prefix.  Here's the output of make:

Making all in .
make[1]: Entering directory '/home/ricky/bin/gexiv2'
  GISCAN   GExiv2-0.10.gir
./.libs/libgexiv2.so: undefined reference to `Exiv2::ImageFactory::open(std::string const&)'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/bash', './libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o', '/home/ricky/bin/gexiv2/tmp-introspect6rDHoC/GExiv2-0.10', '-export-dynamic', '/home/ricky/bin/gexiv2/tmp-introspect6rDHoC/GExiv2-0.10.o', '-L.', 'libgexiv2.la', '-L/home/ricky/bin/gimp-clean/install/lib', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0']' returned non-zero exit status 1
/usr/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'GExiv2-0.10.gir' failed
make[1]: *** [GExiv2-0.10.gir] Error 1
make[1]: Leaving directory '/home/ricky/bin/gexiv2'
Makefile:969: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


And in case you need the extra info, here's the output of make V=1:

Making all in .
make[1]: Entering directory '/home/ricky/bin/gexiv2'
/usr/bin/g-ir-scanner  --symbol-prefix=gexiv2 --add-include-path= --pkg-export=gexiv2 --warn-all                                                                           --warn-error          --namespace=GExiv2 --nsversion=0.10 --libtool="/bin/bash ./libtool"  --include=GObject-2.0   --library=libgexiv2.la  --cflags-begin -I. -Igexiv2 --cflags-end  gexiv2/gexiv2.h gexiv2/gexiv2-metadata.h gexiv2/gexiv2-preview-properties.h gexiv2/gexiv2-preview-image.h gexiv2/gexiv2-log.h gexiv2/gexiv2-startup.h gexiv2/gexiv2-version.h libgexiv2.la --output GExiv2-0.10.gir
g-ir-scanner: compile: cc -Wno-deprecated-declarations -pthread -I/home/ricky/bin/gimp-clean/install/include/glib-2.0 -I/home/ricky/bin/gimp-clean/install/lib/glib-2.0/include -I/home/ricky/bin/gimp-clean/install/include/glib-2.0 -I/home/ricky/bin/gimp-clean/install/lib/glib-2.0/include -c -o /home/ricky/bin/gexiv2/tmp-introspect4NWA1w/GExiv2-0.10.o /home/ricky/bin/gexiv2/tmp-introspect4NWA1w/GExiv2-0.10.c
g-ir-scanner: link: /bin/bash ./libtool --mode=link --tag=CC cc -o /home/ricky/bin/gexiv2/tmp-introspect4NWA1w/GExiv2-0.10 -export-dynamic /home/ricky/bin/gexiv2/tmp-introspect4NWA1w/GExiv2-0.10.o -L. libgexiv2.la -L/home/ricky/bin/gimp-clean/install/lib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
libtool: link: cc -o /home/ricky/bin/gexiv2/tmp-introspect4NWA1w/.libs/GExiv2-0.10 /home/ricky/bin/gexiv2/tmp-introspect4NWA1w/GExiv2-0.10.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic  -L. ./.libs/libgexiv2.so -L/home/ricky/bin/gimp-clean/install/lib /home/ricky/bin/gimp-clean/install/lib/libgio-2.0.so /home/ricky/bin/gimp-clean/install/lib/libgobject-2.0.so /home/ricky/bin/gimp-clean/install/lib/libgmodule-2.0.so /home/ricky/bin/gimp-clean/install/lib/libglib-2.0.so -pthread -Wl,-rpath -Wl,/home/ricky/bin/gimp-clean/install/lib
./.libs/libgexiv2.so: undefined reference to `Exiv2::ImageFactory::open(std::string const&)'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/bash', './libtool', '--mode=link', '--tag=CC', 'cc', '-o', '/home/ricky/bin/gexiv2/tmp-introspect4NWA1w/GExiv2-0.10', '-export-dynamic', '/home/ricky/bin/gexiv2/tmp-introspect4NWA1w/GExiv2-0.10.o', '-L.', 'libgexiv2.la', '-L/home/ricky/bin/gimp-clean/install/lib', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0']' returned non-zero exit status 1
/usr/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'GExiv2-0.10.gir' failed
make[1]: *** [GExiv2-0.10.gir] Error 1
make[1]: Leaving directory '/home/ricky/bin/gexiv2'
Makefile:969: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Thank you very much for fixing 779089 so quickly, and for any help you can give on this.
Comment 1 Jens Georg 2017-02-25 07:32:57 UTC
Hm, works here, though I get a load of shadow warnings for exiv2 errors
Comment 2 media.richard 2017-03-06 20:58:30 UTC
Sorry for the delay, Jens.  Is there any more info I can provide to help determine what's preventing my gexiv2 from compiling?
Comment 3 Jens Georg 2017-04-25 19:00:08 UTC
could it be that you have an old libexiv2 lying around somewhere?
Comment 4 GNOME Infrastructure Team 2018-05-22 12:35:48 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gexiv2/issues/23.