[mythtv] Mac OS X: Build release-0-21-fixes fails

Devon Weller dweller at devonweller.com
Tue Aug 4 14:02:24 UTC 2009


Hi.

I am trying to build MythFrontend on my Mac.


I am encountering an error when building the application with the  
following command:

./osx-packager.pl -verbose -svnbranch release-0-21-fixes


If anyone has any insight as to why this build is failing, I would  
appreciate your input.

- Devon


Here is an output of the build process:

> [osx-pkg] Forcing -usehdimage due to case-insensitive filesystem
> [osx-pkg] Creating a case-sensitive (UFS) disk image for the build
> [osx-pkg] hdiutil create -size 2048m /Users/dweller/install/mythtv/ 
> 21-fixes/.osx-packager.dmg -volname MythTvPackagerHDImage -fs UFS - 
> quiet
> [osx-pkg] hdiutil mount /Users/dweller/install/mythtv/21-fixes/.osx- 
> packager.dmg -mountpoint /Users/dweller/install/mythtv/21-fixes/.osx- 
> packager -quiet
> [osx-pkg] Including components: mythtv myththemes mythplugins


... many lines skipped here ...

> /Users/dweller/install/mythtv/21-fixes/.osx-packager/build/bin/moc  
> mythmainwindow.h -o moc_mythmainwindow.cpp
> /Users/dweller/install/mythtv/21-fixes/.osx-packager/build/bin/moc  
> mythuitype.h -o moc_mythuitype.cpp
> /Users/dweller/install/mythtv/21-fixes/.osx-packager/build/bin/moc  
> mythuibutton.h -o moc_mythuibutton.cpp
> /Users/dweller/install/mythtv/21-fixes/.osx-packager/build/bin/moc  
> mythlistbutton.h -o moc_mythlistbutton.cpp
> /Users/dweller/install/mythtv/21-fixes/.osx-packager/build/bin/moc  
> myththemedmenu.h -o moc_myththemedmenu.cpp
> make[2]: *** [mythmainwindow.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> myththemedmenu.cpp: In member function ‘void  
> MythThemedMenuState::parseShadow(TextAttributes&, QDomElement&)’:
> myththemedmenu.cpp:412: warning: ‘alpha’ may be used uninitialized  
> in this function
> make[1]: *** [sub-libmythui] Error 2
> make: *** [sub-libs] Error 2
> [osx-pkg] Failed system call: " /usr/bin/make -j9 " with error code 2
> Died at ./osx-packager.pl line 1005.


I tried removing the parallel processors option (j9) in osx- 
packager.pl and got the same type of error.



Here is what I am using for gcc:

> # gcc -v
> Using built-in specs.
> Target: i686-apple-darwin9
> Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable- 
> checking -enable-werror --prefix=/usr --mandir=/share/man --enable- 
> languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/ 
> s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/ 
> usr/lib --build=i686-apple-darwin9 --with-arch=apple --with- 
> tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
> Thread model: posix
> gcc version 4.0.1 (Apple Inc. build 5493)


Should I be using GCC 4?  Or do I need to use GCC 3.x?


More information about the mythtv-dev mailing list