[mythtv-users] Mac gcc et al without XCode

Warpme warpme at o2.pl
Mon Feb 27 20:04:06 UTC 2012


On 2/25/12 4:12 PM, Jean-Yves Avenard wrote:
> Hi
>
> I've pushed a new build script that works with XCode 4.
> You can get it on the MythTV/packaging git repo
>
> I'd appreciate if people could try it and report how it works for them...
>
> JY
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Jean-Yves,

 From some reason I can't find Your last replay in thunderbird - but it 
is present in gossamer :-(

Indeed it looks I missed fact that current packaging git has reverted 
Your new script.
I pulled MythTV-packaging-v0.25pre-228-g12679e7 and give it run:

Running osx-packger.pl fails here:
-----------------------------------
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32 
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR 
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS 
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT 
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD 
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++ 
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore 
-I../../../include/QtXml -I../../xml -o 
.obj/release-shared/cppwriteicondeclaration.o 
cpp/cppwriteicondeclaration.cpp
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32 
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR 
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS 
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT 
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD 
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++ 
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore 
-I../../../include/QtXml -I../../xml -o 
.obj/release-shared/cppwriteiconinitialization.o 
cpp/cppwriteiconinitialization.cpp
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32 
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR 
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS 
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT 
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD 
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++ 
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore 
-I../../../include/QtXml -I../../xml -o 
.obj/release-shared/cppwriteincludes.o cpp/cppwriteincludes.cpp
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32 
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR 
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS 
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT 
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD 
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++ 
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore 
-I../../../include/QtXml -I../../xml -o 
.obj/release-shared/cppwriteinitialization.o cpp/cppwriteinitialization.cpp
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32 
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR 
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS 
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT 
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD 
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++ 
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore 
-I../../../include/QtXml -I../../xml -o .obj/release-shared/main.o main.cpp
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32 
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR 
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS 
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT 
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD 
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++ 
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore 
-I../../../include/QtXml -I../../xml -o .obj/release-shared/uic.o uic.cpp
g++ -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk 
-mmacosx-version-min=10.4 
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib -m32 -arch 
i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk -Xarch_i386 
-mmacosx-version-min=10.4 -o ../../../bin/uic 
.obj/release-shared/customwidgetsinfo.o 
.obj/release-shared/databaseinfo.o .obj/release-shared/driver.o 
.obj/release-shared/treewalker.o .obj/release-shared/ui4.o 
.obj/release-shared/validator.o .obj/release-shared/cppextractimages.o 
.obj/release-shared/cppwritedeclaration.o 
.obj/release-shared/cppwriteicondata.o 
.obj/release-shared/cppwriteicondeclaration.o 
.obj/release-shared/cppwriteiconinitialization.o 
.obj/release-shared/cppwriteincludes.o 
.obj/release-shared/cppwriteinitialization.o .obj/release-shared/main.o 
.obj/release-shared/uic.o    
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/src/tools/bootstrap 
-lbootstrap -framework CoreServices -lz -lz
[osx-pkg] Failed system call: " /usr/bin/make -j5 all 
sub-plugins-install_subtargets-ordered install_qmake install_mkspecs " 
with error code 2
Died at ./osx-packager.pl line 895.
Piotrs-Mac-Pro:mythtv-lion piotro$
--------------------------------------------


osx-packager.pl -verbose reports:
--------------------------------------------
Piotrs-Mac-Pro:mythtv-lion piotro$ ./osx-packager.pl -verbose
[osx-pkg] Building using master profile
[osx-pkg] DEVROOT = /Developer
[osx-pkg] SDKVER = 10.6
[osx-pkg] SDKROOT = /Developer/SDKs/MacOSX10.6.sdk
[osx-pkg] CCBIN = /Developer/usr/bin/gcc
[osx-pkg] CXXBIN = /Developer/usr/bin/g++
[osx-pkg] CFLAGS = -mmacosx-version-min=10.4 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include
[osx-pkg] /usr/bin/hostinfo | grep 'processors$'
[osx-pkg] Using 5 jobs on 4 parallel CPUs
[osx-pkg] Forcing x86 build...
[osx-pkg] Including components: mythtv mythplugins packaging
[osx-pkg] Using previously downloaded ccache
[osx-pkg] Using previously unpacked ccache
[osx-pkg] Using previously configured ccache
[osx-pkg] Using previously built ccache
[osx-pkg] Using previously downloaded pkgconfig
[osx-pkg] Using previously unpacked pkgconfig
[osx-pkg] Using previously configured pkgconfig
[osx-pkg] Using previously built pkgconfig
[osx-pkg] Using previously downloaded dvdcss
[osx-pkg] Using previously unpacked dvdcss
[osx-pkg] Using previously configured dvdcss
[osx-pkg] Using previously built dvdcss
[osx-pkg] Using previously downloaded freetype
[osx-pkg] Using previously unpacked freetype
[osx-pkg] Using previously configured freetype
[osx-pkg] Using previously built freetype
[osx-pkg] Using previously downloaded lame
[osx-pkg] Using previously unpacked lame
[osx-pkg] Using previously configured lame
[osx-pkg] Using previously built lame
[osx-pkg] Using previously downloaded mysqlclient
[osx-pkg] Using previously unpacked mysqlclient
[osx-pkg] Using previously configured mysqlclient
[osx-pkg] Using previously built mysqlclient
[osx-pkg] Using previously downloaded qt
[osx-pkg] Unpacking qt
[osx-pkg] /usr/bin/tar -xzf 
/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0.tar.gz
[osx-pkg] Configuring qt
[osx-pkg] find . -name "*.pro" -exec sed -i -e "s:/Developer/SDKs/:.*:g" 
{} \; ; sed -i -e "s:#elif defined(Q_OS_SYMBIAN) && defined 
(QT_NO_DEBUG):#else:g" src/corelib/kernel/qcoreapplication.cpp; sed -i 
-e "s:#if\( \!defined (QT_NO_DEBUG) || defined (QT_MAC_FRAMEWORK_BUILD) 
|| defined (Q_OS_SYMBIAN)\):#if 1 //:g" 
src/corelib/kernel/qcoreapplication_p.h; sed -i -e "s:^\(#import 
<QTKit/QTKit.h>\):#if defined(slots)\\
#undef slots\\
#endif\\
  \1:g" 
