{"action":"created","issue":{"url":"https://api.github.com/repos/mxe/mxe/issues/1251","repository_url":"https://api.github.com/repos/mxe/mxe","labels_url":"https://api.github.com/repos/mxe/mxe/issues/1251/labels{/name}","comments_url":"https://api.github.com/repos/mxe/mxe/issues/1251/comments","events_url":"https://api.github.com/repos/mxe/mxe/issues/1251/events","html_url":"https://github.com/mxe/mxe/issues/1251","id":139519642,"number":1251,"title":"Qt 4 on x86_64-w64-mingw32.static.posix fails compiling","user":{"login":"luca-penasa","id":2051141,"avatar_url":"https://avatars.githubusercontent.com/u/2051141?v=3","gravatar_id":"","url":"https://api.github.com/users/luca-penasa","html_url":"https://github.com/luca-penasa","followers_url":"https://api.github.com/users/luca-penasa/followers","following_url":"https://api.github.com/users/luca-penasa/following{/other_user}","gists_url":"https://api.github.com/users/luca-penasa/gists{/gist_id}","starred_url":"https://api.github.com/users/luca-penasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luca-penasa/subscriptions","organizations_url":"https://api.github.com/users/luca-penasa/orgs","repos_url":"https://api.github.com/users/luca-penasa/repos","events_url":"https://api.github.com/users/luca-penasa/events{/privacy}","received_events_url":"https://api.github.com/users/luca-penasa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-09T09:16:13Z","updated_at":"2016-05-15T18:33:15Z","closed_at":null,"body":"The build fails with the (first) error:\r\n\r\n```\r\nmake[2]: Entering directory `/home/luca/Code/mxe.git/tmp-qt-x86_64-w64-mingw32.static.posix/qt-everywhere-opensource-src-4.8.7/config.tests/unix/db2'\r\nx86_64-w64-mingw32.static.posix-g++ -c -pipe -fno-keep-inline-dllexport -O2 -Wall -Wextra -fno-exceptions -fno-rtti -DUNICODE -DQT_NO_DYNAMIC_CAST -I'../../../mkspecs/win32-g++-4.6' -o db2.o db2.cpp\r\ndb2.cpp:42:20: fatal error: sqlcli.h: No such file or directory\r\n #include <sqlcli.h>\r\n                    ^\r\ncompilation terminated.\r\nmake[2]: *** [db2.o] Error 1\r\nmake[2]: Leaving directory `/home/luca/Code/mxe.git/tmp-qt-x86_64-w64-mingw32.static.posix/qt-everywhere-opensource-src-4.8.7/config.tests/unix/db2'\r\nDB2 disabled.\r\nInterBase auto-detection... ()\r\nmake[2]: Entering directory `/home/luca/Code/mxe.git/tmp-qt-x86_64-w64-mingw32.static.posix/qt-everywhere-opensource-src-4.8.7/config.tests/unix/ibase'\r\nx86_64-w64-mingw32.static.posix-g++ -c -pipe -fno-keep-inline-dllexport -O2 -Wall -Wextra -fno-exceptions -fno-rtti -DUNICODE -DQT_NO_DYNAMIC_CAST -I'../../../mkspecs/win32-g++-4.6' -o ibase.o ibase.cpp\r\nibase.cpp:42:19: fatal error: ibase.h: No such file or directory\r\n #include <ibase.h>\r\n                   ^\r\ncompilation terminated.\r\nmake[2]: *** [ibase.o] Error 1\r\nmake[2]: Leaving directory `/home/luca/Code/mxe.git/tmp-qt-x86_64-w64-mingw32.static.posix/qt-everywhere-opensource-src-4.8.7/config.tests/unix/ibase'\r\nInterBase disabled.\r\nOCI auto-detection... ()\r\nmake[2]: Entering directory `/home/luca/Code/mxe.git/tmp-qt-x86_64-w64-mingw32.static.posix/qt-everywhere-opensource-src-4.8.7/config.tests/unix/oci'\r\nx86_64-w64-mingw32.static.posix-g++ -c -pipe -fno-keep-inline-dllexport -O2 -Wall -Wextra -fno-exceptions -fno-rtti -DUNICODE -DQT_NO_DYNAMIC_CAST -I'../../../mkspecs/win32-g++-4.6' -o oci.o oci.cpp\r\noci.cpp:42:17: fatal error: oci.h: No such file or directory\r\n #include <oci.h>\r\n\r\n\r\netc...\r\n\r\nAny idea?"},"comment":{"url":"https://api.github.com/repos/mxe/mxe/issues/comments/219302413","html_url":"https://github.com/mxe/mxe/issues/1251#issuecomment-219302413","issue_url":"https://api.github.com/repos/mxe/mxe/issues/1251","id":219302413,"user":{"login":"uwehermann","id":104173,"avatar_url":"https://avatars.githubusercontent.com/u/104173?v=3","gravatar_id":"","url":"https://api.github.com/users/uwehermann","html_url":"https://github.com/uwehermann","followers_url":"https://api.github.com/users/uwehermann/followers","following_url":"https://api.github.com/users/uwehermann/following{/other_user}","gists_url":"https://api.github.com/users/uwehermann/gists{/gist_id}","starred_url":"https://api.github.com/users/uwehermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uwehermann/subscriptions","organizations_url":"https://api.github.com/users/uwehermann/orgs","repos_url":"https://api.github.com/users/uwehermann/repos","events_url":"https://api.github.com/users/uwehermann/events{/privacy}","received_events_url":"https://api.github.com/users/uwehermann/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T18:33:15Z","updated_at":"2016-05-15T18:33:15Z","body":"qt builds fine for me on x86_64-w64-mingw32.static.posix, fresh MXE cloned today with only the following patch (due to bug #565):\r\n\r\n```\r\n--- a/src/qt.mk\r\n+++ b/src/qt.mk\r\n@@ -76,12 +76,12 @@ define $(PKG)_BUILD\r\n     # lrelease (from linguist) needed to prepare translation files\r\n     $(MAKE) -C '$(1)/tools/linguist/lrelease' -j '$(JOBS)' install\r\n\r\n-    cd '$(1)/tools/assistant' && '$(1)/bin/qmake' assistant.pro\r\n-    # can't figure out where -lQtCLucene comes from so use\r\n-    # sed on the output instead of patching the input\r\n-    $(MAKE) -C '$(1)/tools/assistant' sub-lib-qmake_all\r\n-    $(SED) -i 's,-lQtCLucene$$,-lQtCLucene4,' '$(1)/tools/assistant/lib/Makefile.Release'\r\n-    $(MAKE) -C '$(1)/tools/assistant' -j '$(JOBS)' install\r\n+    ## cd '$(1)/tools/assistant' && '$(1)/bin/qmake' assistant.pro\r\n+    ## # can't figure out where -lQtCLucene comes from so use\r\n+    ## # sed on the output instead of patching the input\r\n+    ## $(MAKE) -C '$(1)/tools/assistant' sub-lib-qmake_all\r\n+    ## $(SED) -i 's,-lQtCLucene$$,-lQtCLucene4,' '$(1)/tools/assistant/lib/Makefile.Release'\r\n+    ## $(MAKE) -C '$(1)/tools/assistant' -j '$(JOBS)' install\r\n```\r\n"}}