[mythtv-users] Build of current master fails on OSX 10.7.4

Warpme warpme at o2.pl
Sun Aug 26 11:57:58 UTC 2012


Hi,

I'm trying build current master for OSX 10.7.4.
I'm launching build via following cmdline:
./osx-packager-qtsdk.pl -qtsrc 4.8.1 -noparallel -buildprofile master

Unfortunately build process fails with following error:

bash-3.2$ ./osx-packager-qtsdk.pl -qtsrc 4.8.1 -force -nohead -verbose 
-universal
[osx-pkg] Building using master profile
[osx-pkg] Building 32/64 bits universal app...
[osx-pkg] Target architectures: i386 x86_64
[osx-pkg] DEVROOT = /Applications/Xcode.app/Contents/Developer
[osx-pkg] SDKVER = 10.6
[osx-pkg] SDKROOT = 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
[osx-pkg] CCBIN = 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
[osx-pkg] CXXBIN = 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
[osx-pkg] CFLAGS = -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-mmacosx-version-min=10.5 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/mysql -arch i386 
-arch x86_64
[osx-pkg] LDFLAGS = 
-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-mmacosx-version-min=10.5 
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib 
-F/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib -arch i386 
-arch x86_64
[osx-pkg] /usr/bin/hostinfo | grep 'processors$'
[osx-pkg] Using 5 jobs on 4 parallel CPUs
[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 libtool
[osx-pkg] Using previously unpacked libtool
[osx-pkg] Using previously configured libtool
[osx-pkg] Using previously built libtool
[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 cmake
[osx-pkg] Using previously unpacked cmake
[osx-pkg] Using previously configured cmake
[osx-pkg] Using previously built cmake
[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-src
[osx-pkg] Using previously unpacked qt-src
[osx-pkg] Configuring qt-src
[osx-pkg] find . -name "*.pro" -exec sed -i -e "s:/Developer/SDKs/:.*:g" 
{} \;
[osx-pkg] 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 | 
LDFLAGS="-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-mmacosx-version-min=10.5 
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib 
-F/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib" ./configure  
-arch i386 -arch x86_64 -v -opensource -prefix 
"/Volumes/Data/Devel/mythtv-lion/.osx-packager/build" -release -fast 
-no-accessibility -sdk 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-no-sql-mysql -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
Determining system architecture... (Darwin:11.4.0:x86_64)
     'macosx' is supported
System architecture: 'macosx'
DWARF2 debug symbols enabled.
Xarch support detected
clang: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
Symbol visibility control enabled.

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...
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ 
-o 
"/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.1/bin/qmake" 
project.o property.o main.o makefile.o unixmake2.o unixmake.o 
mingw_make.o option.o winmakefile.o projectgenerator.o meta.o 
makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o 
msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o 
msbuild_objectmodel.o symmake.o initprojectdeploy_symbian.o 
symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.o epocroot.o 
gbuild.o qtextcodec.o qutfcodec.o qstring.o qtextstream.o qiodevice.o 
qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o qdatastream.o 
qbuffer.o qlist.o qfile.o qfilesystementry.o qfilesystemengine_unix.o 
qfilesystemengine.o qfilesystemiterator_unix.o qfsfileengine_unix.o 
qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o 
qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o 
qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o 
qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o 
qlocale.o qlocale_tools.o qlocale_unix.o qlinkedlist.o qurl.o qnumeric.o 
qcryptographichash.o qxmlstream.o qxmlutils.o qsettings_mac.o 
qcore_mac.o -headerpad_max_install_names -framework ApplicationServices 
-arch i386 
-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
make: *** 
[/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.1/bin/qmake] 
Error 1
[osx-pkg] Failed system call: " echo yes | 
LDFLAGS="-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-mmacosx-version-min=10.5 
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib 
-F/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib" ./configure  
-arch i386 -arch x86_64 -v -opensource -prefix 
"/Volumes/Data/Devel/mythtv-lion/.osx-packager/build" -release -fast 
-no-accessibility -sdk 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-no-sql-mysql -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 " with error code 2
Died at ./osx-packager-qtsdk.pl line 1322.
bash-3.2$

It looks like stdc++ lib is missing, but on this host I haven't any 
problems with building 0.25.2.
Only things changed:
-updated osx-packager-qtsdk.pl script to current ver.
-clean build dirs

Where issue might be ?

-------------- 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/20120826/9c04bb07/attachment.vcf>


More information about the mythtv-users mailing list