Bug 1194572

Summary: Fails to build with gcc5
Product: [Fedora] Fedora Reporter: Milan Crha <mcrha>
Component: ptlibAssignee: Peter Robinson <pbrobinson>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: pbrobinson, veillard
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-27 00:26:31 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 Flags
fix-gnuc-version-check.patch none

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