Bug 1047727 - [PATCH] fix widl default includedir
Summary: [PATCH] fix widl default includedir
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-w64-tools
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Erik van Pienbroek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-02 02:52 UTC by Yaakov Selkowitz
Modified: 2014-01-13 02:56 UTC (History)
3 users (show)

Fixed In Version: mingw-w64-tools-3.0.0-1.fc20
Clone Of:
Environment:
Last Closed: 2014-01-13 02:56:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch for rawhide (3.40 KB, patch)
2014-01-02 02:52 UTC, Yaakov Selkowitz
no flags Details | Diff

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.


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