Bug 912503
| Summary: | Does not build against new boost / GCC 4.8 (FTBFS) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> | ||||
| Component: | evolution-data-server | Assignee: | Matthew Barnes <mbarnes> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | eugen.dedu, mbarnes, mcrha, pbrobinson, pmachata | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | evolution-data-server-3.7.90-3 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-02-21 09:57:59 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Adam Williamson
2013-02-18 20:25:34 UTC
Does this appear with other programs using boost? The error appears in boost... Nothing else I have installed, all my other packages passed the boost bump rebuild okay. But there may be others that I don't have installed, possibly. We could CC boost maintainers. Please CC boost maintainers, because I do not know what to do with this bug. OK! Petr, can you shed any light on this? Thanks! This doesn't seem to be boost-related. The following is a minimal reproducer:
#include <libebook/libebook.h>
template <class C> class X {};
}}
With this, I get:
../../plugins/evolution/evolution-contact.cpp:2:1: error: template with C linkage
template <class C> class X {};
Note the two dangling braces. It seems as if something either in libebook, or transitively included by it, forgets a closing brace in their extern "C".
Yet more minimal test case (but we lost one dangling brace, so chances are there are more instances):
#include <camel/camel.h>
template <class C> class X {};
}
Created attachment 700137 [details]
Fix for this issue
This appears to fix the problem. There were indeed two instances of the same issue.
FWIW, the following only returns the two cases that the patch addresses, so this type of issue should really be taken care of now. I checked that there are no instances of the inverse issue (END without BEGIN).
$ find /usr/include/evolution-data-server/ -type f -exec grep -q G_BEGIN_DECLS {} \; \( -exec grep -q G_END_DECLS {} \; -o -print \)
Thanks for a bug report. Part of this had been fixed two days ago within: http://git.gnome.org/browse/evolution-data-server/commit/?id=02acf9dc708c3bb2d96db78dae56272ab65ef13c http://git.gnome.org/browse/evolution-data-server/commit/?id=08ddf26463b24bd6da5561256762440502e50af1 and the other part is also dealt upstream, within https://bugzilla.gnome.org/show_bug.cgi?id=694152 I'll backport the upstream changes and build eds with it shortly. I'm currently building evolution-data-server-3.7.90-3: http://koji.fedoraproject.org/koji/taskinfo?taskID=5039181 I also added patch for IMAPx summary vanish there: https://bugzilla.gnome.org/show_bug.cgi?id=693101 Please reopen in case the build will not work for you. Thanks. ekiga 4.0.1 now built in rawhide, adam would love feedback on the release peter: I don't really use it, I only have it installed as part of the GNOME group I think. No-one I know uses anything Ekiga supports any more :/ all video chat seems to be Google Hangouts these days, and the future is WebRTC... |