[mythtv-users] mythtv-users Digest, Vol 206, Issue 28

jam at tigger.ws jam at tigger.ws
Fri May 15 12:28:58 UTC 2020


I wish I had started this thread not being so stupid about the subject. Sorry!

> On 15 May 2020, at 8:00 pm, mythtv-users-request at mythtv.org wrote:
> 
>> John with a burst of joy I saw the ansible version build.
>> I installed a new catelina VM 4 cpu 4G of ram (was still slow)
>> I installed xcode 11.3 and command line tools, accepted the license
>> I installed macports
>> I built with your buildscript
>> The complete log is here http://tigger.ws/downloads/bs.log
>> 
>> The app crashes, so ran from command line
>> 
>> ...
>> /QtCore (0x119ef7490) and
>> /Users/jam/mythfrontend.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
>> (0x1139e3490). One of the two will be used. Which one is undefined.
>> objc[695]: Class RunLoopModeTracker is implemented in both
>> /Users/jam/mythfrontend.app/Contents/Frameworks/QtCore.framework/QtCore
>> (0x119ef74e0) and
>> /Users/jam/mythfrontend.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
>> (0x1139e34e0). One of the two will be used. Which one is undefined.
>> QSocketNotifier: Can only be used with threads started with QThread
>> QEventLoop: Cannot be used without QApplication
>> QCoreApplication::applicationDirPath: Please instantiate the QApplication
>> object first
>> 2020-05-14 21:26:35.539440 I  Setup Interrupt: 2 handler
>> 2020-05-14 21:26:35.539473 I  Setup Terminated: 15 handler
>> 2020-05-14 21:26:35.539486 I  Setup Segmentation fault: 11 handler
>> 2020-05-14 21:26:35.539495 I  Setup Abort trap: 6 handler
>> 2020-05-14 21:26:35.539503 I  Setup Bus error: 10 handler
>> 2020-05-14 21:26:35.539511 I  Setup Floating point exception: 8 handler
>> 2020-05-14 21:26:35.539520 I  Setup Illegal instruction: 4 handler
>> 2020-05-14 21:26:35.539533 I  Setup User defined signal 1: 30 handler
>> 2020-05-14 21:26:35.539540 I  Setup User defined signal 2: 31 handler
>> 2020-05-14 21:26:35.539549 I  Setup Hangup: 1 handler
>> 2020-05-14 21:26:35.539649 C   version: fixes/31 [v31.0-40-gce23a0225f]
>> www.mythtv.org
>> 2020-05-14 21:26:35.539658 C  Qt version: compile: 5.14.2, runtime: 5.14.2
>> 2020-05-14 21:26:35.539693 I  macOS 10.15 (x86_64)
>> 2020-05-14 21:26:35.539699 N  Enabled verbose msgs:  general
>> 2020-05-14 21:26:35.539721 N  Setting Log Level to LOG_INFO
>> 2020-05-14 21:26:35.551166 I  Added logging to the console
>> 2020-05-14 21:26:35.552066 E  Relative PREFIX does not resolve, using
>> /Users/jam
>> 2020-05-14 21:26:35.552576 N  Using runtime prefix = /Users/jam
>> 2020-05-14 21:26:35.552607 N  Using configuration directory =
>> /Users/jam/.mythtv
>> 2020-05-14 21:26:35.553216 I  Assumed character encoding: en_AU.UTF-8
>> 2020-05-14 21:26:35.555329 E  Error Loading en_us translation for module
>> mythfrontend
>> 2020-05-14 21:26:35.555894 I  Empty LocalHostName. This is typical.
>> 2020-05-14 21:26:35.555914 I  Using a profile name of: 'plasma.home'
>> (Usually the same as this host's name.)
>> QObject: Cannot create children for a parent that is in a different thread.
>> (Parent is PortChecker(0x7ffee56ef138), parent's thread is
>> QThread(0x7f99de481160), current thread is QThread(0x7f99de7001c0)
>> 2020-05-14 21:26:35.556344 I  Start up testing connections. DB
>> 192.168.5.50, BE , attempt 0, status dbAwake, Delay: 2000
>> QObject: Cannot create children for a parent that is in a different thread.
>> (Parent is PortChecker(0x7ffee56ef138), parent's thread is
>> QThread(0x7f99de481160), current thread is QThread(0x7f99de7001c0)
>> 2020-05-14 21:26:36.560030 I  Start up testing connections. DB
>> 192.168.5.50, BE , attempt 1, status dbAwake, Delay: 2000
>> 2020-05-14 21:26:41.570925 I  Start up testing connections. DB
>> 192.168.5.50, BE , attempt 2, status dbAwake, Delay: 2000
>> Handling Segmentation fault: 11
>> Segmentation fault: 11
>> 
>> James
> 
> 
> Hmmm, so I've actually never run the script as a script (I should
> probably delete the #!/bin/sh at the beginning -> will do on the forum
> post).
> 
> I wonder if there's some black magic in my copying the commands in line by
> line. What makes me think this is the case is that your mythfrontend log
> has the line:

I'll try a line-by-line paste

> 
> 2020-05-14 21:26:35.552066 E  Relative PREFIX does not resolve, using
> /Users/jam
> 2020-05-14 21:26:35.552576 N  Using runtime prefix = /Users/jam
> 
> 
> My compiled version points to ../Resources which was the fix I put in to
> fix the black screen.
> 
> Can you email back the output of the following command:
> 
> otool -L mythfrontend.app/Contents/MacOS/mythfrontend
> 
> Craig taught me that trick which helped me figure out if any libraries were
> missing.

jam at venus mythfrontend % otool -L mythfrontend.app/Contents/MacOS/mythfrontend
mythfrontend.app/Contents/MacOS/mythfrontend:
	@executable_path/../Frameworks/libmythswscale.5.dylib (compatibility version 5.0.0, current version 5.5.100)
	@executable_path/../Frameworks/libmythavformat.58.dylib (compatibility version 58.0.0, current version 58.29.100)
	@executable_path/../Frameworks/libmythswresample.3.dylib (compatibility version 3.0.0, current version 3.5.100)
	@executable_path/../Frameworks/libmythavutil.56.dylib (compatibility version 56.0.0, current version 56.31.100)
	@executable_path/../Frameworks/libmythavcodec.58.dylib (compatibility version 58.0.0, current version 58.54.100)
	@executable_path/../Frameworks/libmythpostproc.55.dylib (compatibility version 55.0.0, current version 55.5.100)
	@executable_path/../Frameworks/libmythavfilter.7.dylib (compatibility version 7.0.0, current version 7.57.100)
	@executable_path/../Frameworks/mythtv.framework/mythtv (compatibility version 31.0.0, current version 31.0.0)
	@executable_path/../Frameworks/mythupnp.framework/mythupnp (compatibility version 31.0.0, current version 31.0.0)
	@executable_path/../Frameworks/mythbase.framework/mythbase (compatibility version 31.0.0, current version 31.0.0)
	@executable_path/../Frameworks/mythui.framework/mythui (compatibility version 31.0.0, current version 31.0.0)
	@executable_path/../Frameworks/myth.framework/myth (compatibility version 31.0.0, current version 31.0.0)
	@executable_path/../Frameworks/mythmetadata.framework/mythmetadata (compatibility version 31.0.0, current version 31.0.0)
	@executable_path/../Frameworks/mythservicecontracts.framework/mythservicecontracts (compatibility version 31.0.0, current version 31.0.0)
	@executable_path/../Frameworks/mythprotoserver.framework/mythprotoserver (compatibility version 31.0.0, current version 31.0.0)
	@executable_path/../Frameworks/mythfreemheg.framework/mythfreemheg (compatibility version 31.0.0, current version 31.0.0)
	@executable_path/../Frameworks/libtag.1.dylib (compatibility version 1.0.0, current version 1.17.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 800.7.0)
	@executable_path/../Frameworks/libXrandr.2.dylib (compatibility version 5.0.0, current version 5.0.0)
	@executable_path/../Frameworks/libcrypto.1.1.dylib (compatibility version 1.1.0, current version 1.1.0)
	@executable_path/../Frameworks/libass.9.dylib (compatibility version 10.0.0, current version 10.2.0)
	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/libhdhomerun.dylib (compatibility version 0.0.0, current version 0.0.0)
	@executable_path/../Frameworks/libxml2.2.dylib (compatibility version 12.0.0, current version 12.10.0)
	@executable_path/../Frameworks/libx264.157.dylib (compatibility version 0.0.0, current version 0.0.0)
	@executable_path/../Frameworks/libmp3lame.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/libfontconfig.1.dylib (compatibility version 14.0.0, current version 14.0.0)
	@executable_path/../Frameworks/libfreetype.6.dylib (compatibility version 24.0.0, current version 24.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.0.0)
	@executable_path/../Frameworks/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	@executable_path/../Frameworks/libbluray.2.dylib (compatibility version 4.0.0, current version 4.2.0)
	@executable_path/../Frameworks/libsamplerate.0.dylib (compatibility version 2.0.0, current version 2.8.0)
	@executable_path/../Frameworks/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets (compatibility version 5.9.0, current version 5.9.1)
	@executable_path/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.14.0, current version 5.14.2)
	@executable_path/../Frameworks/QtWebKit.framework/Versions/5/QtWebKit (compatibility version 5.9.0, current version 5.9.1)
	@executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui (compatibility version 5.14.0, current version 5.14.2)
	@executable_path/../Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1894.10.126)
	/System/Library/Frameworks/Metal.framework/Versions/A/Metal (compatibility version 1.0.0, current version 212.2.3)
	@executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.14.0, current version 5.14.2)
	@executable_path/../Frameworks/QtXml.framework/Versions/5/QtXml (compatibility version 5.14.0, current version 5.14.2)
	@executable_path/../Frameworks/QtSql.framework/Versions/5/QtSql (compatibility version 5.14.0, current version 5.14.2)
	@executable_path/../Frameworks/QtScript.framework/Versions/5/QtScript (compatibility version 5.14.0, current version 5.14.2)
	@executable_path/../Frameworks/QtDBus.framework/Versions/5/QtDBus (compatibility version 5.14.0, current version 5.14.2)
	@executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore (compatibility version 5.14.0, current version 5.14.2)
	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
	/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)


jam at venus mythfrontend % cat mythfrontend.app/Contents/Info.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleExecutable</key>
	<string>mythfrontend</string>
	<key>CFBundleIconFile</key>
	<string>application.icns</string>
	<key>CFBundleIdentifier</key>
	<string>org.osx-bundler.mythfrontend</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>31</string>
	<key>CFBundleSignature</key>
	<string>osx-bundler</string>
	<key>NSAppleScriptEnabled</key>
	<string>NO</string>
	<key>CFBundleGetInfoString</key>
	<string></string>
	<key>CFBundleVersion</key>
	<string>1.0</string>
	<key>NSHumanReadableCopyright</key>
	<string>MythTV Team</string>
	<key>LSMinimumSystemVersion</key>
	<string>10.13</string>
	<key>NOTE</key>
	<string>This file was generated by Qt/QMake.</string>
	<key>NSPrincipalClass</key>
	<string>NSApplication</string>
	<key>NSSupportsAutomaticGraphicsSwitching</key>
	<true/>
	<key>ATSApplicationFontsPath</key>
	<string>share/mythtv/fonts</string>
</dict>
</plist>

Cheers
James


More information about the mythtv-users mailing list