Opened 6 months ago
Closed 6 months ago
#69964 closed defect (fixed)
gconfmm fails to build: error: template with C linkage
Reported by: | barracuda156 | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ||
Port: | gconfmm |
Description
In file included from /opt/local/include/glib-2.0/glib/glib-typeof.h:43, from /opt/local/include/glib-2.0/glib/gatomic.h:30, from /opt/local/include/glib-2.0/glib/gthread.h:34, from /opt/local/include/glib-2.0/glib/gasyncqueue.h:34, from /opt/local/include/glib-2.0/glib.h:34, from /opt/local/include/glib-2.0/gobject/gbinding.h:30, from /opt/local/include/glib-2.0/glib-object.h:24, from /opt/local/include/gconf/2/gconf/gconf-client.h:24, from ../gconfmm/callback.h:27, from callback.cc:22: /opt/local/include/gcc13/c++/type_traits:44:3: error: template with C linkage 44 | template<typename _Tp> | ^~~~~~~~ ../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here 25 | extern "C" | ^~~~~~~~~~ /opt/local/include/gcc13/c++/type_traits:61:3: error: template with C linkage 61 | template<typename _Tp, _Tp __v> | ^~~~~~~~ ../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here 25 | extern "C" | ^~~~~~~~~~ /opt/local/include/gcc13/c++/type_traits:89:3: error: template with C linkage 89 | template<bool __v> | ^~~~~~~~ ../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here 25 | extern "C" | ^~~~~~~~~~ /opt/local/include/gcc13/c++/type_traits:97:3: error: template with C linkage 97 | template<bool __v> | ^~~~~~~~ ../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here 25 | extern "C" | ^~~~~~~~~~ /opt/local/include/gcc13/c++/type_traits:105:3: error: template with C linkage 105 | template<bool, typename _Tp = void> | ^~~~~~~~ ../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here 25 | extern "C" | ^~~~~~~~~~ /opt/local/include/gcc13/c++/type_traits:110:3: error: template with C linkage 110 | template<typename _Tp> | ^~~~~~~~ ../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here 25 | extern "C" | ^~~~~~~~~~ /opt/local/include/gcc13/c++/type_traits:115:3: error: template with C linkage 115 | template<bool _Cond, typename _Tp = void> | ^~~~~~~~ ../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here 25 | extern "C" | ^~~~~~~~~~ /opt/local/include/gcc13/c++/type_traits:118:3: error: template with C linkage 118 | template<bool> | ^~~~~~~~ . . .
Change History (5)
comment:1 follow-up: 2 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 6 months ago by barracuda156
Replying to ryandesign:
How did you even get this far? On buildbot workers it fails before configure with:
Makefile.am:26: error: ENABLE_DOCUMENTATION does not appear in AM_CONDITIONAL
Maybe dependency on autoconf_archive
is needed but not declared? And I have it installed.
comment:3 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
comment:4 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Status: | new → accepted |
Found a similar Arch Linux bug report which led to a glib bug report since it was a glib change that caused this which led to a rejected glib merge request to fix it because it was decided that each project was doing it wrong and needed to fix it individually and finally to the Fedora patch for this problem in gconfmm since gconfmm is not being developed anymore.
comment:5 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
How did you even get this far? On buildbot workers it fails before configure with: