Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648714 - dev-libs/log4cplus-1.2.0 : /.../c++<snip>_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler op
Summary: dev-libs/log4cplus-1.2.0 : /.../c++<snip>_warning.h:32:2: error: #error This ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-24 18:06 UTC by Toralf Förster
Modified: 2018-05-26 12:22 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.91 KB, text/plain)
2018-02-24 18:06 UTC, Toralf Förster
Details
dev-libs:log4cplus-1.2.0:20180224-163816.log (dev-libs:log4cplus-1.2.0:20180224-163816.log,101.32 KB, text/plain)
2018-02-24 18:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,229.73 KB, text/plain)
2018-02-24 18:06 UTC, Toralf Förster
Details
environment (environment,17.94 KB, text/plain)
2018-02-24 18:06 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.58 KB, application/x-bzip)
2018-02-24 18:06 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,14.96 KB, application/x-bzip)
2018-02-24 18:06 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.23 KB, application/x-bzip)
2018-02-24 18:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-02-24 18:06:38 UTC
                 from /usr/include/qt5/QtCore/QtGlobal:1,
                 from qt5debugappender/qt5debugappender.cxx:38:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
In file included from /usr/include/qt5/QtCore/qglobal.h:98:0,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_libressl_20180219-235058

  -------------------------------------------------------------------

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-libs/log4cplus
[ebuild  N    ] dev-libs/log4cplus-1.2.0  USE="iconv qt5 -threads -working-c-locale -working-locale"
Comment 1 Toralf Förster gentoo-dev 2018-02-24 18:06:41 UTC
Created attachment 520928 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-24 18:06:44 UTC
Created attachment 520930 [details]
dev-libs:log4cplus-1.2.0:20180224-163816.log
Comment 3 Toralf Förster gentoo-dev 2018-02-24 18:06:47 UTC
Created attachment 520932 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-02-24 18:06:50 UTC
Created attachment 520934 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-02-24 18:06:53 UTC
Created attachment 520936 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-02-24 18:06:56 UTC
Created attachment 520938 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-02-24 18:06:59 UTC
Created attachment 520940 [details]
temp.tbz2
Comment 8 Peter Levine 2018-03-24 22:23:46 UTC
The environment file and error message show that this is a GCC-5 bug, not a GCC-7 bug.  GCC-5 defaults to -std=gnu++98 and the build requires at least -std=c++11.  You could probably do 'append-cxxflags -std=c++14' to fix this.
Comment 9 Larry the Git Cow gentoo-dev 2018-05-26 12:22:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0972d3fbe34fee062f582a880a1490a349877afa

commit 0972d3fbe34fee062f582a880a1490a349877afa
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2018-05-26 11:20:34 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2018-05-26 12:22:31 +0000

    dev-libs/log4cplus: Force C++11
    
    Closes: https://bugs.gentoo.org/648714
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/log4cplus/log4cplus-1.2.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)