Bug 1047727

Summary: [PATCH] fix widl default includedir
Product: [Fedora] Fedora Reporter: Yaakov Selkowitz <yselkowi>
Component: mingw-w64-toolsAssignee: Erik van Pienbroek <erik-fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: erik-fedora, kalevlember, ktietz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mingw-w64-tools-3.0.0-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-13 02:56:58 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
Patch for rawhide none

Description Yaakov Selkowitz 2014-01-02 02:52:24 UTC
Created attachment 844339 [details]
Patch for rawhide

As noted in the spec file, widl is compiled for each target so that each knows where to find that toolchain's IDL files.  But AFAICS this isn't actually happening.

This is handled through the DEFAULT_INCLUDE_DIR define from mingw-w64-tools/widl/Makefile.am:widl_CPPFLAGS, but the builtin value there (==$prefix/$target/include) is correct only for a non-sysroot setup.  As mingw*-headers is installed into the sysroot, this needs to be changed.

Fixing this "properly" upstream to allow for sysroot as an option is going to be tricky, but patching this just for Fedora is easy enough.  Patch for rawhide attached, but this affects F19 and F20 as well.

Comment 1 Fedora Update System 2014-01-04 21:29:59 UTC
mingw-w64-tools-3.0.0-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mingw-w64-tools-3.0.0-1.fc20

Comment 2 Fedora Update System 2014-01-05 12:33:45 UTC
Package mingw-w64-tools-3.0.0-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mingw-w64-tools-3.0.0-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0253/mingw-w64-tools-3.0.0-1.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-01-13 02:56:58 UTC
mingw-w64-tools-3.0.0-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.