[mythtv-users] OS X Build failure

MythTV MythTV mythtvuser10 at gmail.com
Sat Mar 16 13:40:25 UTC 2013


Hi Guillaume,

I think the fix for that is to use the - universal tag on the packager.

Also you might want to use QT 4.8.4 as I know that will compile for you
with only 1 error.  Some time during the qt build it will fail and you will
need to make a minor edit to gui/kernel in the QT source tree.  Just remove
the :: from the define indicated by the error (sorry i dont have the exact
syntax in fron of me) and run the packager again.

I have successfully built 0.26 fixes with Mac Mountain Lion using the
following flags:
osx-packager-qtsdk.pl -gitrev fixes/0.26 -qtsrc 4.8.4 -universal -verbose

One other note: for the mythtv of the portion of build I seem to leave the
-universal flag off/removed.  I am trying to build a 64 bit build for my
uses.  There was a linker issue with zeromq when I didn't remove the
-universal flag during that part of the build.

The resulting build works fine - I am tacking down a bug that happens
(after) I have stopped watching a recording.

BTW: my Xcode is using 10.7 lion for its build - I have  both the 10.7 and
10.8 frameworks available, but it looks like I need to fix some places in
the perl script to get 10.8 working.

On Wednesday, March 13, 2013, Guillaume Membré wrote:

> Hello,
>
> I'm trying to build Mythtv 0.26/fixes on OS X 10.8.2 with Xcode 4.6
> and with the osx-packager-qtsdk.pl from yesterday.
> I run it with :
> ./osx-packager-qtsdk.pl -qtsrc 4.8.3   -gitrev fixes/0.26
> -buildprofile 0.26-fixes  -noparallel -verbose
> and I get the following error while building qt :
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
> -c -include .pch/release-shared/QtCore -isysroot
>
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
> -mmacosx-version-min=10.5
> -I/Users/jumper/Workspace/MythTV/build/.osx-packager/build/include
> -I/Users/jumper/Workspace/MythTV/build/.osx-packager/build/mysql -arch
> x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64
> -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -isysroot
>
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
> -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE
> -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
> -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQLIBRARYINFO_EPOCROOT
> -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_3DNOW
> -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3
> -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2
> -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-llvm
> -I. -I../../include -I../../include/QtCore -I.rcc/release-shared
> -Iglobal -I../../tools/shared -I../3rdparty/harfbuzz/src
> -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared -o
> .obj/release-shared/qabstractanimation.o
> animation/qabstractanimation.cpp
> error: unable to read PCH file .pch/release-shared/QtCore.gch: 'Is a
> directory'
> make[2]: *** [.obj/release-shared/qabstractanimation.o] Error 1
> make[1]: *** [release] Error 2
> make: *** [sub-corelib-make_default-ordered] Error 2
> [osx-pkg] Failed system call: " /usr/bin/make " with error code 2
>
> I've got the same error with qt 4.8.4.
>
> Has anyone already encoutered this issue ?
>
> Thanks a lot
> Guillaume
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org <javascript:;>
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130316/08511cc3/attachment.html>


More information about the mythtv-users mailing list