[mythtv] Building android version manually
mythtv
mythtv at mdabbs.org
Thu Jan 21 07:30:02 UTC 2021
On 1/18/21 4:55 PM, mythtv wrote:
> I'd like to try building the android version. I'm following the
> directions at https://github.com/MythTV/packaging/tree/master/android
> but I'm stuck on trying to clone the packaging repo. It says Permission
> denied.
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
Well, I've got further with building fixes/31. It wants ~/android
instead of ~/Android. But the qt build is failing:
Project ERROR: No suitable Android SDK platform found. Minimum version
is android-21.
make[4]: *** [Makefile:49: sub-jar-make_first-ordered] Error 3
make[4]: Leaving directory
'/home/mythv/workdir/packaging/android/libs/qt-everywhere-src-5.14.1/build/qtbase/src/android'
make[3]: *** [Makefile:775:
sub--home-mythtv-workdir-packaging-android-libs-qt-everywhere-src-5-14-1-qtbase-src-android-make_first]
Error 2
I do have SDK 21 installed via the SDK Manager. I actually have 21 thru
29 installed.
My ~/android and ~/Android are identical:
android-ndk
android-studio
Sdk
buildrc only has ARM64=0
Some output from make libs:
**** configure_qt5 ***
~/workdir/packaging/android/libs/qt-everywhere-src-5.14.1
~/workdir/packaging/android/libs ~/workdir/packaging/android
~/workdir/packaging/android/libs/qt-everywhere-src-5.14.1/build
~/workdir/packaging/android/libs/qt-everywhere-src-5.14.1
~/workdir/packaging/android/libs ~/workdir/packaging/android
+ cd qtbase
+
/home/mythtv/workdir/packaging/android/libs/qt-everywhere-src-5.14.1/qtbase/configure
-top-level -xplatform android-clang -opensource -confirm-license -prefix
/home/mythtv/workdir/packaging/android/libsinstall/qt -extprefix
/home/mythtv/workdir/packaging/android/libsinstall/qt -hostprefix
/home/mythtv/workdir/packaging/android/libsinstall/qt -nomake tests
-nomake examples -android-arch armeabi-v7a -continue --disable-rpath -I
qt-everywhere-src-5.14.1/include -I
/home/mythtv/workdir/packaging/android/libsinstall/include -I
/home/mythtv/workdir/packaging/android/libsinstall/include/mariadb -L
/home/mythtv/workdir/packaging/android/libsinstall/lib -L
/home/mythtv/workdir/packaging/android/libsinstall/lib/mariadb
-plugin-sql-mysql -qt-sqlite -skip qt3d -skip qtactiveqt -skip qtcharts
-skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc
-skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip
qtlocation -skip qtlottie -skip qtmacextras -skip qtmultimedia -skip
qtnetworkauth -skip qtpurchasing -skip qtquick3d -skip qtquickcontrols
-skip qtquickcontrols2 -skip qtquicktimeline -skip qtremoteobjects -skip
qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip
qtspeech -skip qtsvg -skip qttools -skip qttranslations -skip
qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine
-skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtwinextras
-skip qtx11extras -skip qtxmlpatterns -no-make qtprintsupport -no-make
qttest -feature-rtti -feature-exceptions -no-warnings-are-errors
-openssl-linked -sysroot
/home/mythtv/android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot
-feature-neon
Preparing build tree...
Creating qmake...
...............................................................................................Done.
Info: creating super cache file
/home/mythtv/workdir/packaging/android/libs/qt-everywhere-src-5.14.1/build/.qmake.super
Info: creating cache file
/home/mythtv/workdir/packaging/android/libs/qt-everywhere-src-5.14.1/build/.qmake.cache
Info: creating stash file
/home/mythtv/workdir/packaging/android/libs/qt-everywhere-src-5.14.1/build/.qmake.stash
This is the Qt Open Source Edition.
You have already accepted the terms of the Open Source license.
Running configuration tests...
Checking for valid makespec... yes
Checking for alloca() in alloca.h... yes
Checking for target architecture... arm
Checking for host architecture... x86_64
Checking for C++14 support... yes
Checking for C++17 support... yes
Checking for C99 support... yes
Checking for C11 support... yes
Checking for pkg-config... yes
Checking for dlopen()... yes
Checking for new dtags support... yes
Checking for udev... no
Checking for POSIX fallocate()... yes
Checking for precompiled header support... yes
Checking for RDRAND instruction... no
Checking for symbol visibility support... yes
Checking for -Bsymbolic-functions support... no
Checking for Signaling NaN for doubles... yes
Checking for STL compatibility... yes
Checking for zlib... yes
Checking for Zstandard... no
Checking for clock_gettime()... yes
Checking for POSIX monotonic clock... yes
Checking for C++11 <future>... no
Checking for eventfd... yes
Checking for futimens()... yes
Checking for getauxval()... yes
Checking for getentropy()... no
Checking for GLib... no
Checking for GNU libc... no
Checking for ICU... yes
Checking for inotify... yes
Checking for SysV IPC... yes
Checking for ppoll()... yes
Checking for PCRE2... no
Checking for renameat2()... no
Checking for slog2... no
Checking for statx() in libc... no
Checking for 64 bit atomics... yes
Checking for DoubleConversion... no
Checking for O_CLOEXEC... yes
Checking for C++11 <random>... yes
Checking for working std::atomic for function pointers... yes
Checking for OpenSSL Headers... yes
Checking for DTLS support in OpenSSL... yes
Checking for getifaddrs()... yes
Checking for KRB5 GSSAPI Support... no
Checking for IPv6 ifname... yes
Checking for Linux AF_NETLINK sockets... yes
Checking for OpenSSL 1.1 support... no
Checking for xkbcommon >= 0.5.0... no
Checking for Desktop OpenGL... no
Checking for OpenGL ES 2.0... yes
Checking for KMS... no
Checking for EGL... yes
Checking for XLib... no
Checking for evdev... yes
Checking for FreeType... yes
Checking for Fontconfig... yes
Checking for GBM... no
Checking for LinuxFB... no
Checking for mtdev... no
Checking for OpenGL ES 3.0... no
Checking for OpenVG... no
Checking for default QPA platform... android
Checking for HarfBuzz... no
Checking for libjpeg... no
Checking for libpng... no
Checking for libmd4c... no
Checking for tslib... no
Checking for Vulkan... yes
Checking for CUPS... no
Checking for DB2 (IBM)... no
Checking for InterBase... no
Checking for MySQL... yes
Checking for OCI (Oracle)... no
Checking for ODBC... no
Checking for PostgreSQL... no
Checking for SQLite (version 2)... no
Checking for TDS (Sybase)... no
Checking for asm/hwcap.h... yes
Done running configuration tests.
Configure summary:
Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
Building for: android-clang (arm, CPU features: neon)
Target compiler: clang 9.0.8
Configuration: cross_compile compile_examples enable_new_dtags neon
precompile_header shared shared release c++11 c++14 c++1z concurrent
reduce_exports stl
Build options:
Mode ................................... release
Optimize release build for size ........ no
Building shared libraries .............. yes
Using C standard ....................... C11
Using C++ standard ..................... C++17
Using ccache ........................... no
Using new DTAGS ........................ yes
Relocatable ............................ yes
Using precompiled headers .............. yes
Using LTCG ............................. no
Target compiler supports:
NEON ................................. yes
Build parts ............................ libs
App store compliance ................... yes
Qt modules and options:
Qt Concurrent .......................... yes
Qt D-Bus ............................... no
Qt D-Bus directly linked to libdbus .... no
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
udev ................................... no
Using system zlib ...................... yes
Zstandard support ...................... no
Qt Core:
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... no
iconv .................................. no
ICU .................................... yes
Built-in copy of the MIME database ..... yes
Tracing backend ........................ <none>
Logging backends:
journald ............................. no
syslog ............................... no
slog2 ................................ no
PCRE2 .................................. yes
Using system PCRE2 ................... no
Qt Network:
getifaddrs() ........................... yes
IPv6 ifname ............................ yes
libproxy ............................... no
Linux AF_NETLINK ....................... yes
OpenSSL ................................ yes
Qt directly linked to OpenSSL ........ no
OpenSSL 1.1 ............................ no
DTLS ................................... yes
OCSP-stapling .......................... no
SCTP ................................... no
Use system proxies ..................... yes
GSSAPI ................................. no
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ yes
HarfBuzz ............................... yes
Using system HarfBuzz ................ no
Fontconfig ............................. yes
Image formats:
GIF .................................. yes
ICO .................................. yes
JPEG ................................. yes
Using system libjpeg ............... no
PNG .................................. yes
Using system libpng ................ no
Text formats:
HtmlParser ........................... yes
CssParser ............................ yes
OdfWriter ............................ yes
MarkdownReader ....................... yes
Using system libmd4c ............... no
MarkdownWriter ....................... yes
EGL .................................... yes
OpenVG ................................. no
OpenGL:
Desktop OpenGL ....................... no
OpenGL ES 2.0 ........................ yes
OpenGL ES 3.0 ........................ no
OpenGL ES 3.1 ........................ no
OpenGL ES 3.2 ........................ no
Vulkan ................................. yes
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
XCB Xlib ............................. no
EGL on X11 ........................... no
QPA backends:
DirectFB ............................... no
EGLFS .................................. no
LinuxFB ................................ no
VNC .................................... no
Qt Sql:
SQL item models ........................ yes
Qt Widgets:
GTK+ ................................... no
Styles ................................. Fusion Windows Android
Qt PrintSupport:
CUPS ................................... no
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. yes
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
Note: Also available for Linux: linux-clang linux-icc
ERROR: Invalid value 'no' supplied to command line option 'make'.
ERROR: Invalid command line parameter 'qtprintsupport'.
More information about the mythtv-dev
mailing list