Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605022 - sys-apps/systemd sys-fs/udev fail to build with dev-util/gperf-3.1
Summary: sys-apps/systemd sys-fs/udev fail to build with dev-util/gperf-3.1
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo systemd Team
Keywords: InVCS
: 605090 (view as bug list)
Depends on: CVE-2016-7795, CVE-2016-7796
Blocks: gperf-3.1
  Show dependency tree
Reported: 2017-01-08 07:41 UTC by klaus818
Modified: 2017-10-08 19:55 UTC (History)
11 users (show)

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

build.log (build.log,691.92 KB, text/x-log)
2017-01-08 07:41 UTC, klaus818

Note You need to log in before you can comment on or make changes to this bug.
Description klaus818 2017-01-08 07:41:20 UTC
Created attachment 459130 [details]

emerge --info
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-6.3.0, glibc-2.23-r3, 4.9.1-gentoo x86_64)
System uname: Linux-4.9.1-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_B960_@_2.20GHz-with-gentoo-2.3
KiB Mem:     3902668 total,    217312 free
KiB Swap:    8191996 total,   8191988 free
Timestamp of repository gentoo: Sat, 07 Jan 2017 23:00:01 +0000
sh bash 4.4_p5-r1
ld GNU ld (Gentoo 2.27 p1.0) 2.27
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
dev-util/cmake:           3.7.1::gentoo
dev-util/pkgconfig:       0.29.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.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            6.3.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.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo

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

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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="-march=native -O2 -pipe"
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 berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam fax ffmpeg firefox flac fortran gdbm gif gimp glamor gnome gnome-keyring gnome-online-accounts google gpm gstreamer gtk gtk3 iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl office ogg opengl openmp opus pam pango pch pcre pdf png policykit postproc ppds pulseaudio readline scanner sdl seccomp session smp spell sse sse2 ssl startup-notification svg system-harfbuzz system-icu system-jpeg system-libvpx system-sqlite systemd tcpd threads tiff tracker truetype udev udisks unicode upower usb vaapi vorbis vpx vulkan wifi wxwidgets x264 x265 xattr xcb xml xv xvid zlib" ABI_X86="64" 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="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" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" SANE_BACKENDS="hp" 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 Mike Gilbert gentoo-dev 2017-01-08 14:33:31 UTC
I can reproduce this with gperf-3.1.
Comment 2 Mike Gilbert gentoo-dev 2017-01-08 14:45:48 UTC
Reported upstream.
Comment 3 Mike Gilbert gentoo-dev 2017-01-09 22:53:38 UTC
*** Bug 605090 has been marked as a duplicate of this bug. ***
Comment 4 Anthony Basile gentoo-dev 2017-01-09 23:21:47 UTC
(In reply to Mike Gilbert from comment #2)
> Reported upstream.

Here's the fix for eudev:
Comment 5 Mike Gilbert gentoo-dev 2017-01-09 23:34:10 UTC
(In reply to Anthony Basile from comment #4)

systemd builds with -Werror=misson-prototypes, so that doesn't work for us.
Comment 6 Anthony Basile gentoo-dev 2017-01-09 23:57:57 UTC
(In reply to Mike Gilbert from comment #5)
> (In reply to Anthony Basile from comment #4)
> systemd builds with -Werror=misson-prototypes, so that doesn't work for us.

You mean missing-prototypes.  Yeah, that won't work.
Comment 7 Mike Gilbert gentoo-dev 2017-01-10 22:23:47 UTC

warning: only found copies from modified paths due to too many files.
commit de560673b0254d41cc9ba910df222cf558ceafe3
Author: Mike Gilbert <>
Date:   Tue Jan 10 17:15:58 2017 -0500

    sys-apps/systemd: fix build with gperf-3.1


    Package-Manager: Portage-2.3.3_p25, Repoman-2.3.1_p18

 ...eck-for-lz4-in-the-old-and-new-numbering.patch} |  12 +-
 ...dd-check-for-gperf-lookup-function-signat.patch | 302 +++++++++++++++++++++
 sys-apps/systemd/systemd-232.ebuild                |   3 +-
 3 files changed, 310 insertions(+), 7 deletions(-)
Comment 8 Flo Gravo 2017-01-11 12:04:25 UTC
Tacker bug:
Comment 9 Mike Gilbert gentoo-dev 2017-01-16 16:38:19 UTC

commit 09cd09946cdad79faace80036a301784289a7e38
Author: Mike Gilbert <>
Date:   Mon Jan 16 11:37:11 2017 -0500

    sys-fs/udev: fix build with gperf-3.1
    Package-Manager: Portage-2.3.3_p32, Repoman-2.3.1_p25

 ...32-0002-build-sys-add-check-for-gperf-lookup-function-signat.patch | 0
 sys-fs/udev/udev-230-r1.ebuild                                        | 4 +++-
 sys-fs/udev/udev-232-r2.ebuild                                        | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)
Comment 10 Mike Gilbert gentoo-dev 2017-01-16 16:41:08 UTC
This bug should remain open until the following packages are stable: