[Mingw-w64-public] Mass rebuild report for August 29 2013

Kai Tietz ktietz70 at googlemail.com
Thu Aug 29 20:15:24 UTC 2013


2013/8/29 Erik van Pienbroek <erik at vanpienbroek.nl>:
> Alexey Pavlov schreef op do 29-08-2013 om 23:20 [+0400]:
>>
>>
>>
>> 2013/8/29 Erik van Pienbroek <erik at vanpienbroek.nl>
>>         > mingw-qt5-qtbase-5.1.0-5
>>         >       ** Package failed to build while it succeeded during
>>         the previous mass rebuild **
>>         >       Package owner: epienbro
>>         >       Time to build: 9 minutes, 54 seconds
>>         >       Build logs:
>>         http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20130829/mingw-qt5-qtbase-5.1.0-5
>>
>>
>>
>>         This one is new:
>>
>>         /builddir/build/BUILD/qtbase-opensource-src-5.1.0/src/corelib/io/qfilesystemengine_win.cpp:578:3: error: conflicting declaration 'typedef struct _FILE_ID_128 FILE_ID_128'
>>          } FILE_ID_128, *PFILE_ID_128;
>>            ^
>>         In file included
>>         from <snip>
>>         /usr/i686-w64-mingw32/sys-root/mingw/include/winnt.h:3767:7:
>>         error:
>>         'FILE_ID_128' has a previous declaration as 'typedef struct
>>         FILE_ID_128
>>         FILE_ID_128'
>>              } FILE_ID_128, *PFILE_ID_128;
>>                ^
>>
>>
>> This issue is fixed in Qt gerrit:
>> https://codereview.qt-project.org/#change,63747
>> After fixing tis issue  I have issue described here:
>> https://bugreports.qt-project.org/browse/QTBUG-33225
>>
>
> Thanks for the info!
> I just tried the patch you mentioned and it indeed resolves the build
> failure.
>
> Now I'm also seeing the other issue you mentioned:
>
> /home/erik/fedora/mingw-qt5-qtbase/qtbase-opensource-src-5.1.1/src/plugins/platforms/windows/qwindowstheme.cpp: In member function 'virtual QPixmap QWindowsTheme::standardPixmap(QPlatformTheme::StandardPixmap, const QSizeF&) const':
> /home/erik/fedora/mingw-qt5-qtbase/qtbase-opensource-src-5.1.1/src/plugins/platforms/windows/qwindowstheme.cpp:531:13: error: 'SHSTOCKICONINFO' was not declared in this scope
>              SHSTOCKICONINFO iconInfo;
>              ^
> /home/erik/fedora/mingw-qt5-qtbase/qtbase-opensource-src-5.1.1/src/plugins/platforms/windows/qwindowstheme.cpp:531:29: error: expected ';' before 'iconInfo'
>              SHSTOCKICONINFO iconInfo;
>                              ^
> /home/erik/fedora/mingw-qt5-qtbase/qtbase-opensource-src-5.1.1/src/plugins/platforms/windows/qwindowstheme.cpp:532:21: error: 'iconInfo' was not declared in this scope
>              memset(&iconInfo, 0, sizeof(iconInfo));
>                      ^
> /home/erik/fedora/mingw-qt5-qtbase/qtbase-opensource-src-5.1.1/src/plugins/platforms/windows/qwindowstheme.cpp:535:64: error: 'SIID_SHIELD' was not declared in this scope
>              if
> (QWindowsContext::shell32dll.sHGetStockIconInfo(SIID_SHIELD, SHGFI_ICON
> | iconSize, &iconInfo) == S_OK) {
>                                                                 ^
>
> Apparently this is a piece of code which was added in Qt 5.1.1. Qt 5.1.0
> didn't use these structures yet, so the workaround would be to stay with
> Qt 5.1.0 for now. I guess these structures have to be implemented in
> mingw-w64-headers.

No it is present, and part of shellapi.h header.  Only thing required
for this structure is to define NTDDI_VERSION >= 0x06000000.  Or
define _WIN32_WINNT >= 0x0600 and include sdkddkver.h header (it gets
automatically included by windows.h and some other headers).

Regards,
Kai

> Regards,
>
> Erik


More information about the mingw mailing list