32-bit powerpc using g++8 via poudriere for net/qt5-network:
Mark Millard
marklmi at yahoo.com
Tue Mar 12 01:05:42 UTC 2019
Just FYI . . .
Adriaan de Groot adridg at freebsd.org wrote on
Mon Mar 11 14:22:10 UTC 2019 :
> On Monday, 11 March 2019 13:01:43 CET freebsd-ports-request at freebsd.org
> wrote:
> > ../qbearerengine_impl.h:48:1: error: expected class-name before '{' token
>
>
> I *imagine* (since I don't have anything that can try to reproduce this build
> sensibly) that you're hitting a case where QT_NO_BEARERMANAGEMENT is defined,
> which suppresses the bearer classes, but other logic is still trying to
> compile tests of something that make use of it.
>
> This is something that's going to need .. well, preferably Pjotr Kubaj who has
> access to suitable machines .. someone to chase the build and figure out what
> is #defined exactly and which (qmake) configurations are in use.
>
Looking, I can confirm QT_NO_BEARERMANAGEMENT :
# more /wrkdirs/usr/ports/net/qt5-network/work/qtbase-everywhere-src-5.12.1/src/network/qtnetwork-config.h
#define QT_FEATURE_bearermanagement -1
#define QT_NO_BEARERMANAGEMENT
#define QT_FEATURE_dnslookup 1
#define QT_NO_OPENSSL true
#define QT_FEATURE_dtls -1
#define QT_FEATURE_ftp 1
#define QT_FEATURE_http 1
#define QT_FEATURE_localserver 1
#define QT_FEATURE_networkdiskcache 1
#define QT_FEATURE_networkinterface 1
#define QT_FEATURE_networkproxy 1
#define QT_FEATURE_opensslv11 -1
#define QT_FEATURE_sctp -1
#define QT_NO_SCTP
#define QT_FEATURE_socks5 1
#define QT_FEATURE_ssl -1
#define QT_NO_SSL
#define QT_FEATURE_udpsocket 1
Also, when it fails it appears to be compiling:
# more /wrkdirs/usr/ports/net/qt5-network/work/qtbase-everywhere-src-5.12.1/src/plugins/bearer/generic/main.cpp
. . .
#include "qgenericengine.h"
#include <QtNetwork/private/qbearerplugin_p.h>
#include <QtCore/qdebug.h>
QT_BEGIN_NAMESPACE
class QGenericEnginePlugin : public QBearerEnginePlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QBearerEngineFactoryInterface" FILE "generic.json")
public:
QGenericEnginePlugin();
~QGenericEnginePlugin();
QBearerEngine *create(const QString &key) const override;
};
QGenericEnginePlugin::QGenericEnginePlugin()
{
}
QGenericEnginePlugin::~QGenericEnginePlugin()
{
}
QBearerEngine *QGenericEnginePlugin::create(const QString &key) const
{
if (key == QLatin1String("generic"))
return new QGenericEngine;
else
return 0;
}
QT_END_NAMESPACE
For reference, the log shows:
Configure summary:
Build type: freebsd-g++ (power, CPU features: <none>)
Compiler: unknown (gcc8)
Configuration: compile_examples largefile optimize_debug shared rpath debug c++11 c++14 c++1z concurrent dbus no-gui reduce_exports release_tools separate_debug_info stl no-widgets
Build options:
Mode ................................... debug; optimized tools
Optimize debug build ................... yes
Building shared libraries .............. yes
Using C standard ....................... C11
Using C++ standard ..................... C++1z
Using ccache ........................... no
Using gold linker ...................... no
Using precompiled headers .............. no
Using LTCG ............................. no
Target compiler supports:
Build parts ............................ libs tools
Qt modules and options:
Qt Concurrent .......................... yes
Qt D-Bus ............................... yes
Qt D-Bus directly linked to libdbus .... no
Qt Gui ................................. no
Qt Network ............................. yes
Qt Sql ................................. yes
Qt Testlib ............................. yes
Qt Widgets ............................. no
Qt Xml ................................. yes
Support enabled for:
Using pkg-config ....................... yes
udev ................................... no
Using system zlib ...................... no
Qt Core:
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... yes
iconv .................................. no
ICU .................................... yes
Tracing backend ........................ <none>
Logging backends:
journald ............................. no
syslog ............................... no
slog2 ................................ no
Using system PCRE2 ..................... yes
Qt Network:
getifaddrs() ........................... yes
IPv6 ifname ............................ yes
libproxy ............................... no
OpenSSL ................................ no
Qt directly linked to OpenSSL ........ no
OpenSSL 1.1 ............................ no
DTLS ................................... no
SCTP ................................... no
Use system proxies ..................... yes
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ no
HarfBuzz ............................... yes
Using system HarfBuzz ................ no
Fontconfig ............................. no
Image formats:
GIF .................................. yes
ICO .................................. yes
JPEG ................................. yes
Using system libjpeg ............... no
PNG .................................. yes
Using system libpng ................ no
EGL .................................... no
OpenVG ................................. no
OpenGL:
Desktop OpenGL ....................... no
OpenGL ES 2.0 ........................ no
OpenGL ES 3.0 ........................ no
OpenGL ES 3.1 ........................ no
OpenGL ES 3.2 ........................ no
Vulkan ................................. no
Session Management ..................... yes
Features used by QPA backends:
evdev .................................. yes
libinput ............................... no
INTEGRITY HID .......................... no
mtdev .................................. no
tslib .................................. no
xkbcommon .............................. no
X11 specific:
XLib ................................. no
EGL on X11 ........................... no
QPA backends:
DirectFB ............................... no
EGLFS .................................. no
LinuxFB ................................ no
VNC .................................... yes
Mir client ............................. no
Qt Sql:
SQL item models ........................ yes
Qt Widgets:
GTK+ ................................... no
Styles ................................. Fusion Windows
Qt PrintSupport:
CUPS ................................... no
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... no
PostgreSQL ............................. no
SQLite2 ................................ no
SQLite ................................. yes
Using system provided SQLite ......... no
TDS (Sybase) ........................... no
Qt Testlib:
Tester for item models ................. yes
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the freebsd-ports
mailing list