Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604828 - net-misc/spice-gtk-0.33-r1 : ./.../ undefined reference to `minor'
Summary: net-misc/spice-gtk-0.33-r1 : ./.../ undefined ref...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
Depends on:
Blocks: glibc-sysmacros
  Show dependency tree
Reported: 2017-01-06 12:42 UTC by Toralf Förster
Modified: 2017-05-11 05:43 UTC (History)
1 user (show)

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

config.log (config.log,147.01 KB, text/plain)
2017-01-06 12:43 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,373.11 KB, text/plain)
2017-01-06 12:43 UTC, Toralf Förster
environment (environment,112.49 KB, text/plain)
2017-01-06 12:43 UTC, Toralf Förster
etc.portage.tbz2 (etc.portage.tbz2,20.49 KB, application/x-bzip)
2017-01-06 12:43 UTC, Toralf Förster
net-misc:spice-gtk-0.33-r1:20170106-111601.log (net-misc:spice-gtk-0.33-r1:20170106-111601.log,452.63 KB, text/plain)
2017-01-06 12:43 UTC, Toralf Förster
usbutil patch (usbutil.patch,297 bytes, patch)
2017-04-05 23:16 UTC, Erik Fjeldstrom
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 2017-01-06 12:42:55 UTC
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -Wall  -Wl,-O1 -Wl,--as-needed -o spicy-stats spicy-stats.o spice-cmdline.o -lgobject-2.0 -lglib-2.0    
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wl,-O1 -o .libs/spicy-stats spicy-stats.o spice-cmdline.o  -Wl,--as-needed ./.libs/ -lcelt051 -lgthread-2.0 /usr/lib64/ -lm -lgio-2.0 -ljpeg -lz -llz4 -lpixman-1 -lssl -lcrypto -lpulse-mainloop-glib -lpulse -lusb-1.0 -lusbredirhost -lusbredirparser -lgobject-2.0 -lglib-2.0 -pthread
./.libs/ undefined reference to `minor'


  This is an unstable amd64 chroot image (named gnome-systemd-unstable_20161228-205023) at a hardened host acting as a tinderbox.

  from make.conf:
USE="  pax_kernel xtpax -cdinstall -oci8 -bindist ssp avformat btrfs clang dvb -eglfs fax ftp gif -gtk help -infinality inifile mpeg2 mysqli ois osc pam -qt5 semantic-desktop sqlite -system-libevent -thinkpad usbredir vorbis x265 -xcb -xz"

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
Available Java Virtual Machines:
  [1]   icedtea-7 
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8  system-vm
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
The following VMs are available for generation-2:
1)	IcedTea JDK [icedtea-7]
2)	IcedTea JDK [icedtea-bin-7]
*)	IcedTea JDK 3.2.0 [icedtea-bin-8]

$ cat emerge-info.txt
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.24, 4.8.15-hardened x86_64)
                         System Settings
System uname: Linux-4.8.15-hardened-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.3
KiB Mem:    65285560 total,   1152172 free
KiB Swap:   67108860 total,  67087928 free
Timestamp of repository gentoo: Fri, 06 Jan 2017 08:22:52 +0000
sh bash 4.4_p5-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.4_p5-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.7.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.1::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.27::gentoo
sys-devel/gcc:            5.4.0-r2::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.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24::gentoo

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

    location: /tmp/tb/data/portage
    masters: gentoo
    priority: 2

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

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe -march=native -Wall"
CONFIG_PROTECT="/etc /etc/omega.conf /etc/stunnel/stunnel.conf /opt/openfire/resources/security/ /usr/lib64/fax /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/qpsmtpd/plugins /var/lib/hsqldb /var/spool/fax/etc /var/yp/Makefile"
CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
EMERGE_DEFAULT_OPTS="--verbose --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="X a52 aac acl acpi alsa amd64 avformat berkdb bluetooth branding btrfs bzip2 cairo cdda cdr clang cli colord cracklib crypt cups cxx dbus dri dts dvb dvd dvdr eds emboss encode evo exif fam fax firefox flac fortran ftp gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer help iconv inifile introspection ipv6 jpeg lcms ldap libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg mpeg2 multilib mysqli nautilus ncurses nls nptl ogg ois opengl openmp osc pam pango pax_kernel pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp semantic-desktop session spell sqlite sse sse2 ssl ssp startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb usbredir vorbis wxwidgets x264 x265 xattr xml xtpax xv xvid 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" L10N="cak ff sk zh" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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="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 2017-01-06 12:43:02 UTC
Created attachment 458904 [details]
Comment 2 Toralf Förster gentoo-dev 2017-01-06 12:43:05 UTC
Created attachment 458906 [details]
Comment 3 Toralf Förster gentoo-dev 2017-01-06 12:43:08 UTC
Created attachment 458908 [details]
Comment 4 Toralf Förster gentoo-dev 2017-01-06 12:43:11 UTC
Created attachment 458910 [details]
Comment 5 Toralf Förster gentoo-dev 2017-01-06 12:43:14 UTC
Created attachment 458912 [details]
Comment 6 Erik Fjeldstrom 2017-04-05 23:16:40 UTC
Created attachment 469304 [details, diff]
usbutil patch

The usbredir flag includes usbutil.c, which is missing an included header. This patch allows the build to complete successfully.
Comment 7 Alexander Tsoy 2017-04-24 14:33:14 UTC
(In reply to Erik Fjeldstrom from comment #6)
> Created attachment 469304 [details, diff] [details, diff]
> usbutil patch
> The usbredir flag includes usbutil.c, which is missing an included header.
> This patch allows the build to complete successfully.

Upstream commit:
Comment 8 Matthias Maier gentoo-dev 2017-05-11 05:43:59 UTC
commit 6c57d091a0e723d3182b0de13a7f1df7d54a9d6f
Author: Matthias Maier <>
Date:   Thu May 11 00:33:45 2017 -0500

    net-misc/spice-gtk: fix compile error, bug #604828
    Fix a compilation issue
        ./.../ undefined reference to `minor'
    by applying the corresponding upstream patch.
    Thanks to Erik and Alexander for the patches.
    Package-Manager: Portage-2.3.5, Repoman-2.3.2