Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585994 - app-emulation/spice-vdagent-0.17.0 : vdagentd.c:(.text+0x128b): undefined reference to `session_info_session_is_locked'
Summary: app-emulation/spice-vdagent-0.17.0 : vdagentd.c:(.text+0x128b): undefined ref...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
Depends on:
Blocks: gcc-5
  Show dependency tree
Reported: 2016-06-15 06:28 UTC by Toralf Förster
Modified: 2016-12-11 23:20 UTC (History)
2 users (show)

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

app-emulation:spice-vdagent-0.17.0:20160614-232216.log (app-emulation:spice-vdagent-0.17.0:20160614-232216.log,10.08 KB, text/plain)
2016-06-15 06:28 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,406.35 KB, text/plain)
2016-06-15 06:28 UTC, Toralf Förster
environment (environment,104.94 KB, text/plain)
2016-06-15 06:28 UTC, Toralf Förster
Fixup build without consolekit (fixup-no-consolekit.patch,498 bytes, patch)
2016-06-27 00:28 UTC, Pat Erley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-06-15 06:28:19 UTC
x86_64-pc-linux-gnu-gcc -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include     -I/usr/include/spice-1   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -fPIE -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o src/spice-vdagentd src/src_spice_vdagentd-vdagentd.o src/src_spice_vdagentd-vdagentd-uinput.o src/src_spice_vdagentd-vdagentd-xorg-conf.o src/src_spice_vdagentd-vdagent-virtio-por
src/src_spice_vdagentd-vdagentd.o: In function `virtio_port_read_complete':
vdagentd.c:(.text+0x128b): undefined reference to `session_info_session_is_locked'
collect2: error: ld returned 1 exit status
make: *** [Makefile:625: src/spice-vdagentd] Error 1
 * ERROR: app-emulation/spice-vdagent-0.17.0::gentoo failed (compile phase):

$ cat emerge-info.txt

  This is an unstable amd64 chroot image (named amd64-hardened-unstable_20160605-224713) at a hardened host acting as a tinderbox.


  make.conf: USE="sse2 pax_kernel xtpax -cdinstall -oci8 -bindist btrfs bugzilla -cairo cddb compat -consolekit csc -debug drmkms -dvd eglfs gd gnomecanvas gzip haptic hdf5 ibus inifile ipv6 isag javafx kvm latex libkms melt midi minizip mpeg mysqli obj ois opencv openexr openssl pcre16 php postgres postproc -printsupport pwquality qt3support qt4 rdoc scrypt smartcard sql sse4_2 theora truetype -usb v4l2 -vaapi -vala -x264"


Portage 2.3.0_rc1 (python 2.7.11-final-0, hardened/linux/amd64, gcc-5.4.0, glibc-2.23-r2, 4.5.7-hardened-r1 x86_64)
System uname: Linux-4.5.7-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16157888 total,   3826508 free
KiB Swap:   16777212 total,  16724052 free
Timestamp of repository gentoo: Tue, 14 Jun 2016 21:41:59 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.4::gentoo, 3.5.1-r3::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: 1

    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /etc/grs/systems.conf /etc/omega.conf /etc/stunnel/stunnel.conf /usr/lib64/tomoyo/conf /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/qpsmtpd/plugins /var/rancid/.cloginrc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.5/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=native -O2 -pipe"
EMERGE_DEFAULT_OPTS="--verbose-conflicts --color=n --nospinner --tree --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" rsync:// rsync://"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="acl amd64 berkdb btrfs bugzilla bzip2 cddb cli compat cracklib crypt csc cxx dri drmkms eglfs gd gdbm gnomecanvas gzip haptic hardened hdf5 ibus iconv inifile ipv6 isag javafx justify kvm latex libkms melt midi minizip mmx mmxext modules mpeg multilib mysqli ncurses nls nptl obj ois opencv openexr openmp openssl pam pax_kernel pcre pcre16 php pie postgres postproc pwquality qt3support qt4 rdoc readline scrypt seccomp session smartcard sql sse sse2 sse4_2 ssl ssp tcpd theora truetype unicode urandom v4l2 xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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="intel i965" 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"
Comment 1 Toralf Förster gentoo-dev 2016-06-15 06:28:26 UTC
Created attachment 437618 [details]
Comment 2 Toralf Förster gentoo-dev 2016-06-15 06:28:29 UTC
Created attachment 437620 [details]
Comment 3 Toralf Förster gentoo-dev 2016-06-15 06:28:32 UTC
Created attachment 437622 [details]
Comment 4 Pat Erley 2016-06-15 08:09:31 UTC
Looks related to -consolekit (I hit this too).  Probably a missing stub define for this function in the case of it being configured without it.
Comment 5 Andreas Proteus 2016-06-15 20:17:42 UTC
(In reply to Pat Erley from comment #4)
I confirm that it compiles fine if set USE="consolekit" 
Thanks for the tip.
Comment 6 Pat Erley 2016-06-27 00:28:24 UTC
Created attachment 438928 [details, diff]
Fixup build without consolekit

This stub function was missing.
Comment 7 David Seifert gentoo-dev 2016-12-11 23:20:48 UTC
commit dc4c700f8a4f928fc57191d2fb133709cb1436d2
Author: David Seifert <>
Date:   Mon Dec 12 00:09:17 2016 +0100

    app-emulation/spice-vdagent: Fix underlinking with GCC 5
    Gentoo-bug: 585994
    * EAPI=6
    * Patch by Pat Erley