Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634412 - dev-qt/qtnetwork-5.9.2 - ssl/qsslsocket_openssl_p.h:102:9: error: ‘_STACK’ does not name a type
Summary: dev-qt/qtnetwork-5.9.2 - ssl/qsslsocket_openssl_p.h:102:9: error: ‘_STACK’ do...
Status: RESOLVED DUPLICATE of bug 592538
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://bugreports.qt.io/browse/QTBUG...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-16 06:48 UTC by Martin Mokrejš
Modified: 2017-10-17 00:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2017-10-16 06:48:15 UTC
I cannot build dev-qt/qtnetwork-5.9.2 and get the following during compile step:

x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=sandybridge -mtune=native -ftree-vectorize -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -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. -Ikernel -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.9.2 -I../../include/QtNetwork/5.9.2/QtNetwork -isystem /usr/include/qt5/QtCore/5.9.2 -isystem /usr/include/qt5/QtCore/5.9.2/QtCore -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qssldiffiehellmanparameters.o ssl/qssldiffiehellmanparameters.cpp
In file included from ssl/qsslsocket_openssl_symbols_p.h:71:0,
                 from ssl/qsslcertificate.cpp:116:
ssl/qsslsocket_openssl_p.h:102:9: error: ‘_STACK’ does not name a type
 typedef _STACK STACK;
         ^
In file included from ssl/qsslcertificate.cpp:116:0:
ssl/qsslsocket_openssl_symbols_p.h:329:14: error: ‘STACK’ was not declared in this scope
 int q_sk_num(STACK *a);
              ^
ssl/qsslsocket_openssl_symbols_p.h:329:21: error: ‘a’ was not declared in this scope
 int q_sk_num(STACK *a);
                     ^
ssl/qsslsocket_openssl_symbols_p.h:330:20: error: variable or field ‘q_sk_pop_free’ declared void
 void q_sk_pop_free(STACK *a, void (*b)(void *));
                    ^
ssl/qsslsocket_openssl_symbols_p.h:330:20: error: ‘STACK’ was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:330:27: error: ‘a’ was not declared in this scope
 void q_sk_pop_free(STACK *a, void (*b)(void *));
                           ^
ssl/qsslsocket_openssl_symbols_p.h:330:37: error: ‘b’ was not declared in this scope
 void q_sk_pop_free(STACK *a, void (*b)(void *));
                                     ^
ssl/qsslsocket_openssl_symbols_p.h:330:40: error: expected primary-expression before ‘void’
 void q_sk_pop_free(STACK *a, void (*b)(void *));
                                        ^
ssl/qsslsocket_openssl_symbols_p.h:332:1: error: ‘_STACK’ does not name a type
 _STACK *q_sk_new_null();
 ^
ssl/qsslsocket_openssl_symbols_p.h:333:16: error: variable or field ‘q_sk_push’ declared void
 void q_sk_push(_STACK *st, void *data);
                ^
ssl/qsslsocket_openssl_symbols_p.h:333:16: error: ‘_STACK’ was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:333:24: error: ‘st’ was not declared in this scope
 void q_sk_push(_STACK *st, void *data);
                        ^
ssl/qsslsocket_openssl_symbols_p.h:333:28: error: expected primary-expression before ‘void’
 void q_sk_push(_STACK *st, void *data);
                            ^
ssl/qsslsocket_openssl_symbols_p.h:334:16: error: variable or field ‘q_sk_free’ declared void
 void q_sk_free(_STACK *a);
                ^
ssl/qsslsocket_openssl_symbols_p.h:334:16: error: ‘_STACK’ was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:334:24: error: ‘a’ was not declared in this scope
 void q_sk_free(_STACK *a);
                        ^
ssl/qsslsocket_openssl_symbols_p.h:335:19: error: ‘STACK’ was not declared in this scope
 void * q_sk_value(STACK *a, int b);
                   ^
ssl/qsslsocket_openssl_symbols_p.h:335:26: error: ‘a’ was not declared in this scope
 void * q_sk_value(STACK *a, int b);
                          ^
ssl/qsslsocket_openssl_symbols_p.h:335:29: error: expected primary-expression before ‘int’
 void * q_sk_value(STACK *a, int b);
                             ^
ssl/qsslsocket_openssl_symbols_p.h:335:34: error: expression list treated as compound expression in initializer [-fpermissive]
 void * q_sk_value(STACK *a, int b);
                                  ^


Reproducible: Always




Turns out from upstream bug report https://bugreports.qt.io/browse/QTBUG-62307 the ebuild should require <openssl-1.1.1 , which does not at the moment.

# emerge -pv qtnetwork
[ebuild   R   #] dev-libs/openssl-1.1.0f:0/1.1::gentoo  USE="asm bindist sctp zlib -rfc3779 -static-libs {-test} -tls-heartbeat -vanilla" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB
[ebuild  N     ] dev-qt/qtnetwork-5.9.2:5/5.9::gentoo  USE="bindist ssl -connman -debug -libproxy -networkmanager {-test}" 0 KiB
Comment 1 Arfrever Frehtes Taifersar Arahesis 2017-10-17 00:45:36 UTC

*** This bug has been marked as a duplicate of bug 592538 ***