Another package that is broken by libsigc++ requiring -std=c++11. Attempted build with GCC 4.9.3. Snippet: OPERATOR_PARENTHESES template operator() ^ /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:264:29: note: in expansion of macro ‘SIGC_WORKAROUND_OPERATOR_PARENTHESES’ { return this->functor_.SIGC_WORKAROUND_OPERATOR_PARENTHESES<type_trait_pass_t<typename unwrap_reference<T_bound>::type>, type_trait_p ^ /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_tra^C Exiting on signal 2 from /usr/include/sigc++-2.0/sigc++/sigc++.h:89, from /usr/include/glibmm-2.4/glibmm/thread.h:51, from /usr/include/glibmm-2.4/glibmm.h:87, from /usr/include/gtkmm-3.0/gtkmm.h:87, from pavucontrol.h:29, from streamwidget.h:24, from streamwidget.cc:25: /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:290:151: error: expected primary-expression before ‘>’ token tor_.SIGC_WORKAROUND_OPERATOR_PARENTHESES<type_trait_pass_t<typename unwrap_reference<T_bound>::type>, type_trait_pass_t<T_arg1>, type_tra and more spam.
Can confirm the same errors on ~amd64 with the same gcc version. I was able to get pavucontrol-3.0 to compile on the same setup by adding "-std=c++11" to the CXXFLAGS. I've only done it from the command line at this point. I have no experience with patches or ebuilds at this point, but I'll see if I can come up with something, time permitting.
Created attachment 418436 [details, diff] Patch to build pavucontrol with c++11 flags Create files directory under pavucontrol and place patch there. Also will need updated ebuild.
Created attachment 418438 [details] Updated ebuild file for pavucontrol-3.0
Was able to get pavucontrol to build successfully using above patch and ebuild.
*** Bug 568134 has been marked as a duplicate of this bug. ***
(In reply to Philip Creighton from comment #1) > Can confirm the same errors on ~amd64 with the same gcc version. I am on ~amd64 with gcc 5.3.0 > I was able to get pavucontrol-3.0 to compile on the same setup by adding > "-std=c++11" to the CXXFLAGS. Ditto here, this works for me. # export CXXFLAGS="-std=c++11" # emerge -1a /usr/bin/pavucontrol
[master f6d2997] media-sound/pavucontrol: Fix building with latest glibmm/libsigc++ (#567216) 1 file changed, 2 insertions(+)
*** Bug 568496 has been marked as a duplicate of this bug. ***
(In reply to Pacho Ramos from comment #7) > [master f6d2997] media-sound/pavucontrol: Fix building with latest > glibmm/libsigc++ (#567216) > 1 file changed, 2 insertions(+) Any idea what ebuild this will show up in, and when?
*** Bug 569022 has been marked as a duplicate of this bug. ***
The ebuild is at https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7037f617f7e2ede65be5dc4de24b08217c6c0d6