The phantomjs package fails to build for Stretch, with the following error message:
[ 421s] g++ -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 [ 421s] In file included from ssl/qsslsocket_openssl_symbols.cpp:58:0: [ 421s] ssl/qsslsocket_openssl_symbols.cpp: In function 'const SSL_METHOD* q_SSLv3_client_method()': [ 421s] ssl/qsslsocket_openssl_symbols_p.h:185:39: error: 'SSLv3_client_method' was not declared in this scope [ 421s] ret q_##func(arg) { funcret func(a); } [ 421s] ^ [ 421s] ssl/qsslsocket_openssl_symbols.cpp:269:1: note: in expansion of macro 'DEFINEFUNC' [ 421s] DEFINEFUNC(const SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return) [ 421s] ^ [ 421s] ssl/qsslsocket_openssl_symbols.cpp: In function 'const SSL_METHOD* q_SSLv3_server_method()': [ 421s] ssl/qsslsocket_openssl_symbols_p.h:185:39: error: 'SSLv3_server_method' was not declared in this scope [ 421s] ret q_##func(arg) { funcret func(a); } [ 421s] ^ [ 421s] ssl/qsslsocket_openssl_symbols.cpp:279:1: note: in expansion of macro 'DEFINEFUNC' [ 421s] DEFINEFUNC(const SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return) [ 421s] ^ [ 421s] ssl/qsslsocket_openssl_symbols.cpp: At global scope: [ 421s] ssl/qsslsocket_openssl_symbols.cpp:119:6: warning: 'void {anonymous}::qsslSocketUnresolvedSymbolWarning(const char*)' defined but not used [-Wunused-function] [ 421s] void qsslSocketUnresolvedSymbolWarning(const char *functionName) [ 421s] ^ [ 421s] ssl/qsslsocket_openssl_symbols.cpp:124:6: warning: 'void {anonymous}::qsslSocketCannotResolveSymbolWarning(const char*)' defined but not used [-Wunused-function] [ 421s] void qsslSocketCannotResolveSymbolWarning(const char *functionName) [ 421s] ^ [ 421s] Makefile:21034: recipe for target '.obj/qsslsocket_openssl_symbols.o' failed [ 421s] make[4]: *** [.obj/qsslsocket_openssl_symbols.o] Error 1 [ 421s] make[4]: Leaving directory '/usr/src/packages/BUILD/src/qt/qtbase/src/network' [ 421s] Makefile:180: recipe for target 'sub-network-make_first' failed [ 421s] make[3]: *** [sub-network-make_first] Error 2 [ 421s] make[3]: Leaving directory '/usr/src/packages/BUILD/src/qt/qtbase/src' [ 421s] Makefile:39: recipe for target 'sub-src-make_first' failed [ 421s] make[2]: *** [sub-src-make_first] Error 2 [ 421s] make[2]: Leaving directory '/usr/src/packages/BUILD/src/qt/qtbase' [ 421s] debian/rules:26: recipe for target 'override_dh_auto_build' failed [ 421s] make[1]: *** [override_dh_auto_build] Error 1 [ 421s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 421s] debian/rules:20: recipe for target 'build' failed [ 421s] make: *** [build] Error 2 [ 421s] dpkg-buildpackage: error: debian/rules build gave error exit status 2