Hi Guillaume,<div><br></div><div>I think the fix for that is to use the - universal tag on the packager.</div><div><br></div><div>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.</div>
<div><br></div><div>I have successfully built 0.26 fixes with Mac Mountain Lion using the following flags:</div><div><a href="http://osx-packager-qtsdk.pl">osx-packager-qtsdk.pl</a> -gitrev fixes/0.26 -qtsrc 4.8.4 -universal -verbose</div>
<div><br></div><div>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&#39;t remove the -universal flag during that part of the build.</div>
<div><br></div><div>The resulting build works fine - I am tacking down a bug that happens (after) I have stopped watching a recording.</div><div><br></div><div>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 <span></span>in the perl script to get 10.8 working.</div>
<div><br>On Wednesday, March 13, 2013, Guillaume Membré  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I&#39;m trying to build Mythtv 0.26/fixes on OS X 10.8.2 with Xcode 4.6<br>
and with the <a href="http://osx-packager-qtsdk.pl" target="_blank">osx-packager-qtsdk.pl</a> from yesterday.<br>
I run it with :<br>
./<a href="http://osx-packager-qtsdk.pl" target="_blank">osx-packager-qtsdk.pl</a> -qtsrc 4.8.3   -gitrev fixes/0.26<br>
-buildprofile 0.26-fixes  -noparallel -verbose<br>
and I get the following error while building qt :<br>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++<br>
-c -include .pch/release-shared/QtCore -isysroot<br>
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk<br>
-mmacosx-version-min=10.5<br>
-I/Users/jumper/Workspace/MythTV/build/.osx-packager/build/include<br>
-I/Users/jumper/Workspace/MythTV/build/.osx-packager/build/mysql -arch<br>
x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64<br>
-fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -isysroot<br>
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk<br>
-fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE<br>
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT<br>
-DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQLIBRARYINFO_EPOCROOT<br>
-DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_3DNOW<br>
-DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3<br>
-DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2<br>
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-llvm<br>
-I. -I../../include -I../../include/QtCore -I.rcc/release-shared<br>
-Iglobal -I../../tools/shared -I../3rdparty/harfbuzz/src<br>
-I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared -o<br>
.obj/release-shared/qabstractanimation.o<br>
animation/qabstractanimation.cpp<br>
error: unable to read PCH file .pch/release-shared/QtCore.gch: &#39;Is a directory&#39;<br>
make[2]: *** [.obj/release-shared/qabstractanimation.o] Error 1<br>
make[1]: *** [release] Error 2<br>
make: *** [sub-corelib-make_default-ordered] Error 2<br>
[osx-pkg] Failed system call: &quot; /usr/bin/make &quot; with error code 2<br>
<br>
I&#39;ve got the same error with qt 4.8.4.<br>
<br>
Has anyone already encoutered this issue ?<br>
<br>
Thanks a lot<br>
Guillaume<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;mythtv-users@mythtv.org&#39;)">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</blockquote></div>