[mythtv] ef1893f99 causing compilation failure on macos

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Wed Sep 12 17:47:53 UTC 2018


James,

Sorry for late replay!

I remember such issue with qt5.5.1 - but don’t remember how I solved this.
Unfortunately now I’m building with 5.11.1 and don’t have such issue.

FYI: script I’m using is here:
https://github.com/warpme/mythv-osx-build-script

it allows me to fully unattended build of Frontend.app with current master on macOS 10.13.6

happy compiling!


> Wiadomość napisana przez James Linder <jam at tigger.ws> w dniu 11.09.2018, o godz. 06:27:
> 
> 
> 
>> On 10 Sep 2018, at 8:00 pm, mythtv-dev-request at mythtv.org wrote:
>> 
>>> Hmm,
>>> My build script does:
>>> -rm dir with myth build
>>> -git pull
>>> -git checkout <revision>  (if building not HEAD)
>>> -cp git dir to myth build dir
>>> -run macOS build script
>>> 
>>> To be sure, I deleted whole myth git dir and redo git clone
>>> Build fails exactly in the same place?
>> 
>> I've been looking at the source code. Try editing mythplugins/mythmusic/mythmusic/playlist.h and moving the #endif from line 119 down five lines to just after the declaration of processExit(). See if that fixes the compile error.
> 
> I tried and was greeted with utter gunk. Can you help with a shove please.
> Of couse QT does work on this machine, I use it lots.
> 
> [haycorn] /Users/jam/myth [414]% ./osx-packager-qtsdk.pl --qtsdk /opt/Qt5.5.1/5.5/clang_64
> [osx-pkg] Failed system call: " /opt/Qt5.5.1/5.5/clang_64/bin/qmake "QMAKE_CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" "QMAKE_CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" "QMAKE_CXXFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.9 -I/Users/jam/myth/.osx-packager/build/include -I/Users/jam/myth/.osx-packager/build/mysql " "QMAKE_CFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.9 -I/Users/jam/myth/.osx-packager/build/include -I/Users/jam/myth/.osx-packager/build/mysql " "QMAKE_LFLAGS+='-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.9 -L/Users/jam/myth/.osx-packager/build/lib -F/opt/Qt5.5.1/5.5/clang_64/lib'"
>  -o /var/folders/1b/258blz3j0k380fyppn995lrm0000gn/T/tnRkdF7cFU/Makefile /var/folders/1b/258blz3j0k380fyppn995lrm0000gn/T/tnRkdF7cFU/test.pro 2> /dev/null > /dev/null " with error code 3
> [osx-pkg] Failed system call: " /usr/bin/make -C /var/folders/1b/258blz3j0k380fyppn995lrm0000gn/T/tnRkdF7cFU -f /var/folders/1b/258blz3j0k380fyppn995lrm0000gn/T/tnRkdF7cFU/Makefile test 2>/dev/null >/dev/null " with error code 2
> [osx-pkg] Couldn't use Qt for the architectures x86_64.
> 
> James
> _______________________________________________
> 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



More information about the mythtv-dev mailing list