Bug 1213843 - Build failure appearing in mingw-spice-vdagent after 4.0.1-1 update
Summary: Build failure appearing in mingw-spice-vdagent after 4.0.1-1 update
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-headers
Version: 22
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: 2015-04-21 12:22 UTC by Christophe Fergeau
Modified: 2015-05-11 00:50 UTC (History)
6 users (show)

Fixed In Version: mingw-headers-4.0.2-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-01 16:36:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Christophe Fergeau 2015-04-21 12:22:35 UTC
After the update of mingw-headers to 4.0.1-1, trying to build vdagent ( http://cgit.freedesktop.org/spice/win32/vd_agent/ ) with mingw gives:

In file included from vdagent/file_xfer.cpp:18:0:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/shlobj.h:37:3: error: 'EXTERN_C' does not name a type
   SHFOLDERAPI SHGetFolderPathW (HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath);
 

This did not happen with 4.0.0-1 or earlier versions. This can be worked around by including the includes from http://sourceforge.net/p/mingw-w64/mingw-w64/ci/6c56d0b0eb5be9fbeb552ba070a2304b842a5102 before including shlobj.h so I assume adding this patch to the mingw-headers package would fix this regression.

Comment 1 Erik van Pienbroek 2015-04-24 14:01:45 UTC
Could you test if http://koji.fedoraproject.org/koji/buildinfo?buildID=630575 resolves the issue for you?

Comment 2 Christophe Fergeau 2015-04-24 14:17:15 UTC
Yes, this solves the issue I was having.

Comment 3 Erik van Pienbroek 2015-04-24 14:31:35 UTC
Excellent, the updated package is now available as buildroot override for f21, f22 and epel7. A regular update will be pushed soon as well

Comment 4 Fedora Update System 2015-04-24 14:33:36 UTC
mingw-crt-4.0.2-1.fc22,mingw-headers-4.0.2-1.fc22,mingw-winpthreads-4.0.2-1.fc22,mingw-winstorecompat-4.0.2-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/mingw-crt-4.0.2-1.fc22,mingw-headers-4.0.2-1.fc22,mingw-winpthreads-4.0.2-1.fc22,mingw-winstorecompat-4.0.2-1.fc22

Comment 5 Fedora Update System 2015-04-24 14:34:24 UTC
mingw-crt-4.0.2-1.fc21,mingw-headers-4.0.2-1.fc21,mingw-winpthreads-4.0.2-1.fc21,mingw-winstorecompat-4.0.2-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/mingw-crt-4.0.2-1.fc21,mingw-headers-4.0.2-1.fc21,mingw-winpthreads-4.0.2-1.fc21,mingw-winstorecompat-4.0.2-1.fc21

Comment 6 Fedora Update System 2015-04-24 14:37:22 UTC
mingw-crt-4.0.2-1.el7,mingw-headers-4.0.2-1.el7,mingw-winpthreads-4.0.2-1.el7,mingw-winstorecompat-4.0.2-1.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/mingw-crt-4.0.2-1.el7,mingw-headers-4.0.2-1.el7,mingw-winpthreads-4.0.2-1.el7,mingw-winstorecompat-4.0.2-1.el7

Comment 7 Fedora Update System 2015-04-25 23:52:17 UTC
Package mingw-headers-4.0.2-1.el7, mingw-winstorecompat-4.0.2-1.el7, mingw-crt-4.0.2-1.el7, mingw-winpthreads-4.0.2-1.el7:
* should fix your issue,
* was pushed to the Fedora EPEL 7 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing mingw-headers-4.0.2-1.el7 mingw-winstorecompat-4.0.2-1.el7 mingw-crt-4.0.2-1.el7 mingw-winpthreads-4.0.2-1.el7'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-5996/mingw-crt-4.0.2-1.el7,mingw-headers-4.0.2-1.el7,mingw-winpthreads-4.0.2-1.el7,mingw-winstorecompat-4.0.2-1.el7
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-05-01 16:36:41 UTC
mingw-headers-4.0.2-1.fc22, mingw-winstorecompat-4.0.2-1.fc22, mingw-crt-4.0.2-1.fc22, mingw-winpthreads-4.0.2-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-05-04 15:20:37 UTC
mingw-crt-4.0.2-1.fc21, mingw-winpthreads-4.0.2-1.fc21, mingw-headers-4.0.2-1.fc21, mingw-winstorecompat-4.0.2-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-05-11 00:50:18 UTC
mingw-headers-4.0.2-1.el7, mingw-winstorecompat-4.0.2-1.el7, mingw-crt-4.0.2-1.el7, mingw-winpthreads-4.0.2-1.el7 has been pushed to the Fedora EPEL 7 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.