Summary: | dev-cpp/gtkmm-2.24.4-r2 - -std=c++11 required | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tman <cornicx> |
Component: | Current packages | Assignee: | GNOME C++ Bindings Maintainers (OBSOLETE) <gnome-mm+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amade, forreg, gentoo, mgorny, rhill |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://git.gnome.org/browse/gtkmm/commit/?h=gtkmm-2-24&id=5b8f1294844e3639c6be802dda81fa853511bf30 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 566328 | ||
Attachments: |
/mnt/portage/logs/dev-cpp:gtkmm-2.24.4-r2:20151110-082709.log
log Temporary solution |
Description
tman
2015-11-10 08:29:37 UTC
Created attachment 416520 [details]
/mnt/portage/logs/dev-cpp:gtkmm-2.24.4-r2:20151110-082709.log
You list a bunch of warnings, but not the first error: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/type_traits:35:0, from /usr/include/sigc++-2.0/sigc++/visit_each.h:22, from /usr/include/sigc++-2.0/sigc++/functors/slot.h:6, from /usr/include/sigc++-2.0/sigc++/signal_base.h:27, from /usr/include/sigc++-2.0/sigc++/signal.h:8, from /usr/include/sigc++-2.0/sigc++/sigc++.h:86, from /usr/include/glibmm-2.4/glibmm/thread.h:51, from /usr/include/glibmm-2.4/glibmm.h:87, from /var/tmp/portage/dev-cpp/gtkmm-2.24.4-r2/work/gtkmm-2.24.4/gdk/gdkmm/cursor.h:7, from /var/tmp/portage/dev-cpp/gtkmm-2.24.4-r2/work/gtkmm-2.24.4/gdk/gdkmm/cursor.cc:4: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/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 \ Created attachment 416618 [details]
log
here is the log
This bug also affected me. Letting it compile with -std=c++11 within package.env made it compile without issues. Same here, a lot of similar issues, e.g. bug 566318, media-gfx/inkscape-0.91 - multiple error after libsigc++-2.6.2 and glibmm-2.46.1 upgrade *** Bug 566780 has been marked as a duplicate of this bug. *** Created attachment 417822 [details]
Temporary solution
I found temporary solution. gtkmm builds properly if you downgrade dev-libs/libsigc++ dev-cpp/glibmm dev-cpp/pangomm dev-cpp/cairomm dev-cpp/atkmm to their stable versions. Use this solution only if you very need to build gtkmm. So unstable versions of these packages need to be reworked.
mysql-workbench also affected -- there, the simple package.env work-around can't work due to code like: src_vex() { strip-flags cmake_src_vex } I've added -std=c++11 in a revbump since this is a stable ebuild. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aae3ec3d3bd4b4f8dbb22a4b5e299252249a8ddf |