Bug 1431994

Summary: Missing extern "C" around epoxy/gl_generated.h
Product: [Fedora] Fedora Reporter: Stephan Bergmann <sbergman>
Component: libepoxyAssignee: Dave Airlie <airlied>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: airlied
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libepoxy-1.4.3-1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 21:56:09 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:

Description Stephan Bergmann 2017-03-14 09:10:32 UTC
Upstream issue is <https://github.com/anholt/libepoxy/issues/106> "gl prototypes aren't surrounded by extern "C" and so fail to link to c++ code", but the fix <https://github.com/anholt/libepoxy/commit/7d58fd3d47d2d69f2b1b9f08325302e4eeff9ebe> "Merge pull request #107 from anholt/issue-106: Add C++ guards around generated headers" is only on master, not on 1.4.1, so is missing from libepoxy-devel-1.4.1-1.fc25.

Would be great if that fix could be backported to F25.

(We noticed when doing development builds of LibreOffice, which has a Clang plugin to emit additional warnings about the code.  That plugin suppresses some false positives based on whether extern "C" functions are involved, and so started to fail and emit false positive warnings now.)

Comment 1 Fedora Update System 2017-07-27 14:51:50 UTC
libepoxy-1.4.3-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-842bdbd2da

Comment 2 Fedora Update System 2017-07-28 22:19:38 UTC
libepoxy-1.4.3-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-842bdbd2da

Comment 3 Fedora Update System 2017-08-01 21:56:09 UTC
libepoxy-1.4.3-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.