Bug 1194572 - Fails to build with gcc5
Summary: Fails to build with gcc5
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ptlib
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-20 09:10 UTC by Milan Crha
Modified: 2015-02-27 00:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-27 00:26:31 UTC
Type: Bug


Attachments (Terms of Use)
fix-gnuc-version-check.patch (535 bytes, patch)
2015-02-20 10:05 UTC, Milan Crha
no flags Details | Diff

Description Milan Crha 2015-02-20 09:10:52 UTC
As stated at fedora's devel-list "Results of a test mass rebuild of rawhide/x86_64 with gcc-5.0.0-0.5.fc22":

> ekiga-4.0.1-15.fc22.src.rpm
> opal-3.10.10-5.fc22.src.rpm
> ptlib-2.10.10-8.fc22.src.rpm
>        these packages are trying to use <bits/atomicity.h>, but they should
>        use <ext/atomicity.h>.  Probaby wrong __GNUC__ check.

The change is more or less simple, but I also realized that they released new version of ptlib couple months ago, which has no reference to atomicity.h, thus an alternative solution would be to update the package version completely.

This build failure blocks the ekiga rebuild.

Comment 1 Milan Crha 2015-02-20 10:05:13 UTC
Created attachment 993867 [details]
fix-gnuc-version-check.patch

Fix for 2.10.10 version.

Comment 2 Milan Crha 2015-02-20 10:08:41 UTC
Once this is done, for both Fedora 22 and rawhide, a `fedpkg build` in the both ekiga branches may make it finally built.

Comment 3 Peter Robinson 2015-02-20 10:29:55 UTC
> atomicity.h, thus an alternative solution would be to update the package
> version completely.

Sadly it's not an option to upgrade as the ptlib/opal/ekiga versions are linked. I'll push the fix shortly, thanks

Comment 4 Peter Robinson 2015-02-27 00:26:31 UTC
this is now fixed, I need to fix opal too. Looking at it now


Note You need to log in before you can comment on or make changes to this bug.