Mailing List Archive

Building android version manually
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@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Building android version manually [ In reply to ]
On 19/01/2021 9:55 am, 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.

You have to clone all of packaging. Not just the android bit.

Mark


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Building android version manually [ In reply to ]
On 1/18/21 5:04 PM, Mark Spieth wrote:
> On 19/01/2021 9:55 am, 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.
>
> You have to clone all of packaging. Not just the android bit.
>
> Mark
>
>

If you don't have an account with Github, the url given in the
directions will not work. Instead, you need to use the https form:

git clone https://github.com/mythtv/packaging.git
git clone https://github.com/mythtv/mythtv.git

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Building android version manually [ In reply to ]
On 1/18/21 7:29 PM, BP wrote:
> On 1/18/21 5:04 PM, Mark Spieth wrote:
>> On 19/01/2021 9:55 am, 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.
>>
>> You have to clone all of packaging. Not just the android bit.
>>
>> Mark
>>
>>
>
> If you don't have an account with Github, the url given in the
> directions will not work.  Instead, you need to use the https form:
>
> git clone https://github.com/mythtv/packaging.git
> git clone https://github.com/mythtv/mythtv.git
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

Yea, the http for works. Now I'm stuck in the make libs portion.
Apparently download.qt.io is down?
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Building android version manually [ In reply to ]
On 1/18/21 5: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.
>

Try this for packaging:

git clone https://github.com/MythTV/packaging.git

and this for MythTV:

git clone https://github.com/MythTV/mythtv.git



_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Building android version manually [ In reply to ]
On 1/19/21 8:20 AM, Peter Bennett wrote:
>
> On 1/18/21 5: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.
>>
>
> Try this for packaging:
>
> git clone https://github.com/MythTV/packaging.git
>
> and this for MythTV:
>
> git clone https://github.com/MythTV/mythtv.git
>
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

I cloned the repos. But its stuck in make libs trying to download
qt-everywhere-src-5.14.1.tar.xz. Apparently download.qt.io is down? Is
there a mirror or some other way to get past this step?
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Building android version manually [ In reply to ]
>
>
>
>
> I cloned the repos. But its stuck in make libs trying to download
> qt-everywhere-src-5.14.1.tar.xz. Apparently download.qt.io is down? Is
> there a mirror or some other way to get past this step?
> _______________________________________________
>
>
Well googling "qt-everywhere-src-5.14.1.tar.xz download" brings up
several sites hosting copies of that file for downloading by hand.

Is that what you meant - or are you looking to modify the makefile?
Re: Building android version manually [ In reply to ]
On 1/20/21 2:01 AM, David Watkins wrote:
>
>
>
> I cloned the repos. But its stuck in make libs trying to download
> qt-everywhere-src-5.14.1.tar.xz. Apparently download.qt.io
> <http://download.qt.io> is down?  Is
> there a mirror or some other way to get past this step?
> _______________________________________________
>
>
> Well googling  "qt-everywhere-src-5.14.1.tar.xz download"  brings up
> several sites hosting copies of that file for downloading by hand.
>
> Is that what you meant - or are you looking to modify the makefile?
>
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>

Ugh, I searched for mirrors but all I got originally was download.qt.io.
Weird. I got the file and dropped it in the tarballs directory and it
picked it up and finished.

On to the next step...
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Building android version manually [ In reply to ]
On 1/20/21 10:11 AM, mythtv wrote:
> On 1/20/21 2:01 AM, David Watkins wrote:
>>
>>
>>
>>     I cloned the repos. But its stuck in make libs trying to download
>>     qt-everywhere-src-5.14.1.tar.xz. Apparently download.qt.io
>>     <http://download.qt.io> is down?  Is
>>     there a mirror or some other way to get past this step?
>>     _______________________________________________
>>
>>
>> Well googling  "qt-everywhere-src-5.14.1.tar.xz download"  brings up
>> several sites hosting copies of that file for downloading by hand.
>>
>> Is that what you meant - or are you looking to modify the makefile?
>>
>>
>>
>> _______________________________________________
>> mythtv-dev mailing list
>> mythtv-dev@mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
>
> Ugh, I searched for mirrors but all I got originally was download.qt.io.
> Weird. I got the file and dropped it in the tarballs directory and it
> picked it up and finished.
>
> On to the next step...
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

I successfully built master, then realized that I really wanted to build
fixes/31. So I did a make distclean, then switched to fixes/31 in both
packaging and mythtv repos. I re-ran make libs and I'm now getting the
following error. I'm building on Gentoo.

patching file CMakeLists.txt
Hunk #1 succeeded at 357 (offset 43 lines).
~/workdir/packaging/android/libs/taglib-1.11.1
~/workdir/packaging/android/libs ~/workdir/packaging/android
~/workdir/packaging/android/libs/taglib-1.11.1/build
~/workdir/packaging/android/libs/taglib-1.11.1
~/workdir/packaging/android/libs ~/workdir/packaging/android
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future
version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.


CMake Error at /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:129
(message):
Could not find toolchain file:
/home/mdabbs/android/android-ndk/build/cmake/android.toolchain.cmake
Call Stack (most recent call first):
CMakeLists.txt:3 (project)


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
~/workdir/packaging/android/libs/taglib-1.11.1
~/workdir/packaging/android/libs ~/workdir/packaging/android
~/workdir/packaging/android/libs ~/workdir/packaging/android
make: *** [Makefile:33: libs] Error 1
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Building android version manually [ In reply to ]
On 20/01/2021 04:07, mythtv wrote:
> On 1/19/21 8:20 AM, Peter Bennett wrote:
> (...) Apparently download.qt.io is down? (...)

"Qt Open-Source Downloads Temporarily Offline Due To Severe Hardware
Failure"

http://www.phoronix.com/scan.php?page=news_item&px=Qt-Open-Source-Cloud-Failure
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Building android version manually [ In reply to ]
On Wed, Jan 20, 2021 at 5:48 PM Jan Ceuleers <jan.ceuleers@gmail.com> wrote:

> "Qt Open-Source Downloads Temporarily Offline Due To Severe Hardware
> Failure"

Two servers in the same location using the same
storage backend? The Qt company deserves
to be mocked and laughed at as having no clue
about hosting (even my test AWS lightsail
instances are better provisioned, and I would
not care (and no would notice) if they were offline
for weeks; multiple regions and multiple availability
zones is normal for production for anyone with
any clue whatsoever).

The question, of course, is not whether the
server(s) failed (every design tends to fail
sooner or later), but will they have learned
their lesson and do better moving forward.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Building android version manually [ In reply to ]
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@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'.




_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org