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 |
This is what ponce shared in SBo thread:
Quote:
|
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. |
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------- |
compilation error with slackbuild qt5 (5.9.7) and slackwareARM-current
Does Webengine compile on ARM (Raspberry Pi3)?
|
Quote:
|
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. ;)
|
Quote:
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 |
Quote:
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 Code:
root@zippy:~/ac/source/l/qt/qt-nowebkit# ls -lah ~/tgzstash/l/qt-4.8.7-arm-8.txz |
Dang it! I keep forgetting about distcc. Thank you both for the reminder. :)
|
compilation error with slackbuild qt5 (5.9.7) and slackwareARM-current
Which version will compile for the Rpi3?
|
Quote:
|
compilation error with slackbuild qt5 (5.9.7) and slackwareARM-current
Some apps I try to compile are asking for Qt5 cmake files.
|
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?
|
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
|
All times are GMT -5. The time now is 10:26 AM. |