Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503538 - sys-cluster/gearmand-0.34-r1 USE=memcache - In file included from .../work/gearmand-0.34/libtest/dream.cc:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support f
Summary: sys-cluster/gearmand-0.34-r1 USE=memcache - In file included from .../work/ge...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pavel Stratil
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-05 21:25 UTC by Denny Reeh
Modified: 2015-10-05 16:46 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,38.01 KB, text/plain)
2014-03-06 06:59 UTC, Denny Reeh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denny Reeh 2014-03-05 21:25:43 UTC
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.2, glibc-2.17, 3.13.5-gentoo x86_64)
=================================================================
System uname: Linux-3.13.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-2760QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     8069864 total,   1652376 free
KiB Swap:    8388604 total,   8350060 free
Timestamp of tree: Wed, 05 Mar 2014 18:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.4
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo mysql my_local_overlay javer
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7-avx -mtune=corei7-avx -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=corei7-avx -mtune=corei7-avx -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mysql /home/denny/workspace/gentoo/overlay /home/denny/workspace/gentoo/javer-overlay"
SYNC="rsync://rsync9.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 apm avahi berkdb bindist branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dell dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gconf gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 iconv imagemagick introspection ipv6 jpeg kde laptop lcms ldap libnotify libsecret lm_sensors mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls notebook nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl semantic-desktop session socialweb sony spell sse sse2 sse3 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb userlocales vaio vorbis wxwidgets x264 xcb xinerama xml xulrunner 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="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_default authn_file authz_core 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 socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="prefork" 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" 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 mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" NETBEANS_MODULES="php" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="vesa intel" 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 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
emerge -va =gearmand-0.34-r1





output of emerge

...
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/cinttypes:35:0,
                 from /usr/include/libmemcached-1.0/memcached.h:46,
                 from /var/tmp/portage/sys-cluster/gearmand-0.34-r1/work/gearmand-0.34/libtest/comparison.hpp:42,
                 from /var/tmp/portage/sys-cluster/gearmand-0.34-r1/work/gearmand-0.34/libtest/test.hpp:56,
                 from /var/tmp/portage/sys-cluster/gearmand-0.34-r1/work/gearmand-0.34/libtest/common.h:68,
                 from /var/tmp/portage/sys-cluster/gearmand-0.34-r1/work/gearmand-0.34/libtest/dream.cc:38:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
  ^
...
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-06 00:16:51 UTC
Please attach the entire build log to this bug report.
Comment 2 Denny Reeh 2014-03-06 06:59:43 UTC
Created attachment 371836 [details]
build.log

entire build log attached
Comment 3 Gaetan 2015-04-28 09:14:46 UTC
Same issue here with brand new Gentoo install.

Any update on this ?
Comment 4 Gaetan 2015-04-28 09:31:06 UTC
Here is a temporary workaround :

CFLAGS="-O2 -pipe -std=c++11" CXXFLAGS="-O2 -pipe -std=c++11" emerge gearmand -qav1
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-05 16:46:01 UTC
commit d7735a14ce260b2d8cc8b004949169ee2a27d272
Author: Szpadel <piotrekrogowski@gmail.com>
Date:   Tue Sep 29 10:44:19 2015 +0200

    sys-cluster/gearmand: Add -std=c++11 flag, bug #503538
    
    Fixes: https://bugs.gentoo.org/show_bug.cgi?id=503538
    Pull-Request: https://github.com/gentoo/gentoo/pull/142