LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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: 117

Rep: Reputation: 9
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
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

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
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
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: 117

Original Poster
Rep: Reputation: 9
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
 
Old 05-28-2019, 07:54 PM   #5
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

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

Does Webengine compile on ARM (Raspberry Pi3)?
 
Old 05-29-2019, 01:30 AM   #6
jowski
Member
 
Registered: Aug 2007
Posts: 117

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by kermitdafrog8 View Post
Does Webengine compile on ARM (Raspberry Pi3)?
I haven't tried it yet. Webengine adds to the build time and isn't needed for what I'm doing.
 
Old 06-07-2019, 02:03 PM   #7
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
I have tried (and failed) in building qt5 on arm. I know it can be done, because it is available on Raspbian. Speaking of, I wonder what kind of rig (arm cluster) they use to build their packages. Building qt5 is indeed a beast! Having said that, chromium is worse.
 
Old 06-07-2019, 11:17 PM   #8
jowski
Member
 
Registered: Aug 2007
Posts: 117

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by stormtracknole View Post
I have tried (and failed) in building qt5 on arm. I know it can be done, because it is available on Raspbian. Speaking of, I wonder what kind of rig (arm cluster) they use to build their packages. Building qt5 is indeed a beast! Having said that, chromium is worse.
Sounds like a job for "Super Ice Cream".

A couple of friends of mine have distributed their compilation jobs using 'distcc' on Pi2/3's running ArchPi. I guess it could be done with SlackwareARM too.

Jim
 
1 members found this post helpful.
Old 06-08-2019, 03:30 AM   #9
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,539

Rep: Reputation: 1308Reputation: 1308Reputation: 1308Reputation: 1308Reputation: 1308Reputation: 1308Reputation: 1308Reputation: 1308Reputation: 1308Reputation: 1308
Quote:
Originally Posted by jowski View Post
Sounds like a job for "Super Ice Cream".

A couple of friends of mine have distributed their compilation jobs using 'distcc' on Pi2/3's running ArchPi. I guess it could be done with SlackwareARM too.

Jim
The ARM port is built using distcc but with x86_64 build servers using the cross toolchain:-
https://docs.slackware.com/slackwarearm:faq

To give you an idea of how long it takes to build the qt package, here's a snippet of the latest build log:
Code:
root@zippy:~/ac/source/l/qt/qt-nowebkit# less qt-4.8.7-arm-8.txz.build.log
------------------------------------------------------------
Build starting on.....: Sun May  5 19:28:17 BST 2019
Build host............: Linux zippy.arm.slackware.com 4.19.38-armv7 #2 SMP Fri May 3 09:44:53 BST 2019 armv7l Allwinner sun8i Family GNU/Linux
Building for arch.....: arm
Building as UNIX user : root on not a tty
------------------------------------------------------------
Toolchain & development tools information
------------------------------------------------------------
glibc .....: version 2.29.
binutils ..: 2.32-slack15
libtool ...: libtool (GNU libtool) 2.4.6
GCC .......: arm-slackware-linux-gnueabihf-gcc (GCC) 9.1.0
GCC-C++ ...: arm-slackware-linux-gnueabihf-g++ (GCC) 9.1.0
GNU make ..: GNU Make 4.2.1
cmake .....: cmake version 3.14.3
automake ..: automake (GNU automake) 1.16.1
rustc .....: rustc 1.34.1
Perl ......: This is perl 5, version 28, subversion 2 (v5.28.2) built for arm-linux-gnueabihf-thread-multi
Python2 ...: Python 2.7.16
Python3 ...: Python 3.7.3
ruby ......: ruby 2.6.3p62 (2019-04-16 revision 67580) [arm-linux-eabihf]
meson .....: 0.50.1
------------------------------------------------------------
Preparing build area: cleansing; creating; cd /root/tmp/build-qt ... done
And the final composite package is created :
Code:
root@zippy:~/ac/source/l/qt/qt-nowebkit# ls -lah ~/tgzstash/l/qt-4.8.7-arm-8.txz
-rw-r--r-- 1 root root 26M May  5 21:39 /root/tgzstash/l/qt-4.8.7-arm-8.txz
root@zippy:~/ac/source/l/qt/qt-nowebkit#
Only a few hours!

Last edited by drmozes; 06-08-2019 at 03:32 AM.
 
1 members found this post helpful.
Old 06-08-2019, 09:13 AM   #10
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Dang it! I keep forgetting about distcc. Thank you both for the reminder.
 
Old 10-08-2019, 09:45 PM   #11
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

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

Which version will compile for the Rpi3?
 
Old 10-10-2019, 10:05 AM   #12
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by kermitdafrog8 View Post
Which version will compile for the Rpi3?
qt5 has remain elusive for me so far.
 
Old 10-10-2019, 02:48 PM   #13
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

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

Some apps I try to compile are asking for Qt5 cmake files.
 
Old 10-18-2019, 06:33 PM   #14
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

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

I downloaded the source from github. It's trying to compile as qt6.0.0. It compiles up to a 3rd party plugin and stops saying no makefile for whatever it's trying to compile. Anyone have any luck compiling?
 
Old 11-17-2019, 09:39 PM   #15
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

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

Try 5.13.0... I was able to compile but without Webengine. Still working on figuring that out. make install put everything in /usr/local/Qt-5.13.0
 
  


Reply

Tags
qt



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 10:38 PM.

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
Open Source Consulting | Domain Registration