Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge failing on digikam
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
pbm
n00b
n00b


Joined: 31 Oct 2007
Posts: 15

PostPosted: Sat Mar 12, 2016 2:18 pm    Post subject: emerge failing on digikam Reply with quote

Emerge is failing while merging media-gfx/digikam-4.14.0. I tried to rebuild kde-apps/libkexiv2, media-gfx/exiv2 and media-libs/gexiv2 and they compile fine. digikam is currently installed but when starting it I'm getting:

Code:
$ digikam
digikam: symbol lookup error: /usr/lib64/libkexiv2.so.11: undefined symbol: _ZN5Exiv213XmpProperties10registerNsERKSsS2_


Fragment of compilation log:
Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::ExifData::operator[](std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::XmpTextValue::XmpTextValue(std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::IptcKey::key() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::ExifKey::key() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::XmpKey::key() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::ExifKey::tagDesc() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::XmpParser::decode(Exiv2::XmpData&, std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::XmpProperties::propertyList(std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::XmpTextValue::read(std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::ExifKey::tagLabel() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::XmpProperties::unregisterNs(std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::ImageFactory::create(int, std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::Metadatum::print(Exiv2::ExifData const*) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::IptcData::operator[](std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::ExifKey::ExifKey(std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::XmpProperties::registerNs(std::string const&, std::string const&\
)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::XmpParser::encode(std::string&, Exiv2::XmpData const&, unsigned \
short, unsigned int)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::Iptcdatum::operator=(std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::XmpData::operator[](std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::ImageFactory::open(std::string const&, bool)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::Exifdatum::operator=(std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::XmpKey::XmpKey(std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::XmpKey::XmpKey(std::string const&, std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libkexiv2.so: undefined reference to `Exiv2::IptcKey::IptcKey(std::string const&)'
collect2: error: ld returned 1 exit status
showfoto/CMakeFiles/showfoto.dir/build.make:801: recipe for target 'showfoto/showfoto' failed
make[2]: *** [showfoto/showfoto] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/digikam-4.14.0/work/digikam-4.14.0_build'
CMakeFiles/Makefile2:1435: recipe for target 'showfoto/CMakeFiles/showfoto.dir/all' failed
make[1]: *** [showfoto/CMakeFiles/showfoto.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


Code:
$ emerge --info '=media-gfx/digikam-4.14.0::gentoo'
Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.22-r2, 3.10.92-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.92-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.2
KiB Mem:    12296836 total,   2850732 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 12 Mar 2016 10:30:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.5.0::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x Oracle-BCLA-JavaSE google-chrome Google-TOS NVIDIA-CUDA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 ao apm apng audiofile bash-completion berkdb bluetooth bzip2 cairo cli cracklib crypt css curl cvs cxx dbm dbus declarative djvu dri dts dv dvd dvdr encode exif expat fam ffmpeg flac fontconfig fortran ftp gdbm gif git gnutls gphoto2 gpm gps gstreamer gudev gzip hddtemp iconv icu imagemagick inotify ipv6 jpeg jpeg2k lame latex libnotify lzma lzo mad matroska mime minizip mmx mmxext modules mp3 mp4 mpeg mplayer multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf perl plasma png policykit pulseaudio python qt3support qt4 raw readline rss script seccomp session smp sound sox spell sql sqlite sse sse2 ssl subversion svg syslog taglib tcpd theora tiff truetype udev unicode usb v4l vorbis webkit wifi x264 xattr xcb xft xine xinerama xml xmp xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="dumpio authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias log_forensic" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-gfx/digikam-4.14.0::gentoo was built with the following:
USE="debug gphoto2 thumbnails video -addressbook (-aqua) -doc -handbook -mysql -semantic-desktop" ABI_X86="64" LINGUAS="pl -af -ar -az -be -bg -bn -br -bs -ca -cs -csb -cy -da -de -el -en_GB -eo -es -et -eu -fa -fi -fo -fr -fy -ga -gl -ha -he -hi -hr -hsb -hu -id -is -it -ja -ka -kk -km -ko -ku -lb -lo -lt -lv -mi -mk -mn -ms -mt -nb -nds -ne -nl -nn -nso -oc -pa -pt -pt_BR -ro -ru -rw -se -sk -sl -sq -sr -sr@Latn -ss -sv -ta -te -tg -th -tr -tt -uk -uz -uz@cyrillic -ven -vi -wa -xh -zh_CN -zh_HK -zh_TW -zu"



Code:
$ emerge -pqv '=media-gfx/digikam-4.14.0::gentoo'
[ebuild   R   ] media-gfx/digikam-4.14.0  USE="debug gphoto2 thumbnails video -addressbook (-aqua) -doc -handbook -mysql -semantic-desktop" LINGUAS="pl -af -ar -az -be -bg -bn -br -bs -ca -cs -csb -cy -da -de -el -en_GB -eo -es -et -eu -fa -fi -fo -fr -fy -ga -gl -ha -he -hi -hr -hsb -hu -id -is -it -ja -ka -kk -km -ko -ku -lb -lo -lt -lv -mi -mk -mn -ms -mt -nb -nds -ne -nl -nn -nso -oc -pa -pt -pt_BR -ro -ru -rw -se -sk -sl -sq -sr -sr@Latn -ss -sv -ta -te -tg -th -tr -tt -uk -uz -uz@cyrillic -ven -vi -wa -xh -zh_CN -zh_HK -zh_TW -zu"


Full compilation log: http://sprunge.us/NihZ (15MB)
Back to top
View user's profile Send private message
markisthejob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2008
Posts: 143
Location: Cork, Republic of Ireland

PostPosted: Fri Apr 01, 2016 12:43 am    Post subject: Reply with quote

if you're using a ~amd64 system and already recompiled kde-apps/libkexiv2 with no solution, I would try masking version 15.12.3 so it downgrades and see if that works
Back to top
View user's profile Send private message
pbm
n00b
n00b


Joined: 31 Oct 2007
Posts: 15

PostPosted: Tue May 03, 2016 9:45 am    Post subject: Reply with quote

That didn't solve the issue, but recompiling the whole system with --empty-tree fixed it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum