Mailing List Archive

MythTV-Frontend does not start on Amazon FireTV 4K
I have installed Peter Bennett's APKs for mythfrontend on a FireTV 2 (Fire OS 5.2.7.3) via remote ADB.
Unfortunately it does not start, but exits silently after showing the splash screen. Tried the latest 32 and 64 bit versions of v31.
The Leanfront app is working.
Was anyone successful with mythfrontend on this device?
Re: MythTV-Frontend does not start on Amazon FireTV 4K [ In reply to ]
On 08/07/2020 17:56, Daniel Di Giacomo wrote:
> I have installed Peter Bennett's APKs for mythfrontend on a FireTV 2 (Fire OS 5.2.7.3) via remote ADB.
> Unfortunately it does not start, but exits silently after showing the splash screen. Tried the latest 32 and 64 bit versions of v31.
> The Leanfront app is working.
> Was anyone successful with mythfrontend on this device?
>

I don't have this device. My FireTVstick 4k has Fire OS 6.2.7.1
(NS6271/2495). IIUC Fire OS is 32-bit.

Have you seen https://www.mythtv.org/wiki/Android ?

Logging is available via adb logcat. adb logcat mfe:D *.S for a
filtered version.

hth

John P

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV 4K [ In reply to ]
On 08/07/2020 19:41, John Pilkington wrote:
> On 08/07/2020 17:56, Daniel Di Giacomo wrote:
>> I have installed Peter Bennett's APKs for mythfrontend on a FireTV 2
>> (Fire OS 5.2.7.3) via remote ADB.
>> Unfortunately it does not start, but exits silently? after showing the
>> splash screen. Tried the latest 32 and 64 bit versions of v31.
>> The Leanfront app is working.
>> Was anyone successful with mythfrontend on this device?
>>
>
> I don't have this device.? My FireTVstick 4k has Fire OS 6.2.7.1
> (NS6271/2495).? IIUC Fire OS is 32-bit.
>
> Have you seen https://www.mythtv.org/wiki/Android ?
>
> Logging is available via adb logcat.? adb logcat mfe:D *.S? for a
> filtered version.
>
> hth
>
> John P
>
Sorry. adb logcat mfe:D *:S
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
On 7/8/20 12:56 PM, Daniel Di Giacomo wrote:
> I have installed Peter Bennett's APKs for mythfrontend on a FireTV 2 (Fire OS 5.2.7.3) via remote ADB.
> Unfortunately it does not start, but exits silently after showing the splash screen. Tried the latest 32 and 64 bit versions of v31.
> The Leanfront app is working.
> Was anyone successful with mythfrontend on this device?
>
> _______________________________________________


If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit version
of mythfrontend would work.

I tried this on a fire stick gen 2 and I agree it is not working. The
same apk installed on fire stick 4K works fine.

Error message is

E/art???? ( 8394):
dlopen("/data/app/org.mythtv.mythfrontend-2/lib/arm/libQt5Core_armeabi-v7a.so",
RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in
"libQt5Core_armeabi-v7a.so" (built with --hash-style=gnu?)
--------- beginning of crash
E/AndroidRuntime( 8394): FATAL EXCEPTION: qtMainLoopThread
E/AndroidRuntime( 8394): Process: org.mythtv.mythfrontend, PID: 8394
E/AndroidRuntime( 8394): java.lang.UnsatisfiedLinkError: dlopen failed:
empty/missing DT_HASH in "libQt5Core_armeabi-v7a.so" (built with
--hash-style=gnu?)
E/AndroidRuntime( 8394): ??? at java.lang.Runtime.load(Runtime.java:331)
E/AndroidRuntime( 8394): ??? at java.lang.System.load(System.java:981)
E/AndroidRuntime( 8394): ??? at
org.qtproject.qt5.android.QtNative$2.run(QtNative.java:199)
E/AndroidRuntime( 8394): ??? at
org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
E/AndroidRuntime( 8394): ??? at
org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
E/AndroidRuntime( 8394): ??? at java.lang.Thread.run(Thread.java:818)

Perhaps Mark Spieth has some insight into this.

Peter
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
On Wed, Jul 8, 2020 at 12:55 PM Peter Bennett <pb.mythtv@gmail.com> wrote:

> Error message is
>
> E/art ( 8394):
> dlopen("/data/app/org.mythtv.mythfrontend-2/lib/arm/libQt5Core_armeabi-v7a.so",
> RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in
> "libQt5Core_armeabi-v7a.so" (built with --hash-style=gnu?)
>

Stackoverflow seems to indicate that rebuilding the APK with both GNU and
SysV hashes will fix this:

https://stackoverflow.com/questions/28638809/android-ndk-unsatisfiedlinkerror-dlopen-failed-empty-missing-dt-hash

Likely a simple compile time change will fix it.

Hope this helps,

Mike
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
On 7/9/2020 4:54 AM, Peter Bennett wrote:
> dlopen failed: empty/missing DT_HASH

https://stackoverflow.com/questions/28638809/android-ndk-unsatisfiedlinkerror-dlopen-failed-empty-missing-dt-hash

We need to update makelibs.sh and add these linker flags to all libs and
rebuilding libs. Probably need this in myth build too since these are
libraries as well.

|-Wl,--hash-style=both|

|Ill look at doing this sometime today as time permits otherwise it will
be the weekend.
|

Going back to the older NDK which supported gcc will also work I expect.

Mark


||

||



--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
---- Von: Peter Bennett <pb.mythtv@gmail.com> -- Gesendet: 2020-07-08 - 20:54 ----

>
> On 7/8/20 12:56 PM, Daniel Di Giacomo wrote:
>> I have installed Peter Bennett's APKs for mythfrontend on a FireTV 2 (Fire OS 5.2.7.3) via remote ADB.
>> Unfortunately it does not start, but exits silently after showing the splash screen. Tried the latest 32 and 64 bit versions of v31.
>> The Leanfront app is working.
>> Was anyone successful with mythfrontend on this device?
>>
>> _______________________________________________
>
>
> If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit version

No it's this one:
https://www.amazon.co.uk/dp/B00KQEHEJK/

> of mythfrontend would work.
>
> I tried this on a fire stick gen 2 and I agree it is not working. The
> same apk installed on fire stick 4K works fine.
>
> Error message is
>
> E/art     ( 8394):
> dlopen("/data/app/org.mythtv.mythfrontend-2/lib/arm/libQt5Core_armeabi-v7a.so",
> RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in
> "libQt5Core_armeabi-v7a.so" (built with --hash-style=gnu?)
> --------- beginning of crash
> E/AndroidRuntime( 8394): FATAL EXCEPTION: qtMainLoopThread
> E/AndroidRuntime( 8394): Process: org.mythtv.mythfrontend, PID: 8394
> E/AndroidRuntime( 8394): java.lang.UnsatisfiedLinkError: dlopen failed:
> empty/missing DT_HASH in "libQt5Core_armeabi-v7a.so" (built with
> --hash-style=gnu?)
> E/AndroidRuntime( 8394):     at java.lang.Runtime.load(Runtime.java:331)
> E/AndroidRuntime( 8394):     at java.lang.System.load(System.java:981)
> E/AndroidRuntime( 8394):     at
> org.qtproject.qt5.android.QtNative$2.run(QtNative.java:199)
> E/AndroidRuntime( 8394):     at
> org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
> E/AndroidRuntime( 8394):     at
> org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
> E/AndroidRuntime( 8394):     at java.lang.Thread.run(Thread.java:818)
>
> Perhaps Mark Spieth has some insight into this.
>
> Peter
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
On 7/9/20 3:15 AM, Daniel Di Giacomo wrote:
>> If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit version
> No it's this one:
> https://www.amazon.co.uk/dp/B00KQEHEJK/
>
In any case, the problem happens also with the olf fire stick I have so
I can test out any fixes on that.

Peter
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit version
of mythfrontend would work.
>
> I tried this on a fire stick gen 2 and I agree it is not working. The
> same apk installed on fire stick 4K works fine.
>
> Error message is
>
> E/art???? ( 8394):
> dlopen("/data/app/org.mythtv.mythfrontend-2/lib/arm/libQt5Core_armeabi-v7a.so",
> RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in
> "libQt5Core_armeabi-v7a.so" (built with --hash-style=gnu?)
> --------- beginning of crash
> E/AndroidRuntime( 8394): FATAL EXCEPTION: qtMainLoopThread
> E/AndroidRuntime( 8394): Process: org.mythtv.mythfrontend, PID: 8394
> E/AndroidRuntime( 8394): java.lang.UnsatisfiedLinkError: dlopen
> failed: empty/missing DT_HASH in "libQt5Core_armeabi-v7a.so" (built
> with --hash-style=gnu?)
> E/AndroidRuntime( 8394): ??? at java.lang.Runtime.load(Runtime.java:331)
> E/AndroidRuntime( 8394): ??? at java.lang.System.load(System.java:981)
> E/AndroidRuntime( 8394): ??? at
> org.qtproject.qt5.android.QtNative$2.run(QtNative.java:199)
> E/AndroidRuntime( 8394): ??? at
> org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
> E/AndroidRuntime( 8394): ??? at
> org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
> E/AndroidRuntime( 8394): ??? at java.lang.Thread.run(Thread.java:818)
>
I have pushed a fix for this. should work but untested. pristine libs
rebuild required of course.

Mark


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

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
---- Von: Mark Spieth <mark@digivation.com.au> -- Gesendet: 2020-07-11 - 03:13 ----

> If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit version

Sorry, but if I had meant the stick, I would have written "stick".

It's this one (see my previous post):
https://www.amazon.co.uk/dp/B00KQEHEJK/
Thanks

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

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
---- Von: Daniel Di Giacomo <lists@dadigi.com> -- Gesendet: 2020-07-11 - 20:41 ----

>
>
> ---- Von: Mark Spieth <mark@digivation.com.au> -- Gesendet: 2020-07-11 - 03:13 ----
>
>> If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit version
>
> Sorry, but if I had meant the stick, I would have written "stick".
>
Seems hard to find a link in English. Actually I mean this one (Model DV83YW):

Amazon Fire TV (2nd Generation)

Technical Specifications

Device Type2nd generation modelInternet ConnectionWi-Fi or wired (Ethernet) networksIncluded RemoteAmazon Fire TV Voice Remote (1st Generation)Storage Space

8 GB (4.5 GB available for internal storage)

2 GB memory

MicroSD external storage option, up to 128 GB.

Audio Output
Support for Dolby Digital Plus, 5.1 surround sound, 2-channel Stereo, and HDMI audio pass through up to 7.1.
Compatible USB Devices

Some third-party USB remotes and game controllers

Keyboards and computer mouse devices

Flirc USB dongles

Compatible Bluetooth Devices
Bluetooth 4.1

Bluetooth game controllers

Headphones

Keyboards

Computer mouse devices

Some third-party remotes

Features

Voice Interaction - Use your voice to search for content and interact with Alexa.
Video - Support for 4K Ultra HD video, with a compatible connected UHD TV.
Apps & Games - Get apps and games (including titles with high-quality graphics like "Sev Zero") from the Amazon Appstore.
Music - Access the Amazon Music app and many other third-party music apps and services.
Amazon FreeTime - Set and use Amazon FreeTime profiles on your device.

https://www.amazon.co.uk/gp/help/customer/display.html?nodeId=201640900&ref_=d6k_applink_bb_marketplace

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

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
On 11/07/2020 19:56, Daniel Di Giacomo wrote:
>
>
>
> ---- Von: Daniel Di Giacomo <lists@dadigi.com> -- Gesendet: 2020-07-11 - 20:41 ----
>
>>
>>
>> ---- Von: Mark Spieth <mark@digivation.com.au> -- Gesendet: 2020-07-11 - 03:13 ----
>>
>>> If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit version
>>
>> Sorry, but if I had meant the stick, I would have written "stick".

Judging by the OS version it isn't a 'cube' either - but this might
help, or at least clarify...

https://developer.amazon.com/docs/fire-tv/device-specifications-fire-tv-cube.html?v=ftvcubegen2


>>
> Seems hard to find a link in English. Actually I mean this one (Model DV83YW):
>
> Amazon Fire TV (2nd Generation)
>
> Technical Specifications
>
> Device Type2nd generation modelInternet ConnectionWi-Fi or wired (Ethernet) networksIncluded RemoteAmazon Fire TV Voice Remote (1st Generation)Storage Space
>
> 8 GB (4.5 GB available for internal storage)
>
> 2 GB memory
>
> MicroSD external storage option, up to 128 GB.
>
> Audio Output
> Support for Dolby Digital Plus, 5.1 surround sound, 2-channel Stereo, and HDMI audio pass through up to 7.1.
> Compatible USB Devices
>
> Some third-party USB remotes and game controllers
>
> Keyboards and computer mouse devices
>
> Flirc USB dongles
>
> Compatible Bluetooth Devices
> Bluetooth 4.1
>
> Bluetooth game controllers
>
> Headphones
>
> Keyboards
>
> Computer mouse devices
>
> Some third-party remotes
>
> Features
>
> Voice Interaction - Use your voice to search for content and interact with Alexa.
> Video - Support for 4K Ultra HD video, with a compatible connected UHD TV.
> Apps & Games - Get apps and games (including titles with high-quality graphics like "Sev Zero") from the Amazon Appstore.
> Music - Access the Amazon Music app and many other third-party music apps and services.
> Amazon FreeTime - Set and use Amazon FreeTime profiles on your device.
>
> https://www.amazon.co.uk/gp/help/customer/display.html?nodeId=201640900&ref_=d6k_applink_bb_marketplace
>
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
On 7/10/20 9:13 PM, Mark Spieth wrote:
> If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit
> version of mythfrontend would work.
>>
>> I tried this on a fire stick gen 2 and I agree it is not working. The
>> same apk installed on fire stick 4K works fine.
>>
>> Error message is
>>
>> E/art???? ( 8394):
>> dlopen("/data/app/org.mythtv.mythfrontend-2/lib/arm/libQt5Core_armeabi-v7a.so",
>> RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in
>> "libQt5Core_armeabi-v7a.so" (built with --hash-style=gnu?)
>> --------- beginning of crash
>> E/AndroidRuntime( 8394): FATAL EXCEPTION: qtMainLoopThread
>> E/AndroidRuntime( 8394): Process: org.mythtv.mythfrontend, PID: 8394
>> E/AndroidRuntime( 8394): java.lang.UnsatisfiedLinkError: dlopen
>> failed: empty/missing DT_HASH in "libQt5Core_armeabi-v7a.so" (built
>> with --hash-style=gnu?)
>> E/AndroidRuntime( 8394): ??? at java.lang.Runtime.load(Runtime.java:331)
>> E/AndroidRuntime( 8394): ??? at java.lang.System.load(System.java:981)
>> E/AndroidRuntime( 8394): ??? at
>> org.qtproject.qt5.android.QtNative$2.run(QtNative.java:199)
>> E/AndroidRuntime( 8394): ??? at
>> org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
>> E/AndroidRuntime( 8394): ??? at
>> org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
>> E/AndroidRuntime( 8394): ??? at java.lang.Thread.run(Thread.java:818)
>>
> I have pushed a fix for this. should work but untested. pristine libs
> rebuild required of course.
>
> Mark
>
>
As you had recommended, I changed the ANDROID_NATIVE_API_LEVEL to 21

Using master ..

Libs built fine, but trying to build mythtv gives these errors (see
below). It does not make much sense, since fseeko is supposed to be in
stdio.h ?

In file included from mythcommandlineparser.cpp:28:
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:950:9:
error: use of undeclared identifier 'fseeko'
??? if (fseeko(__file_, __width > 0 ? __width * __off : 0, __whence))
??????? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:213:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::seekoff' requested here
??? basic_filebuf();
??? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1356:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::basic_filebuf' requested here
??? basic_ofstream();
??? ^
mythcommandlineparser.cpp:2754:14: note: in instantiation of member
function 'std::__ndk1::basic_ofstream<char,
std::__ndk1::char_traits<char> >::basic_ofstream' requested here
??? ofstream pidfs;
???????????? ^
In file included from mythcommandlineparser.cpp:28:
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:952:20:
error: use of undeclared identifier 'ftello'
??? pos_type __r = ftello(__file_);
?????????????????? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:968:9:
error: use of undeclared identifier 'fseeko'
??? if (fseeko(__file_, __sp, SEEK_SET))
??????? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:213:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::seekpos' requested here
??? basic_filebuf();
??? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1356:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::basic_filebuf' requested here
??? basic_ofstream();
??? ^
mythcommandlineparser.cpp:2754:14: note: in instantiation of member
function 'std::__ndk1::basic_ofstream<char,
std::__ndk1::char_traits<char> >::basic_ofstream' requested here
??? ofstream pidfs;
???????????? ^
In file included from mythcommandlineparser.cpp:28:
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1032:13:
error: use of undeclared identifier 'fseeko'
??????? if (fseeko(__file_, -__c, SEEK_CUR))
??????????? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:213:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::sync' requested here
??? basic_filebuf();
??? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1356:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::basic_filebuf' requested here
??? basic_ofstream();
??? ^
mythcommandlineparser.cpp:2754:14: note: in instantiation of member
function 'std::__ndk1::basic_ofstream<char,
std::__ndk1::char_traits<char> >::basic_ofstream' requested here
??? ofstream pidfs;
???????????? ^
4 errors generated.
make[3]: *** [Makefile:6200: obj/mythcommandlineparser.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
'/home/peter/proj/github.com/MythTV/packaging-master/android/build/mythtv/libs/libmythbase'
make[2]: *** [Makefile:81: sub-libmythbase-make_first] Error 2
make[2]: Leaving directory
'/home/peter/proj/github.com/MythTV/packaging-master/android/build/mythtv/libs'
make[1]: *** [Makefile:66: libs] Error 2
make[1]: Leaving directory
'/home/peter/proj/github.com/MythTV/packaging-master/android/build/mythtv'
make: *** [Makefile:36: apk] Error 2

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
On 7/12/2020 6:59 AM, Peter Bennett wrote:
>
> On 7/10/20 9:13 PM, Mark Spieth wrote:
>> If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit
>> version of mythfrontend would work.
>>>
>>> I tried this on a fire stick gen 2 and I agree it is not working.
>>> The same apk installed on fire stick 4K works fine.
>>>
>>> Error message is
>>>
>>> E/art???? ( 8394):
>>> dlopen("/data/app/org.mythtv.mythfrontend-2/lib/arm/libQt5Core_armeabi-v7a.so",
>>> RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in
>>> "libQt5Core_armeabi-v7a.so" (built with --hash-style=gnu?)

same hash style error as before. I assume you rebuild the libs with sdk
target 21 too.

Did you try my makelibs.sh commit (with original sdk version 23 or was
it 25?)?

Not sure if the other libs also require it but we will see. It should at
least get rid of the above LD error.

Mark


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

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
On 7/12/20 10:56 AM, Mark Spieth wrote:
> On 7/12/2020 6:59 AM, Peter Bennett wrote:
>>
>> On 7/10/20 9:13 PM, Mark Spieth wrote:
>>> If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit
>>> version of mythfrontend would work.
>>>>
>>>> I tried this on a fire stick gen 2 and I agree it is not working.
>>>> The same apk installed on fire stick 4K works fine.
>>>>
>>>> Error message is
>>>>
>>>> E/art???? ( 8394):
>>>> dlopen("/data/app/org.mythtv.mythfrontend-2/lib/arm/libQt5Core_armeabi-v7a.so",
>>>> RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in
>>>> "libQt5Core_armeabi-v7a.so" (built with --hash-style=gnu?)
>
> same hash style error as before. I assume you rebuild the libs with
> sdk target 21 too.
>
> Did you try my makelibs.sh commit (with original sdk version 23 or was
> it 25?)?
>
> Not sure if the other libs also require it but we will see. It should
> at least get rid of the above LD error.
>
> Mark
>
>
This is an old email you are replying to. The current error I get is a
failure to compile. See my email from 7/11/2020, copied below.

Peter

As you had recommended, I changed the ANDROID_NATIVE_API_LEVEL to 21

Using master ..

Libs built fine, but trying to build mythtv gives these errors (see
below). It does not make much sense, since fseeko is supposed to be in
stdio.h ?

In file included from mythcommandlineparser.cpp:28:
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:950:9:
error: use of undeclared identifier 'fseeko'
??? if (fseeko(__file_, __width > 0 ? __width * __off : 0, __whence))
??????? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:213:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::seekoff' requested here
??? basic_filebuf();
??? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1356:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::basic_filebuf' requested here
??? basic_ofstream();
??? ^
mythcommandlineparser.cpp:2754:14: note: in instantiation of member
function 'std::__ndk1::basic_ofstream<char,
std::__ndk1::char_traits<char> >::basic_ofstream' requested here
??? ofstream pidfs;
???????????? ^
In file included from mythcommandlineparser.cpp:28:
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:952:20:
error: use of undeclared identifier 'ftello'
??? pos_type __r = ftello(__file_);
?????????????????? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:968:9:
error: use of undeclared identifier 'fseeko'
??? if (fseeko(__file_, __sp, SEEK_SET))
??????? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:213:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::seekpos' requested here
??? basic_filebuf();
??? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1356:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::basic_filebuf' requested here
??? basic_ofstream();
??? ^
mythcommandlineparser.cpp:2754:14: note: in instantiation of member
function 'std::__ndk1::basic_ofstream<char,
std::__ndk1::char_traits<char> >::basic_ofstream' requested here
??? ofstream pidfs;
???????????? ^
In file included from mythcommandlineparser.cpp:28:
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1032:13:
error: use of undeclared identifier 'fseeko'
??????? if (fseeko(__file_, -__c, SEEK_CUR))
??????????? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:213:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::sync' requested here
??? basic_filebuf();
??? ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1356:5:
note: in instantiation of member function
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char>
>::basic_filebuf' requested here
??? basic_ofstream();
??? ^
mythcommandlineparser.cpp:2754:14: note: in instantiation of member
function 'std::__ndk1::basic_ofstream<char,
std::__ndk1::char_traits<char> >::basic_ofstream' requested here
??? ofstream pidfs;
???????????? ^
4 errors generated.
make[3]: *** [Makefile:6200: obj/mythcommandlineparser.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
'/home/peter/proj/github.com/MythTV/packaging-master/android/build/mythtv/libs/libmythbase'
make[2]: *** [Makefile:81: sub-libmythbase-make_first] Error 2
make[2]: Leaving directory
'/home/peter/proj/github.com/MythTV/packaging-master/android/build/mythtv/libs'
make[1]: *** [Makefile:66: libs] Error 2
make[1]: Leaving directory
'/home/peter/proj/github.com/MythTV/packaging-master/android/build/mythtv'
make: *** [Makefile:36: apk] Error 2

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV 4K [ In reply to ]
On 08/07/2020 19:41, John Pilkington wrote:
>> Logging is available via adb logcat.? adb logcat mfe:D *.S? for a
>> filtered version.
>>
>> hth
>>
>> John P
>>
>Sorry. adb logcat mfe:D *:S
Error is: E/art ( 6257): dlopen("/data/app/org.mythtv.mythfrontend-1/lib/arm64/libQt5Core_arm64-v8a.so", RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in "/data/app/org.mythtv.mythfrontend-1/lib/arm64/libQt5Core_arm64-v8a.so" (built with --hash-style=gnu?)
E/AndroidRuntime( 6257): Process: org.mythtv.mythfrontend, PID: 6257
E/AndroidRuntime( 6257): java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH in "/data/app/org.mythtv.mythfrontend-1/lib/arm64/libQt5Core_arm64-v8a.so" (built with --hash-style=gnu?)
W/ActivityManager(512): Force finishing activity 1 org.mythtv.mythfrontend/org.qtproject.qt5.android.bindings.QtActivity
I/Vlog(512): 3p:bg_crash:fgtracking=false;DV;1,key=org.mythtv.mythfrontend;DV;1,Counter=1.0;CT;1,unit=count;DV;1,metadata=12c84e72012fb7187576723062faa7e582bf0568!{"d"#{"app_version"#"1"}};DV;1:HI
I/Vlog(512): 3p:fg_crash:fgtracking=false;DV;1,key=org.mythtv.mythfrontend;DV;1,Counter=1.0;CT;1,unit=count;DV;1,metadata=12c84e72012fb7187576723062faa7e582bf0568!{"d"#{"app_version"#"1"$"source"#"dropbox"}};DV;1:HI
I/ActivityManager(512): Process org.mythtv.mythfrontend (pid 6257) has died
shell@sloane:/proc $ cat cpuinfo Processor : AArch64 Processor rev 2 (aarch64) processor : 0 BogoMIPS : 26.00 processor : 1 BogoMIPS : 26.00 Features : fp asimd aes pmull sha1 sha2 crc32 CPU implementer : 0x41 CPU architecture: AArch64 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 2 Display Devices: size=1
DisplayDeviceInfo{"Integrierter Bildschirm": uniqueId="local:0", 3840 x 2160, modeId 5, defaultModeId 5, supportedModes [{id=5, width=3840, height=2160, fps=29.94}], density 320, 76.2 x 76.2 dpi, appVsyncOff -5000000, presDeadline 39400133, touch INTERNAL, rotation 0, type BUILT_IN, state ON, FLAG_DEFAULT_DISPLAY, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
mAdapter=LocalDisplayAdapter
mUniqueId=local:0
mDisplayToken=android.os.BinderProxy@336aed0c
mCurrentLayerStack=0
mCurrentOrientation=0
mCurrentLayerStackRect=Rect(0, 0 - 1920, 1080)
mCurrentDisplayRect=Rect(0, 0 - 3840, 2160)
mCurrentSurface=null
mBuiltInDisplayId=0
mActiveModeId=5
mState=ON


Logical Displays: size=1
Display 0:
mDisplayId=0
mLayerStack=0
mHasContent=true
mRequestedMode=95
mPrimaryDisplayDevice=Integrierter Bildschirm
mBaseDisplayInfo=DisplayInfo{"Integrierter Bildschirm", uniqueId "local:0", app 3840 x 2160, real 3840 x 2160, largest app 3840 x 2160, smallest app 3840 x 2160, mode 5, defaultMode 5, modes [{id=5, width=3840, height=2160, fps=29.94}], rotation 0, density 320 (76.2 x 76.2) dpi, layerStack 0, appVsyncOff -5000000, presDeadline 39400133, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
mOverrideDisplayInfo=DisplayInfo{"Integrierter Bildschirm", uniqueId "local:0", app 1920 x 1080, real 1920 x 1080, largest app 1920 x 1870, smallest app 1080 x 1030, mode 2, defaultMode 2, modes [{id=2, width=1920, height=1080, fps=59.94}, {id=3, width=1920, height=1080, fps=59.94}, {id=4, width=1920, height=1080, fps=59.94}], rotation 0, density 320 (38.1 x 38.1) dpi, layerStack 0, appVsyncOff -5000000, presDeadline 22683350, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

shell@sloane:/system/etc $ getprop|grep product
[ro.build.product]: [sloane]
[ro.fireos.target.product]: [full_sloane]
[ro.product.board]: [sloane]
[ro.product.brand]: [Amazon]
[ro.product.config.type]: [A12GXV8XMS007S]
[ro.product.cpu.abi]: [arm64-v8a]
[ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
[ro.product.cpu.abilist64]: [arm64-v8a]
[ro.product.cpu.abilist]: [arm64-v8a,armeabi-v7a,armeabi]
[ro.product.device]: [sloane]
[ro.product.locale.language]: [en]
[ro.product.locale.region]: [US]
[ro.product.manufacturer]: [Amazon]
[ro.product.model]: [AFTS]
[ro.product.name]: [full_sloane]
[ro.product.package_name]: [com.amazon.sloane.android.os]

Regards Daniel
Re: MythTV-Frontend does not start on Amazon FireTV 4K [ In reply to ]
Please excuse the HTML

On 08/07/2020 19:41, John Pilkington wrote:


>> Logging is available via adb logcat.? adb logcat mfe:D *.S? for a
>> filtered version.
>>
>> hth
>>
>> John P
>>
>Sorry. adb logcat mfe:D *:S


Error is:

E/art ( 6257): dlopen("/data/app/org.mythtv.mythfrontend-1/lib/arm64/libQt5Core_arm64-v8a.so", RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in "/data/app/org.mythtv.mythfrontend-1/lib/arm64/libQt5Core_arm64-v8a.so" (built with --hash-style=gnu?)


E/AndroidRuntime( 6257): Process: org.mythtv.mythfrontend, PID: 6257


E/AndroidRuntime( 6257): java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH in "/data/app/org.mythtv.mythfrontend-1/lib/arm64/libQt5Core_arm64-v8a.so" (built with --hash-style=gnu?)


W/ActivityManager(512): Force finishing activity 1 org.mythtv.mythfrontend/org.qtproject.qt5.android.bindings.QtActivity


I/Vlog(512): 3p:bg_crash:fgtracking=false;DV;1,key=org.mythtv.mythfrontend;DV;1,Counter=1.0;CT;1,unit=count;DV;1,metadata=12c84e72012fb7187576723062faa7e582bf0568!{"d"#{"app_version"#"1"}};DV;1:HI


I/Vlog(512): 3p:fg_crash:fgtracking=false;DV;1,key=org.mythtv.mythfrontend;DV;1,Counter=1.0;CT;1,unit=count;DV;1,metadata=12c84e72012fb7187576723062faa7e582bf0568!{"d"#{"app_version"#"1"$"source"#"dropbox"}};DV;1:HI


I/ActivityManager(512): Process org.mythtv.mythfrontend (pid 6257) has died

 
shell@sloane:/proc $ cat cpuinfo

Processor : AArch64 Processor rev 2 (aarch64)

processor : 0

BogoMIPS : 26.00

 

processor : 1

BogoMIPS : 26.00

Features : fp asimd aes pmull sha1 sha2 crc32

CPU implementer : 0x41

CPU architecture: AArch64

CPU variant : 0x0

CPU part : 0xd03

CPU revision : 2

 

Display Devices: size=1


DisplayDeviceInfo{"Integrierter Bildschirm": uniqueId="local:0", 3840 x 2160, modeId 5, defaultModeId 5, supportedModes [{id=5, width=3840, height=2160, fps=29.94}], density 320, 76.2 x 76.2 dpi, appVsyncOff -5000000, presDeadline 39400133, touch INTERNAL, rotation 0, type BUILT_IN, state ON, FLAG_DEFAULT_DISPLAY, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}


mAdapter=LocalDisplayAdapter


mUniqueId=local:0


mDisplayToken=android.os.BinderProxy@336aed0c


mCurrentLayerStack=0


mCurrentOrientation=0


mCurrentLayerStackRect=Rect(0, 0 - 1920, 1080)


mCurrentDisplayRect=Rect(0, 0 - 3840, 2160)


mCurrentSurface=null


mBuiltInDisplayId=0


mActiveModeId=5


mState=ON




Logical Displays: size=1


Display 0:


mDisplayId=0


mLayerStack=0


mHasContent=true


mRequestedMode=95


mPrimaryDisplayDevice=Integrierter Bildschirm


mBaseDisplayInfo=DisplayInfo{"Integrierter Bildschirm", uniqueId "local:0", app 3840 x 2160, real 3840 x 2160, largest app 3840 x 2160, smallest app 3840 x 2160, mode 5, defaultMode 5, modes [{id=5, width=3840, height=2160, fps=29.94}], rotation 0, density 320 (76.2 x 76.2) dpi, layerStack 0, appVsyncOff -5000000, presDeadline 39400133, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}


mOverrideDisplayInfo=DisplayInfo{"Integrierter Bildschirm", uniqueId "local:0", app 1920 x 1080, real 1920 x 1080, largest app 1920 x 1870, smallest app 1080 x 1030, mode 2, defaultMode 2, modes [.{id=2, width=1920, height=1080, fps=59.94}, {id=3, width=1920, height=1080, fps=59.94}, {id=4, width=1920, height=1080, fps=59.94}], rotation 0, density 320 (38.1 x 38.1) dpi, layerStack 0, appVsyncOff -5000000, presDeadline 22683350, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}


shell@sloane:/system/etc $ getprop|grep product
[ro.build.product]: [sloane]
[ro.fireos.target.product]: [full_sloane]
[ro.product.board]: [sloane]
[ro.product.brand]: [Amazon]
[ro.product.config.type]: [A12GXV8XMS007S]
[ro.product.cpu.abi]: [arm64-v8a]
[ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
[ro.product.cpu.abilist64]: [arm64-v8a]
[ro.product.cpu.abilist]: [arm64-v8a,armeabi-v7a,armeabi]
[ro.product.device]: [sloane]
[ro.product.locale.language]: [en]
[ro.product.locale.region]: [US]
[ro.product.manufacturer]: [Amazon]
[ro.product.model]: [AFTS]
[ro.product.name]: [full_sloane]
[ro.product.package_name]: [com.amazon.sloane.android.os]

Regards

Daniel
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
On 7/12/20 11:25 AM, Peter Bennett wrote:
>
> On 7/12/20 10:56 AM, Mark Spieth wrote:
>> On 7/12/2020 6:59 AM, Peter Bennett wrote:
>>>
>>> On 7/10/20 9:13 PM, Mark Spieth wrote:
>>>> If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit
>>>> version of mythfrontend would work.
>>>>>
>>>>> I tried this on a fire stick gen 2 and I agree it is not working.
>>>>> The same apk installed on fire stick 4K works fine.
>>>>>
>>>>> Error message is
>>>>>
>>>>> E/art???? ( 8394):
>>>>> dlopen("/data/app/org.mythtv.mythfrontend-2/lib/arm/libQt5Core_armeabi-v7a.so",
>>>>> RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in
>>>>> "libQt5Core_armeabi-v7a.so" (built with --hash-style=gnu?)
>>
>> same hash style error as before. I assume you rebuild the libs with
>> sdk target 21 too.
>>
>> Did you try my makelibs.sh commit (with original sdk version 23 or
>> was it 25?)?
>>
>> Not sure if the other libs also require it but we will see. It should
>> at least get rid of the above LD error.
>>
>> Mark
>>
>>
> This is an old email you are replying to. The current error I get is a
> failure to compile. See my email from 7/11/2020, copied below.
>
> Peter
>
> As you had recommended, I changed the ANDROID_NATIVE_API_LEVEL to 21
>
> Using master ..
>
> Libs built fine, but trying to build mythtv gives these errors (see
> below). It does not make much sense, since fseeko is supposed to be in
> stdio.h ?
>
> In file included from mythcommandlineparser.cpp:28:
> /home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:950:9:
> error: use of undeclared identifier 'fseeko'
> ??? if (fseeko(__file_, __width > 0 ? __width * __off : 0, __whence))
> ??????? ^
>

According to this page (see below) fseeko and ftello are only supported
after api level 24 - I am trying this again with api level 24.

https://stackoverflow.com/questions/32826175/ftello-and-fseeko-android-build-errors

Peter


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV (non-4K) [ In reply to ]
On 7/12/20 5:33 PM, Peter Bennett wrote:
>
> On 7/12/20 11:25 AM, Peter Bennett wrote:
>>
>> On 7/12/20 10:56 AM, Mark Spieth wrote:
>>> On 7/12/2020 6:59 AM, Peter Bennett wrote:
>>>>
>>>> On 7/10/20 9:13 PM, Mark Spieth wrote:
>>>>> If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit
>>>>> version of mythfrontend would work.
>>>>>>
>>>>>> I tried this on a fire stick gen 2 and I agree it is not working.
>>>>>> The same apk installed on fire stick 4K works fine.
>>>>>>
>>>>>> Error message is
>>>>>>
>>>>>> E/art???? ( 8394):
>>>>>> dlopen("/data/app/org.mythtv.mythfrontend-2/lib/arm/libQt5Core_armeabi-v7a.so",
>>>>>> RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in
>>>>>> "libQt5Core_armeabi-v7a.so" (built with --hash-style=gnu?)
>>>
>>> same hash style error as before. I assume you rebuild the libs with
>>> sdk target 21 too.
>>>
>>> Did you try my makelibs.sh commit (with original sdk version 23 or
>>> was it 25?)?
>>>
>>> Not sure if the other libs also require it but we will see. It
>>> should at least get rid of the above LD error.
>>>
>>> Mark
>>>
>>>
>> This is an old email you are replying to. The current error I get is
>> a failure to compile. See my email from 7/11/2020, copied below.
>>
>> Peter
>>
>> As you had recommended, I changed the ANDROID_NATIVE_API_LEVEL to 21
>>
>> Using master ..
>>
>> Libs built fine, but trying to build mythtv gives these errors (see
>> below). It does not make much sense, since fseeko is supposed to be
>> in stdio.h ?
>>
>> In file included from mythcommandlineparser.cpp:28:
>> /home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:950:9:
>> error: use of undeclared identifier 'fseeko'
>> ??? if (fseeko(__file_, __width > 0 ? __width * __off : 0, __whence))
>> ??????? ^
>>
>
> According to this page (see below) fseeko and ftello are only
> supported after api level 24 - I am trying this again with api level 24.
>
> https://stackoverflow.com/questions/32826175/ftello-and-fseeko-android-build-errors
>
>
> Peter
>
>
I rebuilt libs and application with Mark's commit and API 24.

mythfrontend now fails to start on the fire stick non-4k with this error:

E/art???? ( 6581):
dlopen("/data/app/org.mythtv.mythfrontend-1/lib/arm/libQt5Core_armeabi-v7a.so",
RTLD_LAZY) failed: dlopen failed: cannot locate symbol
"__register_atfork" referenced by "libicuuc65.so"...

E/AndroidRuntime( 6581): FATAL EXCEPTION: qtMainLoopThread
E/AndroidRuntime( 6581): Process: org.mythtv.mythfrontend, PID: 6581
E/AndroidRuntime( 6581): java.lang.UnsatisfiedLinkError: dlopen failed:
cannot locate symbol "__register_atfork" referenced by "libicuuc65.so"...
E/AndroidRuntime( 6581):??????? at java.lang.Runtime.load(Runtime.java:331)
E/AndroidRuntime( 6581):??????? at java.lang.System.load(System.java:981)
E/AndroidRuntime( 6581):??????? at
org.qtproject.qt5.android.QtNative$2.run(QtNative.java:199)
E/AndroidRuntime( 6581):??????? at
org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
E/AndroidRuntime( 6581):??????? at
org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
E/AndroidRuntime( 6581):??????? at java.lang.Thread.run(Thread.java:818)

Not sure if it got past the hash error or encountered another problem
before getting to the hash check.

The package works fine on fire stick 4k.

In any case, mythfrontend runs poorly on fire stick non-4k. I do not see
a priority in trying to get this to work.

Peter


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV 4K [ In reply to ]
On 7/12/20 3:52 PM, Daniel Di Giacomo wrote:
> rror is:
>
> E/art ( 6257): dlopen("/data/app/org.mythtv.mythfrontend-1/lib/arm64/libQt5Core_arm64-v8a.so", RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in "/data/app/org.mythtv.mythfrontend-1/lib/arm64/libQt5Core_arm64-v8a.so" (built with --hash-style=gnu?)

I have posted new builds for both master and V31 to prevent this
problem. v32-Pre-685-g6e61aa988f and v31.0-79-g89d1991ef2. This should
fix the hash error.

Peter

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: MythTV-Frontend does not start on Amazon FireTV 4K [ In reply to ]
---- Von: Peter Bennett <pb.mythtv@gmail.com> -- Gesendet: 2020-07-17 - 17:56 ----

>
> On 7/12/20 3:52 PM, Daniel Di Giacomo wrote:
>> rror is:
>>
>> E/art ( 6257): dlopen("/data/app/org.mythtv.mythfrontend-1/lib/arm64/libQt5Core_arm64-v8a.so", RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in "/data/app/org.mythtv.mythfrontend-1/lib/arm64/libQt5Core_arm64-v8a.so" (built with --hash-style=gnu?)
>
> I have posted new builds for both master and V31 to prevent this
> problem. v32-Pre-685-g6e61aa988f and v31.0-79-g89d1991ef2. This should
> fix the hash error.
>
> Peter
>

It works now. Thank you!

Daniel