Bug 314608 - digiKam fails to compile.
Summary: digiKam fails to compile.
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 3.0.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-07 16:04 UTC by DrSlony
Modified: 2023-05-19 07:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2013-02-07 16:04:38 UTC
digikam-3.0.0_rc fails to compile in Gentoo. Not sure if this if this is a problem with the program itself or with the ebuild, so I'm reporting it both in here and in the Gentoo bugzilla.

Reproducible: Always

Steps to Reproduce:
emerge =media-gfx/digikam-3.0.0_rc
Actual Results:  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libmarblewidget.so.14, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoPainter::autoMapQuality()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::fromLineString(Marble::GeoDataLineString const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::~GeoDataLatLonBox()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::east(Marble::GeoDataCoordinates::Unit) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::LayerInterface::~LayerInterface()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::setMapThemeId(QString const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::north(Marble::GeoDataCoordinates::Unit) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::removeLayer(Marble::LayerInterface*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::width(Marble::GeoDataCoordinates::Unit) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::addLayer(Marble::LayerInterface*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::zoomOut(Marble::FlyToMode)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::setShowScaleBar(bool)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::LayerInterface::zValue() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::projection() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::staticMetaObject'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::zoom() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::centerLongitude() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::centerOn(Marble::GeoDataCoordinates const&, bool)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::setCenterLongitude(double, Marble::FlyToMode)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::setSouth(double, Marble::GeoDataCoordinates::Unit)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoPainter::drawPixmap(Marble::GeoDataCoordinates const&, QPixmap const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::geoCoordinates(int, int, double&, double&, Marble::GeoDataCoordinates::Unit) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonAltBox::~GeoDataLatLonAltBox()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::setEast(double, Marble::GeoDataCoordinates::Unit)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::west(Marble::GeoDataCoordinates::Unit) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLineString::GeoDataLineString(QFlags<Marble::TessellationFlag>)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoPainter::drawPixmap(int, int, QPixmap const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::maximumZoom() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::ViewportParams::viewLatLonAltBox() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::setWest(double, Marble::GeoDataCoordinates::Unit)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataCoordinates::~GeoDataCoordinates()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLinearRing::GeoDataLinearRing(QFlags<Marble::TessellationFlag>)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLineString::append(Marble::GeoDataCoordinates const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::zoomIn(Marble::FlyToMode)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::MarbleWidget(QWidget*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::centerLatitude() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::centerOn(Marble::GeoDataLatLonBox const&, bool)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::screenCoordinates(double, double, double&, double&) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::setShowCompass(bool)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLineString::~GeoDataLineString()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::setShowOverviewMap(bool)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::south(Marble::GeoDataCoordinates::Unit) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::viewport()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::setCenterLatitude(double, Marble::FlyToMode)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataCoordinates::GeoDataCoordinates(double, double, double, Marble::GeoDataCoordinates::Unit, int)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `typeinfo for Marble::LayerInterface'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::minimumZoom() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoPainter::drawPolygon(Marble::GeoDataLinearRing const&, Qt::FillRule)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::setNorth(double, Marble::GeoDataCoordinates::Unit)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::setProjection(Marble::Projection)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLineString::operator<<(Marble::GeoDataCoordinates const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLatLonBox::height(Marble::GeoDataCoordinates::Unit) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::GeoDataLinearRing::~GeoDataLinearRing()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libkgeomap.so: undefined reference to `Marble::MarbleWidget::zoomView(int, Marble::FlyToMode)'
collect2: ld returned 1 exit status
make[2]: *** [digikam/digikam] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0_rc_build'
make[1]: *** [digikam/CMakeFiles/digikam.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0_rc_build'
make: *** [all] Error 2
 * ERROR: media-gfx/digikam-3.0.0_rc failed (compile phase):
 *   emake failed



emerge --info '=media-gfx/digikam-3.0.0_rc'
Portage 2.1.11.31 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.6.11-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_820_@_1.73GHz-with-gentoo-2.1
Timestamp of tree: Thu, 07 Feb 2013 14:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.8 [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8::pentoo
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-portage x11 ikelos kde spring glc pentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/ http://gentoo.modulix.net/gentoo/"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/x11 /var/lib/layman/ikelos /var/lib/layman/kde /var/lib/layman/Spring /var/lib/layman/glc /var/lib/layman/pentoo"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bs2b bzip2 cairo cdda cdr cli consolekit cracklib crypt cue cups curl custom-optimization cxx d3d dbus declarative dhcpcd dirac dri dts dvd dvdr emboss enca encode exif expoblending fam ffmpeg firefox flac fontconfig fortran frei0r ftp fuse g3dvl gallium gd gdbm geoip gif gpm gpu gsm hbci iconv icu iproute2 iptc ipv6 jabber java jpeg kde kipi lcms ldap lensfun libkms libnotify mad minizip mjpeg mmx mng modules mp3 mp4 mpeg mpi msn mudflap multilib multithreaded mysql ncurses network networkmanager nls nptl nsplugin nvidia ofx ogg okteta opencl openexr opengl openmp openvpn otr pam pango pcre pdf phonon php plasma png policykit postproc ppds privacy python qt3support qt4 rar raster rdesktop readline romio scanner schroedinger sdl semantic-desktop session sid sip smbclient smp sms spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora threads tiff tordns truetype udev udisks unicode upower usb v4l v4l2 vdpau vnc vorbis wav webpresence wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xmp xorg xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 caulier.gilles 2013-02-07 16:07:22 UTC
It's linking failure about libmarblewidget. Fix this dependency and try again...

Gilles Caulier
Comment 2 DrSlony 2013-02-07 17:29:03 UTC
Thank you.

Re-emerging kde-base/marble and/or running revdep-rebuild solved it.