mingw32 depends build fails #6950

issue jonasschnelli opened this issue on November 5, 2015
  1. jonasschnelli commented at 4:51 PM on November 5, 2015: contributor

    I have tried building the dependencies over the depends/ on Ubuntu 15.04 and Debian 7. On both systems i get the following error:

    cd windows/ && ( test -e Makefile || /home/gitian/windows-bitcoin/depends/work/build/x86_64-w64-mingw32/qt/5.5.0-f63c81d2ac2/qtbase/bin/qmake /home/gitian/windows-bitcoin/depends/work/build/x86_64-w64-mingw32/qt/5.5.0-f63c81d2ac2/qtbase/src/plugins/platforms/windows/windows.pro -o Makefile ) && make -f Makefile 
    make[4]: Entering directory '/home/gitian/windows-bitcoin/depends/work/build/x86_64-w64-mingw32/qt/5.5.0-f63c81d2ac2/qtbase/src/plugins/platforms/windows'
    make -f Makefile.Release
    make[5]: Entering directory '/home/gitian/windows-bitcoin/depends/work/build/x86_64-w64-mingw32/qt/5.5.0-f63c81d2ac2/qtbase/src/plugins/platforms/windows'
    compiling qwindowsdialoghelpers.cpp
    qwindowsdialoghelpers.cpp: In member function ‘int QWindowsXpNativeFileDialog::existingDirCallback(HWND, UINT, LPARAM)’:
    qwindowsdialoghelpers.cpp:1849:92: error: invalid conversion from ‘qt_LpItemIdList {aka _ITEMIDLIST*}’ to ‘PCIDLIST_ABSOLUTE {aka const _ITEMIDLIST_ABSOLUTE*}’ [-fpermissive]
             const bool ok = SHGetPathFromIDList(reinterpret_cast<qt_LpItemIdList>(lParam), path)
                                                                                                ^
    In file included from qwindowscontext.h:45:0,
                     from qwindowsdialoghelpers.cpp:40:
    /usr/share/mingw-w64/include/shlobj.h:594:22: note: initializing argument 1 of ‘WINBOOL SHGetPathFromIDListW(PCIDLIST_ABSOLUTE, LPWSTR)’
       SHSTDAPI_(WINBOOL) SHGetPathFromIDListW (PCIDLIST_ABSOLUTE pidl, LPWSTR pszPath);
                          ^
    qwindowsdialoghelpers.cpp: In member function ‘QList<QUrl> QWindowsXpNativeFileDialog::execExistingDir(HWND)’:
    qwindowsdialoghelpers.cpp:1874:50: error: invalid conversion from ‘qt_LpItemIdList {aka _ITEMIDLIST*}’ to ‘PCIDLIST_ABSOLUTE {aka const _ITEMIDLIST_ABSOLUTE*}’ [-fpermissive]
             if (SHGetPathFromIDList(pItemIDList, path) && path[0])
                                                      ^
    In file included from qwindowscontext.h:45:0,
                     from qwindowsdialoghelpers.cpp:40:
    /usr/share/mingw-w64/include/shlobj.h:594:22: note: initializing argument 1 of ‘WINBOOL SHGetPathFromIDListW(PCIDLIST_ABSOLUTE, LPWSTR)’
       SHSTDAPI_(WINBOOL) SHGetPathFromIDListW (PCIDLIST_ABSOLUTE pidl, LPWSTR pszPath);
                          ^
    Makefile.Release:6505: recipe for target '.obj/release/qwindowsdialoghelpers.o' failed
    make[5]: *** [.obj/release/qwindowsdialoghelpers.o] Error 1
    make[5]: Leaving directory '/home/gitian/windows-bitcoin/depends/work/build/x86_64-w64-mingw32/qt/5.5.0-f63c81d2ac2/qtbase/src/plugins/platforms/windows'
    Makefile:34: recipe for target 'release' failed
    make[4]: *** [release] Error 2
    make[4]: Leaving directory '/home/gitian/windows-bitcoin/depends/work/build/x86_64-w64-mingw32/qt/5.5.0-f63c81d2ac2/qtbase/src/plugins/platforms/windows'
    Makefile:64: recipe for target 'sub-windows-make_first' failed
    make[3]: *** [sub-windows-make_first] Error 2
    make[3]: Leaving directory '/home/gitian/windows-bitcoin/depends/work/build/x86_64-w64-mingw32/qt/5.5.0-f63c81d2ac2/qtbase/src/plugins/platforms'
    Makefile:121: recipe for target 'sub-platforms-make_first' failed
    make[2]: *** [sub-platforms-make_first] Error 2
    make[2]: Leaving directory '/home/gitian/windows-bitcoin/depends/work/build/x86_64-w64-mingw32/qt/5.5.0-f63c81d2ac2/qtbase/src/plugins'
    Makefile:656: recipe for target 'sub-plugins' failed
    

    I wonder if gitian succeed because the dependency cache?

  2. laanwj commented at 9:28 PM on November 5, 2015: member
  3. laanwj added the label Build system on Nov 5, 2015
  4. laanwj commented at 6:39 PM on November 19, 2015: member

    #6900 is merged and should solve this. Feel free to reopen if it doesn't.

  5. laanwj closed this on Nov 19, 2015

  6. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-24 12:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me