src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm
[osx-pkg] echo yes | ./configure -arch x86 -opensource -prefix 
"/Volumes/Data/Devel/mythtv-lion/.osx-packager/build" -release -fast 
-no-accessibility -no-stl -sdk /Developer/SDKs/MacOSX10.6.sdk 
-qt-sql-mysql -mysql_config 
"/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/bin/mysql_config" 
-no-sql-sqlite -no-sql-odbc -system-zlib -no-libtiff -no-libmng -nomake 
examples -nomake demos -no-nis -no-cups -no-qdbus -no-framework 
-no-multimedia -no-phonon -no-svg -no-javascript-jit -no-scripttools

This is the Qt for Mac OS X Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.

Type '3' to view the GNU General Public License version 3.
Type 'L' to view the Lesser GNU General Public License version 2.1.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license?
Creating qmake. Please wait...
/Developer/usr/bin/g++ -c -o project.o -arch i386 -pipe 
-DQMAKE_OPENSOURCE_EDITION -fconstant-cfstrings -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -g -I. -Igenerators -Igenerators/unix 
-Igenerators/win32 -Igenerators/mac -Igenerators/symbian 
-Igenerators/integrity 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/include 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/include/QtCore 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/src/corelib/global 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/src/corelib/xml 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/tools/shared 
-DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT 
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL 
-DQT_NO_COMPRESS 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/mkspecs/macx-g++ 
-DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT 
-DQT_NO_DEPRECATED  project.cpp
--------------------------------------------




-------------- next part --------------
A non-text attachment was scrubbed...
Name: warpme.vcf
Type: text/x-vcard
Size: 83 bytes
Desc: not available
Url : http://www.mythtv.org/pipermail/mythtv-users/attachments/20120227/4dcd8ccc/attachment-0001.vcf 


More information about the mythtv-users mailing list