[mythtv] ef1893f99 causing compilation failure on macos

James Linder jam at tigger.ws
Tue Sep 11 04:27:27 UTC 2018



> 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


More information about the mythtv-dev mailing list