Bug 116216 - [Qt] Build fails under MSYS as it can't find build tools
Summary: [Qt] Build fails under MSYS as it can't find build tools
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://bugreports.qt-project.org/bro...
Keywords:
Depends on:
Blocks: 110211
  Show dependency treegraph
 
Reported: 2013-05-16 03:50 PDT by Jonathan Liu
Modified: 2013-05-16 17:20 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.60 KB, patch)
2013-05-16 04:00 PDT, Jonathan Liu
no flags Details | Formatted Diff | Diff
Patch (1.60 KB, patch)
2013-05-16 05:10 PDT, Jonathan Liu
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Liu 2013-05-16 03:50:24 PDT
mingw32-make[5]: Entering directory 'C:/QtSDK/DEVs/work/build-x64/qt-stable/qttools/src/assistant/assistant'
g++ -Wl,-s -Wl,-subsystem,windows -o ../../../bin/assistant.exe object_script.assistant.Release -lmingw32 -lqtmain -LC:/QtSDK/DEVs/toolchains/mingw64/x86_64-w64-mingw32/lib -Lc:/QtSDK/ported64/lib -Lc:/QtSDK/Qt64-git/databases/firebird/lib -Lc:/QtSDK/Qt64-git/databases/mysql/lib -Lc:/QtSDK/Qt64-git/databases/pgsql/lib -Lc:/QtSDK/Qt64-git/databases/oci/lib -lshell32 -LC:/QtSDK/DEVs/work/build-x64/qt-stable/qtwebkit/lib -lQt5WebKitWidgets -LC:/QtSDK/DEVs/work/build-x64/qt-stable/qtdeclarative/lib -lQt5Quick -LC:/QtSDK/DEVs/work/build-x64/qt-stable/qtmultimedia/lib -lQt5MultimediaWidgets -LC:/QtSDK/DEVs/work/build-x64/qt-stable/qttools/lib -lQt5Help -LC:/QtSDK/DEVs/work/build-x64/qt-stable/qtbase/lib -lQt5OpenGL -lQt5PrintSupport -lQt5WebKit -lQt5Qml -lQt5Multimedia -lQt5Widgets -lQt5Sql -lQt5Network -lQt5Gui -lQt5Core -llibEGL -llibGLESv2 -lgdi32 -luser32 .obj/release_shared/assistant_res.o 
./.obj/release_shared/helpviewer_qwv.o:helpviewer_qwv.cpp:(.text+0x14d7): undefined reference to `HelpViewer::copyAvailable(bool)'
./.obj/release_shared/helpviewer_qwv.o:helpviewer_qwv.cpp:(.text+0x14f7): undefined reference to `HelpViewer::backwardAvailable(bool)'
./.obj/release_shared/helpviewer_qwv.o:helpviewer_qwv.cpp:(.text+0x1517): undefined reference to `HelpViewer::forwardAvailable(bool)'
c:/qtsdk/devs/toolchains/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./.obj/release_shared/helpviewer_qwv.o: bad reloc address 0x0 in section `.pdata'
collect2.exe: error: ld returned 1 exit status
Makefile.Release:198: recipe for target '../../../bin/assistant.exe' failed

It seems this is due to gperf, flex, ruby, python not being found in PATH properly (see https://bugreports.qt-project.org/secure/attachment/32554/qt-5.0.0-fix-build-under-msys.patch for fix). It looks for the executables without .exe extension under MSYS shell.
Comment 1 Jonathan Liu 2013-05-16 04:00:58 PDT
Created attachment 201940 [details]
Patch
Comment 2 Jocelyn Turcotte 2013-05-16 05:00:26 PDT
Comment on attachment 201940 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=201940&action=review

> Tools/ChangeLog:16
> +        Reviewed by NOBODY (OOPS!).

This line should go between the bug URL and the long description.

Looks good otherwise.
Comment 3 Jonathan Liu 2013-05-16 05:10:45 PDT
Created attachment 201943 [details]
Patch
Comment 4 WebKit Commit Bot 2013-05-16 17:20:06 PDT
Comment on attachment 201943 [details]
Patch

Clearing flags on attachment: 201943

Committed r150223: <http://trac.webkit.org/changeset/150223>
Comment 5 WebKit Commit Bot 2013-05-16 17:20:08 PDT
All reviewed patches have been landed.  Closing bug.