LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 05-03-2019, 01:02 PM   #1
jowski
Member
 
Registered: Aug 2007
Posts: 42

Rep: Reputation: 0
compilation error with slackbuild qt5 (5.9.7) and slackwareARM-current


I'm trying to use the slackbuild for qt5 (5.9.7) on a slackwareARM-current (as of Apr 24, 2019) and it won't compile.


The errors are:

ERROR: Feature 'openssl-linked' was enabled, but the pre-condition '!features.securetransport && libs.openssl' failed.

ERROR: Feature 'openssl' was enabled, but the pre-condition '!features.securetransport && (features.openssl-linked || libs.openssl_headers)' failed.


The command line is: CCACHE=yes PROPRIETARY_CODECS=yes WEBENGINE=no ./qt5.SlackBuild


Configure summary:

Build type: linux-g++ (arm, CPU features: <none>)
Configuration: ccache compile_examples enable_new_dtags largefile nostrip shared release c++11 concurrent dbus reduce_exports stl
Build options:
Mode ................................... release
Optimize release build for size ........ no
Building shared libraries .............. yes
Using C++ standard ..................... C++11
Using ccache ........................... yes
Using gold linker ...................... no
Using new DTAGS ........................ yes
Using precompiled headers .............. no
Using LTCG ............................. no
Target compiler supports:
NEON ................................. no
Build parts ............................ libs tools
Qt modules and options:
Qt Concurrent .......................... yes
Qt D-Bus ............................... yes
Qt D-Bus directly linked to libdbus .... yes
Qt Gui ................................. yes
Qt Network ............................. yes
Qt Sql ................................. yes
Qt Testlib ............................. yes
Qt Widgets ............................. yes
Qt Xml ................................. yes
Support enabled for:
Using pkg-config ....................... yes
QML debugging .......................... yes
udev ................................... yes
Using system zlib ...................... yes
Qt Core:
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... yes
iconv .................................. no
ICU .................................... yes
Logging backends:
journald ............................. no
syslog ............................... no
slog2 ................................ no
Using system PCRE2 ..................... yes
Qt Network:
getaddrinfo() .......................... yes
getifaddrs() ........................... yes
IPv6 ifname ............................ yes
libproxy ............................... no
OpenSSL ................................ no
Qt directly linked to OpenSSL ........ no
SCTP ................................... no
Use system proxies ..................... yes
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ yes
HarfBuzz ............................... yes
Using system HarfBuzz ................ yes
Fontconfig ............................. yes
Image formats:
GIF .................................. yes
ICO .................................. yes
JPEG ................................. yes
Using system libjpeg ............... yes
PNG .................................. yes
Using system libpng ................ yes
EGL .................................... yes
OpenVG ................................. no
OpenGL:
Desktop OpenGL ....................... yes
OpenGL ES 2.0 ........................ no
OpenGL ES 3.0 ........................ no
OpenGL ES 3.1 ........................ no
Session Management ..................... yes
Features used by QPA backends:
evdev .................................. yes
libinput ............................... yes
INTEGRITY HID .......................... no
mtdev .................................. yes
tslib .................................. no
xkbcommon-evdev ........................ yes
QPA backends:
DirectFB ............................... no
EGLFS .................................. yes
EGLFS details:
EGLFS OpenWFD ........................ no
EGLFS i.Mx6 .......................... no
EGLFS i.Mx6 Wayland .................. no
EGLFS RCAR ........................... no
EGLFS EGLDevice ...................... yes
EGLFS GBM ............................ yes
EGLFS Mali ........................... no
EGLFS Raspberry Pi ................... no
EGL on X11 ........................... yes
LinuxFB ................................ yes
VNC .................................... yes
Mir client ............................. no
X11:
Using system-provided XCB libraries .. yes
EGL on X11 ........................... yes
Xinput2 .............................. yes
XCB XKB .............................. yes
XLib ................................. yes
XCB render ........................... yes
XCB GLX .............................. yes
XCB Xlib ............................. yes
Using system-provided xkbcommon ...... yes
Qt Widgets:
GTK+ ................................... yes
Styles ................................. Fusion Windows
Qt PrintSupport:
CUPS ................................... yes
Qt Sql:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. yes
OCI (Oracle) ........................... no
ODBC ................................... no
PostgreSQL ............................. no
SQLite2 ................................ no
SQLite ................................. yes
Using system provided SQLite ......... yes
TDS (Sybase) ........................... no
Qt SerialBus:
Socket CAN ............................. yes
Socket CAN FD .......................... yes
QtXmlPatterns:
XML schema support ..................... yes
Qt QML:
QML interpreter ........................ yes
QML network support .................... yes
Qt Quick:
Direct3D 12 ............................ no
AnimatedImage item ..................... yes
Canvas item ............................ yes
Support for Qt Quick Designer .......... yes
Flipable item .......................... yes
GridView item .......................... yes
ListView item .......................... yes
Path support ........................... yes
PathView item .......................... yes
Positioner items ....................... yes
ShaderEffect item ...................... yes
Sprite item ............................ yes
Qt Gamepad:
SDL2 ................................... yes
Qt 3D:
Assimp ................................. yes
System Assimp .......................... no
Output Qt3D Job traces ................. no
Output Qt3D GL traces .................. no
Qt 3D GeometryLoaders:
Autodesk FBX ........................... no
Qt Wayland Client ........................ no
Qt Wayland Compositor .................... no
Qt Bluetooth:
BlueZ .................................. yes
BlueZ Low Energy ....................... yes
Linux Crypto API ....................... yes
Qt Sensors:
sensorfw ............................... no
Qt Quick Controls 2:
Styles ................................. Default Material Universal
Qt Quick Templates 2:
Hover support .......................... yes
Multi-touch support .................... yes
Qt Positioning:
Gypsy GPS Daemon ....................... no
WinRT Geolocation API .................. no
Qt Location:
Geoservice plugins:
OpenStreetMap ........................ yes
HERE ................................. yes
Esri ................................. yes
Mapbox ............................... yes
MapboxGL ............................. no
Itemsoverlay ......................... yes
Qt Multimedia:
ALSA ................................... yes
GStreamer 1.0 .......................... yes
GStreamer 0.10 ......................... no
Video for Linux ........................ yes
OpenAL ................................. no
PulseAudio ............................. yes
Resource Policy (libresourceqt5) ....... no
Windows Audio Services ................. no
DirectShow ............................. no
Windows Media Foundation ............... no
Qt WebEngine:
Embedded build ......................... no
Pepper Plugins ......................... yes
Printing and PDF ....................... yes
Proprietary Codecs ..................... yes
Spellchecker ........................... yes
WebRTC ................................. yes
Using system ninja ..................... yes
ALSA ................................... yes
PulseAudio ............................. yes
System libraries:
re2 .................................. no
ICU .................................. no
libwebp and libwebpdemux ............. yes
Opus ................................. yes
ffmpeg ............................... no


