{"action":"closed","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/13793","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/13793/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/13793/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/13793/events","html_url":"https://github.com/ariya/phantomjs/issues/13793","id":120765707,"number":13793,"title":"Build instructions not working","user":{"login":"felicitus","id":162974,"avatar_url":"https://avatars.githubusercontent.com/u/162974?v=3","gravatar_id":"","url":"https://api.github.com/users/felicitus","html_url":"https://github.com/felicitus","followers_url":"https://api.github.com/users/felicitus/followers","following_url":"https://api.github.com/users/felicitus/following{/other_user}","gists_url":"https://api.github.com/users/felicitus/gists{/gist_id}","starred_url":"https://api.github.com/users/felicitus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicitus/subscriptions","organizations_url":"https://api.github.com/users/felicitus/orgs","repos_url":"https://api.github.com/users/felicitus/repos","events_url":"https://api.github.com/users/felicitus/events{/privacy}","received_events_url":"https://api.github.com/users/felicitus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-07T12:41:08Z","updated_at":"2015-12-14T02:40:20Z","closed_at":"2015-12-14T02:40:20Z","body":"Hi,\r\n\r\nI'm following the build instructions on `http://phantomjs.org/build.html` for Linux. My distribution is Debian Jessie.\r\n\r\n## Attempt 1 as per manual:\r\n```\r\ngit clone --recurse-submodules git://github.com/ariya/phantomjs.git\r\ncd phantomjs\r\ngit checkout 2.0.0\r\n```\r\n\r\nResult:\r\n```\r\nerror: The following untracked working tree files would be overwritten by checkout:\r\n        src/qt/qtbase/.gitignore\r\n        src/qt/qtbase/.qmake.conf\r\n        src/qt/qtbase/.tag\r\n        src/qt/qtbase/INSTALL\r\n        src/qt/qtbase/LGPL_EXCEPTION.txt\r\n        src/qt/qtbase/LICENSE.FDL\r\n        src/qt/qtbase/LICENSE.PREVIEW.COMMERCIAL\r\n        [etc]\r\n```\r\n\r\n## Attempt 2 without `--recurse-submodules`:\r\n\r\n```\r\ngit clone git://github.com/ariya/phantomjs.git\r\ncd phantomjs\r\ngit checkout 2.0.0\r\n./build.sh --jobs 1\r\n```\r\n\r\nResult:\r\n\r\n```\r\ng++ -c -include .pch/Qt5Network -pipe -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -DQT_NO_USING_NAMESPACE -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.3.0 -I../../include/QtNetwork/5.3.0/QtNetwork -Ikernel -I../../include/QtCore/5.3.0 -I../../include/QtCore/5.3.0/QtCore -I../../include/QtCore -I.moc -o .obj/qftp.o access/qftp.cpp\r\ng++ -c -include .pch/Qt5Network -pipe -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -DQT_NO_USING_NAMESPACE -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.3.0 -I../../include/QtNetwork/5.3.0/QtNetwork -Ikernel -I../../include/QtCore/5.3.0 -I../../include/QtCore/5.3.0/QtCore -I../../include/QtCore -I.moc -o .obj/qsslsocket_openssl_symbols.o ssl/qsslsocket_openssl_symbols.cpp\r\nIn file included from ssl/qsslsocket_openssl_symbols.cpp:58:0:\r\nssl/qsslsocket_openssl_symbols.cpp: In function ‘const SSL_METHOD* q_SSLv3_client_method()’:\r\nssl/qsslsocket_openssl_symbols_p.h:185:39: error: ‘SSLv3_client_method’ was not declared in this scope\r\n     ret q_##func(arg) { funcret func(a); }\r\n                                       ^\r\nssl/qsslsocket_openssl_symbols.cpp:269:1: note: in expansion of macro ‘DEFINEFUNC’\r\n DEFINEFUNC(const SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return)\r\n ^\r\nssl/qsslsocket_openssl_symbols.cpp: In function ‘const SSL_METHOD* q_SSLv3_server_method()’:\r\nssl/qsslsocket_openssl_symbols_p.h:185:39: error: ‘SSLv3_server_method’ was not declared in this scope\r\n     ret q_##func(arg) { funcret func(a); }\r\n                                       ^\r\nssl/qsslsocket_openssl_symbols.cpp:279:1: note: in expansion of macro ‘DEFINEFUNC’\r\n DEFINEFUNC(const SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return)\r\n ^\r\nssl/qsslsocket_openssl_symbols.cpp: At global scope:\r\nssl/qsslsocket_openssl_symbols.cpp:119:6: warning: ‘void {anonymous}::qsslSocketUnresolvedSymbolWarning(const char*)’ defined but not used [-Wunused-function]\r\n void qsslSocketUnresolvedSymbolWarning(const char *functionName)\r\n      ^\r\nssl/qsslsocket_openssl_symbols.cpp:124:6: warning: ‘void {anonymous}::qsslSocketCannotResolveSymbolWarning(const char*)’ defined but not used [-Wunused-function]\r\n void qsslSocketCannotResolveSymbolWarning(const char *functionName)\r\n      ^\r\nMakefile:21031: recipe for target '.obj/qsslsocket_openssl_symbols.o' failed\r\nmake[2]: *** [.obj/qsslsocket_openssl_symbols.o] Error 1\r\nmake[2]: Leaving directory '/home/felicitus/repos/phantomjs/src/qt/qtbase/src/network'\r\nMakefile:180: recipe for target 'sub-network-make_first' failed\r\nmake[1]: *** [sub-network-make_first] Error 2\r\nmake[1]: Leaving directory '/home/felicitus/repos/phantomjs/src/qt/qtbase/src'\r\nMakefile:39: recipe for target 'sub-src-make_first' failed\r\nmake: *** [sub-src-make_first] Error 2\r\n```\r\n\r\nEither the build instructions are outdated, or my build setup has a problem."}}