Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602926 - kde-apps/kdepim-runtime-16.12.0[google] fails to build
Summary: kde-apps/kdepim-runtime-16.12.0[google] fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: fixed in 16.12.3
Keywords:
: 603576 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-12-17 15:23 UTC by Frank Krömmelbein
Modified: 2017-03-09 20:01 UTC (History)
2 users (show)

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


Attachments
build.log compressed with bzip2 (build.log.bz2,22.81 KB, application/octet-stream)
2016-12-17 15:27 UTC, Frank Krömmelbein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2016-12-17 15:23:45 UTC
Application builds on my system with this useflags:

[ebuild   R   ~] kde-apps/kdepim-runtime-16.12.0:5::gentoo  USE="handbook ssl -debug -google {-test}" 0 KiB

But fails with google useflag enabled.


/usr/lib64/libKF5GAPIContacts.so.5.3.1: undefined reference to `KContacts::Addressee::setBirthday(QDateTime const&)'
collect2: error: ld returned 1 exit status
resources/google/contacts/CMakeFiles/akonadi_googlecontacts_resource.dir/build.make:353: recipe for target 'resources/google/contacts/akonadi_googlecontacts_resource' failed
make[2]: *** [resources/google/contacts/akonadi_googlecontacts_resource] Error 1
make[2]: Leaving directory '/var/tmp/portage/kde-apps/kdepim-runtime-16.12.0/work/kdepim-runtime-16.12.0_build'
CMakeFiles/Makefile2:1681: recipe for target 'resources/google/contacts/CMakeFiles/akonadi_googlecontacts_resource.dir/all' failed
make[1]: *** [resources/google/contacts/CMakeFiles/akonadi_googlecontacts_resource.dir/all] Error 2

[ebuild   R   ~] net-libs/libkgapi-5.3.1:5::gentoo  USE="-debug {-test}" 0 KiB
Comment 1 Frank Krömmelbein 2016-12-17 15:27:08 UTC
Created attachment 456484 [details]
build.log compressed with bzip2

emerge --info
Portage 2.3.0 (python 2.7.12-final-0, hardened/linux/amd64, gcc-4.9.3, glibc-2.22-r4, 4.7.10-hardened x86_64)
=================================================================
System uname: Linux-4.7.10-hardened-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.3
KiB Mem:    20537008 total,   9965888 free
KiB Swap:          0 total,         0 free
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.3::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /mnt/sda7/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 0

mylocal
    location: /usr/local/portage
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/mnt/sdb1/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://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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 aacs acl acpi alsa amd64 amr berkdb bluetooth bluray btrfs bzip2 cdda cddb cec chipcard clamav cli color-management consolekit cracklib crypt cryptsetup css cups cxx dbus declarative device-mapper djvu dmraid dri dts dvb dvd ebook encode epub exif ext4 f2fs faac fat ffmpeg flac fuse gdbm geoip gif gimp glamor google googledrive gpg gphoto2 gpm hardened hbci http2 iconv id3tag infinality ipv6 jfs joystick jpeg justify kde kipi ladspa lame lcms lensfun libsamplerate lirc lm_sensors lvm lz4 lzma mad matroska mdadm mjpeg mmx mmxext mng mobi modemmanager modules mp3 mpeg mtp multilib mysql ncurses networkmanager nfs nls nptl ntfs nvenc ogg opencl opengl openmp opus pam pax_kernel pcre pdf phonon pie plasma plymouth pm-utils png policykit postscript ppp pvr qml qt3support qt5 rar raw rdesktop rdp readline reiser4 reiserfs s3tc samba scanner seccomp semantic-desktop session sftp share smartcard smp sndfile sox squashfs sse sse2 ssl ssp svg tcpd tiff truetype twolame udev unicode upnp urandom usb v4l vaapi vcd vdpau vnc vorbis vpx webp widgets wifi wps x264 x265 xattr xcb xcomposite xfs xinerama xkb xscreensaver xtpax xv xvid xvmc zeroconf 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="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="author braindump flow karbon plan sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="evdev keyboard joystick mouse synaptics" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="virtualbox intel fbdev vesa nouveau nvidia radeon radeonsi amdgpu dummy" 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"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-12-17 15:28:59 UTC
I heard one report that rebuilding libkgapi might be a workaround.
Comment 3 Frank Krömmelbein 2016-12-17 15:49:27 UTC
Incredible but true, rebuilding of libkgapi fixed this issue.
Thank you Michael!

I had before run revdep-rebuild, but no problems were found.
Very strange...

Should I leave the ticket open?
Comment 4 Michael Palimaka (kensington) gentoo-dev 2016-12-17 17:06:18 UTC
A few people have hit this, so I'd still like to come up with a proper fix if possible.

I wonder if kcontacts broke ABI without bumping soname?
Comment 5 Dennis Schridde 2016-12-18 10:26:31 UTC
Rebuilding libkgapi also fixed it for me.
Comment 6 Matthias Nagel 2016-12-23 12:38:30 UTC
*** Bug 603576 has been marked as a duplicate of this bug. ***
Comment 7 Matthias Nagel 2016-12-23 12:40:10 UTC
I can confirm the bug and rebuilding libkgapi fixes this.
Comment 8 Johannes Huber (RETIRED) gentoo-dev 2016-12-23 15:39:37 UTC
(In reply to Michael Palimaka (kensington) from comment #4)
> A few people have hit this, so I'd still like to come up with a proper fix
> if possible.
> 
> I wonder if kcontacts broke ABI without bumping soname?

How about to make a no-op revision bump for libkgapi and raise the dependency for it in kdepim-runtime?
Comment 9 Kai Krakow 2017-01-04 11:43:53 UTC
Rebuilding libkgapi fixed it for me, too.
Comment 10 Andreas Sturmlechner gentoo-dev 2017-02-12 11:41:05 UTC
libkgapi-5.3.1-r1 is now in tree, so this can be closed as soon as 16.12.3 was bumped.
Comment 11 Andreas Sturmlechner gentoo-dev 2017-03-09 20:00:58 UTC
KDE Applications 16.12.3 was released and moved to tree.