Thanks,
Jim
 
Old 05-05-2019, 05:02 AM   #2
elcore
Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 590

Rep: Reputation: Disabled
This is what ponce shared in SBo thread:
Quote:
it seems the new qt5-5.9.7 version doesn't work with openssl-1.1.x: the best option is, IMHO, to revert to version 5.9.6.
Also note there is 5.9.8 source available, but I'm not sure if that'll fix your problem because I only tested on 14.2 x86_64 which has openssl-1.0.2r
 
Old 05-05-2019, 10:09 AM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,757

Rep: Reputation: Disabled
you will also need a patch that applies to qt5-5.9.6 for openssl-1.1.x support and another for gcc >= 8.x

http://cgit.ponce.cc/slackbuilds/commit/?h=qt5

NOTE: I haven't tested the script myself on slackwarearm-current, just on x86 and x86_64.

Last edited by ponce; 05-05-2019 at 11:15 AM.
 
Old 05-07-2019, 11:13 AM   #4
jowski
Member
 
Registered: Aug 2007
Posts: 42

Original Poster
Rep: Reputation: 0
I decided to abandon 5.9.7 and went all the way to 5.12.3 with better results. I also upgraded openssl to libssl.so.3. It still won't finish the compilation but turning off the EXAMPLES and DOCS should do it. I'll know tomorrow. If this compilation works, I'll go back to libssl.so.1.1 and see what happens.

