Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479500 - media-sound/spek-0.8.3 - cc1plus: error: unrecognized command line option ‘-std=gnu++11’
Summary: media-sound/spek-0.8.3 - cc1plus: error: unrecognized command line option ‘-s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-02 12:18 UTC by boxcars
Modified: 2013-08-03 09:41 UTC (History)
0 users

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


Attachments
build log (build.log,12.64 KB, text/plain)
2013-08-02 12:18 UTC, boxcars
Details
config.log (config.log,23.86 KB, text/plain)
2013-08-02 12:25 UTC, boxcars
Details

Note You need to log in before you can comment on or make changes to this bug.
Description boxcars 2013-08-02 12:18:55 UTC
Created attachment 354904 [details]
build log

I've attached the build log.  Here's more info:

$ emerge -pqv '=media-sound/spek-0.8.3'
[ebuild     U ] media-sound/spek-0.8.3 [0.8.1]

$ emerge --info '=media-sound/spek-0.8.3'
Portage 2.1.12.13 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo-mlc x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-mlc-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_740_@_1.73GHz-with-gentoo-2.2
KiB Mem:     4033652 total,   1911648 free
KiB Swap:    4096536 total,   3800428 free
Timestamp of tree: Fri, 02 Aug 2013 06:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo gamerlay steam-overlay
Installed sets: @realsystem
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --load-average 7.2 --jobs 8"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://mirror.datapipe.net/gentoo http://mirrors.rit.edu/gentoo/ http://lug.mtu.edu/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.cs.uni.edu/ http://gentoo.gossamerhost.com http://gentoo.netnitco.net"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs=8 --load-average=7.2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/gamerlay /var/lib/layman/steam"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X a52 aac accessibility acl acpi additions alsa amazon amd64 apng arts aspell ass audio avahi avcodec avformat bash-completion battery berkdb blender-game bluetooth bookmarks bzip2 cairo canlock cdda cddb cdemu-daemon cdio cdparanoia chatzilla classic cleanweb clucene color consolekit cpufreq cracklib crypt cryptsetup css cups curl cxx dbus dcc_video declarative device-mapper dga dialup dillo divx dri dts dvd dvdr dvdread encode equalizer eselect expat extra-cardsets fam fat fbcon ffmpeg file-icons filters firefox firmware-loader flac fltk fontconfig foomaticdb fortran ftp fts3 fuse g3dvl gallium game-engine gd gdbm gif gimp gles2 glib glitz gmedia gnokii gnutls gpm graphviz gstreamer gudev handbook hddtemp holidays hwdb iconv icu id3 id3tag idn imagemagick imap inotify int-quality ios ios-vout ipc ipod ipw4965 irc jabber jit jpeg json kde kdehiddenvisibility kerberos keymap keywords kipi kmod konqueror kqemu ladspa lame lcms libass libev libkms libnotify libsexy libvisual lightning lm_sensors logitech-mouse logrotate mad matroska mbox mdnsresponder-compat menu-plugin methodjit midi mikmod mime minizip mmx mmxext mng mod modplug mouse mozdevelop mozdom moznocompose moznoirc moznomail moznoroaming mp3 mpd mpeg mplayer mudflap multilib musepack musicbrainz nano-syntax natspec ncurses nls nntp nptl nsplugin ntfs nvidia offensive offlinehelp ofx ogg opengl openmp openrc opus pam pcf pcmcia pcre pdf pdfimport perl pgo plasma player plotutils plugins plugins-symlink pmu png policykit portmon postproc ppds psf python qt3support qt4 quicktime raptor readline redland reiserfs resolvconf rss sasl screenshot sdl sdl-image secure-delete security semantic-desktop sensord session shared-glapi skins slang smime smp sound spell sqlite sse sse2 sse2check sse3 sse4 sse4_1 ssl ssse3 startup-notification statistics stl svg swat swscale symlink syslog system-jpeg tcpd themes theora threads threadsafe thumbnail tidy tiff tor tordns trash-plugin truetype udev udisks unicode upower usb uudeview uuencode v4l v4l2 vamp vcd vcdinfo vcdx vdpau video virtuoso visualization vlm vorbis wav weather-metar weather-xoap webdav webdav-neon webm wifi winbind wma wmp xcb xcomposite xface xfce xforms xine xml xorg xosd xpdf-headers xscreensaver xv xvmc zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LINGUAS="en_US en" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa v4l"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 boxcars 2013-08-02 12:25:19 UTC
Created attachment 354906 [details]
config.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-02 12:44:45 UTC
work/spek-0.8.3 $ grep -r -- -std= .
./configure.ac:CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra"

Why would it be doing that?
Comment 3 Michael Weber (RETIRED) gentoo-dev 2013-08-03 09:22:53 UTC
(In reply to Jeroen Roovers from comment #2)
> work/spek-0.8.3 $ grep -r -- -std= .
> ./configure.ac:CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra"
> 
> Why would it be doing that?

It needs at least -std=gnu++11 or -std=c++11 from gcc:4.7.
-std=gnu++0x and -std=c++0x from gcc:4.6 isn't sufficient.
Comment 4 Michael Weber (RETIRED) gentoo-dev 2013-08-03 09:23:05 UTC
http://gcc.gnu.org/projects/cxx0x.html
Comment 5 Michael Weber (RETIRED) gentoo-dev 2013-08-03 09:41:16 UTC
+  03 Aug 2013; Michael Weber <xmw@gentoo.org> spek-0.8.3.ebuild:
+  Require gcc:4.7 or newer (bug 479500).
+

I've added a gcc-version check into src_prepare.