Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590998 - app-admin/collectd-5.5.1-r4 : /.../mount.h:35:3: error: expected identifier before numeric constant
Summary: app-admin/collectd-5.5.1-r4 : /.../mount.h:35:3: error: expected identifier b...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Deutschmann
Depends on:
Reported: 2016-08-11 06:44 UTC by Toralf Förster
Modified: 2016-08-11 16:43 UTC (History)
1 user (show)

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

app-admin:collectd-5.5.1-r4:20160811-042441.log (app-admin:collectd-5.5.1-r4:20160811-042441.log,64.37 KB, text/plain)
2016-08-11 06:44 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,490.45 KB, text/plain)
2016-08-11 06:44 UTC, Toralf Förster
environment (environment,277.90 KB, text/plain)
2016-08-11 06:44 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-08-11 06:44:11 UTC
                 from /usr/include/xfs/xqm.h:21,
                 from utils_mount.c:30:
/usr/include/sys/mount.h:35:3: error: expected identifier before numeric constant
   MS_RDONLY = 1,  /* Mount read-only.  */
make[3]: *** [Makefile:3916: utils_mount.lo] Error 1

$ cat emerge-info.txt

  This is an unstable amd64 chroot image (named amd64-13.0-systemd-unstable_20160731-161603) at a hardened host acting as a tinderbox.

  USE flags defined in ...

  ... make.conf:
USE="  pax_kernel xtpax -cdinstall -oci8 -bindist -aes-ni alisp alsa apache2 btrfs bzip2 cdda corefonts custom-cflags dec_av2 declarative dnssec dot gcj gd gif graphtft gtk2 introspection isag ithreads mbox mng modplug mp3 mpeg mpeg2 mpg123 mpi multimedia ncurses nls nscd offensive ogg openexr openssl -pam pcre16 -qemu qml qt3support rdoc rendering scripts sddm sqlite ssh ssh-askpass sslv2 swscale system-cairo system-libevent system-libs timidity traceroute usbredir v4l2 webstart widgets x265 xvmc zenmap -zip zlib"

  ... /etc/portage/package.use/*:
  mail-mta/ssmtp    ssl
  net-misc/wget     ssl
  app-editors/emacs -dbus -svg -ssl -gtk -gtk3
  dev-util/cmake  -qt4 -qt5

  unmasked packages in /etc/portage/package.unmask/*:


gcc-config -l:
 [1] x86_64-pc-linux-gnu-4.9.3
 [2] x86_64-pc-linux-gnu-5.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby20 (with Rubygems)
  [2]   ruby21 (with Rubygems) *

Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0/systemd, gcc-5.4.0, glibc-2.23-r2, 4.6.5-hardened-r1 x86_64)
                         System Settings
System uname: Linux-4.6.5-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16156124 total,   1284360 free
KiB Swap:   16777212 total,  16537716 free
Timestamp of repository gentoo: Thu, 11 Aug 2016 02:43:47 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.7 [disabled]
app-shells/bash:          4.3_p46::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/ccache:          3.2.7::gentoo
dev-util/cmake:           3.6.1::gentoo
sys-apps/baselayout:      2.2-r1::gentoo
sys-apps/openrc:          0.21.3::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.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.26.1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 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.4::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/omega.conf /etc/stunnel/stunnel.conf /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/qpsmtpd/plugins /var/rancid/.cloginrc /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/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 --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 alisp alsa amd64 apache2 berkdb btrfs bzip2 cdda cli corefonts cracklib crypt custom-cflags cxx dec_av2 declarative dnssec dot dri fortran gcj gd gdbm gif graphtft gtk2 iconv introspection ipv6 isag ithreads mbox mmx mmxext mng modplug modules mp3 mpeg mpeg2 mpg123 mpi multilib multimedia ncurses nls nptl nscd offensive ogg openexr openmp openssl pax_kernel pcre pcre16 qml qt3support rdoc readline rendering scripts sddm seccomp session sqlite sse sse2 ssh ssh-askpass ssl sslv2 swscale system-cairo system-libevent system-libs systemd tcpd timidity traceroute udev unicode usbredir v4l2 webstart widgets x265 xattr xtpax xvmc zenmap 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="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="keyboard mouse evdev" KERNEL="linux" L10N="bn es-AR it ku om ss tl" 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="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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-08-11 06:44:14 UTC
Created attachment 442998 [details]
Comment 2 Toralf Förster gentoo-dev 2016-08-11 06:44:17 UTC
Created attachment 443000 [details]
Comment 3 Toralf Förster gentoo-dev 2016-08-11 06:44:20 UTC
Created attachment 443002 [details]
Comment 4 Thomas Deutschmann gentoo-dev Security 2016-08-11 11:13:08 UTC
Build failure only happens with sys-fs/xfsprogs-4.7.0.
Comment 5 Thomas Deutschmann gentoo-dev Security 2016-08-11 16:43:36 UTC
Thanks for the report!

> commit 9d5c0697e68fde681d07d283a2a8a3c67d5a7823
> Author: Thomas Deutschmann
> Date:   Thu Aug 11 18:26:01 2016 +0200
>     app-admin/collectd: Bump to v5.5.2
>       - New upstream release (Fixes CVE-2016-6254)
>       - Dependency on sys-fs/xfsprogs atom can now be controlled using the
>         new "xfs" USE flag.
>         If you don't enable "xfs" USE flag the df plugin will be unable to
>         filter on XFS partitions.
>       - Fixes build issues with sys-fs/xfsprogs-4.7.0 (bug #590998)
>       - Cherry-picked patches for upstream issue "network plugin causes core
>         dumps" (#1870)