Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2019 18:05:34 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        pkubaj@anongoth.pl, ports-list freebsd <freebsd-ports@freebsd.org>
Cc:        adridg@freebsd.org
Subject:   Re: 32-bit powerpc using g++8 via poudriere for net/qt5-network:
Message-ID:  <AD7316B8-6B97-41A9-82E2-B805160A6FC2@yahoo.com>

next in thread | raw e-mail | index | archive | help
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
>=20
>=20
> I *imagine* (since I don't have anything that can try to reproduce =
this build=20
> sensibly) that you're hitting a case where QT_NO_BEARERMANAGEMENT is =
defined,=20
> which suppresses the bearer classes, but other logic is still trying =
to=20
> compile tests of something that make use of it.
>=20
> This is something that's going to need .. well, preferably Pjotr Kubaj =
who has=20
> access to suitable machines .. someone to chase the build and figure =
out what=20
> is #defined exactly and which (qmake) configurations are in use.
>=20

Looking, I can confirm QT_NO_BEARERMANAGEMENT :

# more =
/wrkdirs/usr/ports/net/qt5-network/work/qtbase-everywhere-src-5.12.1/src/n=
etwork/qtnetwork-config.h
#define QT_FEATURE_bearermanagement -1
#define QT_NO_BEARERMANAGEMENT=20
#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=20
#define QT_FEATURE_socks5 1
#define QT_FEATURE_ssl -1
#define QT_NO_SSL=20
#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/p=
lugins/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 =3D=3D 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





=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AD7316B8-6B97-41A9-82E2-B805160A6FC2>