Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675264 - media-libs/gexiv2-0.10.10: /usr/lib/libexiv2.so: error adding symbols: file in wrong format
Summary: media-libs/gexiv2-0.10.10: /usr/lib/libexiv2.so: error adding symbols: file i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on: 675240
Blocks: no-symlink-lib
  Show dependency tree
 
Reported: 2019-01-12 11:03 UTC by Michał Górny
Modified: 2019-01-12 22:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/media-libs:gexiv2-0.10.10:20190112-104602.log (media-libs:gexiv2-0.10.10:20190112-104602.log,14.80 KB, text/plain)
2019-01-12 11:03 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-01-12 11:03:49 UTC
Created attachment 560756 [details]
/var/log/portage/media-libs:gexiv2-0.10.10:20190112-104602.log

FAILED: gexiv2/libgexiv2.so.2.0.0 
x86_64-pc-linux-gnu-g++-7.4.0  -o gexiv2/libgexiv2.so.2.0.0 'gexiv2/1a6c516@@gexiv2@sha/meson-generated_.._gexiv2-enums.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-metadata.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-metadata-exif.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-metadata-gps.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-metadata-iptc.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-metadata-xmp.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-stream-io.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-preview-properties.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-preview-image.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-log.cpp.o' 'gexiv2/1a6c516@@gexiv2@sha/gexiv2-startup.cpp.o' -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,libgexiv2.so.2 -march=x86-64 -mtune=k8 -mcx16 -msahf -msse3 --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--version-script,/tmp/portage/media-libs/gexiv2-0.10.10/work/gexiv2-0.10.10/gexiv2/gexiv2.map /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib/libexiv2.so -Wl,--end-group  
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libexiv2.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status


Looks like something smart tries to hardcode absolute path to libexiv2, and fails hard at guessing the right libdir.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-01-12 11:07:14 UTC
Oh, it's actually a bug in exiv2 which is as unmaintained as gexiv2.
Comment 2 Andreas Sturmlechner gentoo-dev 2019-01-12 22:11:30 UTC
(In reply to Michał Górny from comment #1)
> Oh, it's actually a bug in exiv2 which is as unmaintained as gexiv2.

Both seem quite active to me.