Any suggestions for how to cross compile this beast?


time CCACHE=yes PROPRIETARY_CODECS=yes WEBENGINE=no ./qt5.SlackBuild

make[2]: Leaving directory '/tmp/SBo/qt-everywhere-src-5.12.3/qttranslations/translations'
make[1]: Leaving directory '/tmp/SBo/qt-everywhere-src-5.12.3/qttranslations'
cd qtdoc/ && ( test -e Makefile || /tmp/SBo/qt-everywhere-src-5.12.3/qtbase/bin/qmake -o Makefile /tmp/SBo/qt-everywhere-src-5.12.3/qtdoc/qtdoc.pro ) && make -f Makefile install
make[1]: Entering directory '/tmp/SBo/qt-everywhere-src-5.12.3/qtdoc'
cd doc/ && ( test -e Makefile || /tmp/SBo/qt-everywhere-src-5.12.3/qtbase/bin/qmake -o Makefile /tmp/SBo/qt-everywhere-src-5.12.3/qtdoc/doc/doc.pro ) && make -f Makefile install
make[2]: Entering directory '/tmp/SBo/qt-everywhere-src-5.12.3/qtdoc/doc'
make[2]: Nothing to be done for 'install'.
make[2]: Leaving directory '/tmp/SBo/qt-everywhere-src-5.12.3/qtdoc/doc'
make[1]: Leaving directory '/tmp/SBo/qt-everywhere-src-5.12.3/qtdoc'
sed: can't read /tmp/SBo/package-qt5/usr/lib/libqgsttools_p.prl: No such file or directory

real 1267m3.606s
user 1205m22.740s
sys 56m14.922s

------added----------
New command line deleting EXAMPLES and DOCS:

time CCACHE=yes PROPRIETARY_CODECS=yes WEBENGINE=no DOCS=no EXAMPLES=no ./qt5.SlackBuild


It seems that libqgsttools_p.prl can't be found. Hmmm, sounds like a problem for the Qt folks.

Also, here's the diff for the slackbuild:

------cut here---------

diff -Naur qt5.SlackBuild.orig qt5.SlackBuild
--- qt5.SlackBuild.orig 2018-12-15 05:49:17.000000000 -0800
+++ qt5.SlackBuild 2019-05-06 09:36:42.418605703 -0700
@@ -50,7 +50,7 @@
# Adapted for Qt 5.9.6 by David Woodfall

PRGNAM=qt5
-VERSION=${VERSION:-5.9.7}
+VERSION=${VERSION:-5.12.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

@@ -146,9 +146,9 @@
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
echo "Removing any existing source directory. Please wait..."
-rm -rf ${PRGNAM/5/}-everywhere-opensource-src-$VERSION
-tar xvf $CWD/${PRGNAM/5/}-everywhere-opensource-src-$VERSION.tar.xz $EXCLUDE
-cd ${PRGNAM/5/}-everywhere-opensource-src-$VERSION
+rm -rf ${PRGNAM/5/}-everywhere-src-$VERSION
+tar xvf $CWD/${PRGNAM/5/}-everywhere-src-$VERSION.tar.xz $EXCLUDE
+cd ${PRGNAM/5/}-everywhere-src-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

---------end of cut-------

Last edited by jowski; 05-07-2019 at 12:58 PM. Reason: new information to add
 
  


Reply

Tags
qt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Building qt5 on slackwarearm-current stormtracknole Slackware - ARM 9 03-06-2018 07:14 PM
qt5.SlackBuild wrong filename vonbiber Slackware 2 08-11-2016 08:26 AM
[slackwarearm-current] Error Verification of the gpg signature on CHECKSUMS.md5 failed! solar_sea Slackware - ARM 1 12-15-2015 01:12 AM
Raspberry Pi - xbmc SlackBuild fails (SlackwareARM 14.1) slacksam Slackware - ARM 2 07-28-2014 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration