[mythtv-commits] Ticket #5173: Compile error on Mac OSX 10.5

MythTV mythtv at cvs.mythtv.org
Wed May 14 10:18:26 UTC 2008


#5173: Compile error on Mac OSX 10.5
------------------------------------+---------------------------------------
 Reporter:  mythtv.org at padilla.net  |        Owner:  ijr           
     Type:  defect                  |       Status:  infoneeded_new
 Priority:  minor                   |    Milestone:  0.21.1        
Component:  mythtv                  |      Version:  head          
 Severity:  medium                  |   Resolution:                
  Mlocked:  0                       |  
------------------------------------+---------------------------------------
Changes (by nigel):

  * status:  new => infoneeded_new


Old description:

> I'm trying to compile mythtv (backend) on OSX 10.5. I'm using the osx-
> packager.pl in 0.21-fixes but I am getting the following error:
>
> $ osx-packager.pl \
>         -svnbranch release-0-21-fixes \
>         -verbose \
>         -clean
>
> ...
>
> Clean up
> Build
> [osx-pkg] Forcing -usehdimage due to case-insensitive filesystem
> [osx-pkg] /usr/bin/hostinfo | grep 'processors$'
> [osx-pkg] Using 2 parallel CPUs
> [osx-pkg] Including components: mythtv myththemes mythplugins
> [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-mt
> [osx-pkg] Using previously unpacked qt-mt
> [osx-pkg] Using previously configured qt-mt
> [osx-pkg] Using previously built qt-mt
> [osx-pkg] Using previously downloaded tiff
> [osx-pkg] Using previously unpacked tiff
> [osx-pkg] Using previously configured tiff
> [osx-pkg] Using previously built tiff
> [osx-pkg] Using previously downloaded exif
> [osx-pkg] Using previously unpacked exif
> [osx-pkg] Using previously configured exif
> [osx-pkg] Using previously built exif
> [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 libmad
> [osx-pkg] Using previously unpacked libmad
> [osx-pkg] Using previously configured libmad
> [osx-pkg] Using previously built libmad
> [osx-pkg] Using previously downloaded taglib
> [osx-pkg] Using previously unpacked taglib
> [osx-pkg] Using previously configured taglib
> [osx-pkg] Using previously built taglib
> [osx-pkg] Using previously downloaded libogg
> [osx-pkg] Using previously unpacked libogg
> [osx-pkg] Using previously configured libogg
> [osx-pkg] Using previously built libogg
> [osx-pkg] Using previously downloaded vorbis
> [osx-pkg] Using previously unpacked vorbis
> [osx-pkg] Using previously configured vorbis
> [osx-pkg] Using previously built vorbis
> [osx-pkg] Using previously downloaded flac
> [osx-pkg] Using previously unpacked flac
> [osx-pkg] Using previously configured flac
> [osx-pkg] Using previously built flac
> [osx-pkg] Cleaning previous installs of MythTV
> [osx-pkg] rm -fr /Users/mini/build-myth/.osx-packager/src/myth-
> svn/mythtv/config
> [osx-pkg] Checking out source code
> [osx-pkg] /usr/local/bin/svn co
> http://svn.mythtv.org/svn/branches/release-0-21-fixes/mythtv
> http://svn.mythtv.org/svn/branches/release-0-21-fixes/myththemes
> http://svn.mythtv.org/svn/branches/release-0-21-fixes/mythplugins
> /Users/mini/build-myth/.osx-packager/src/myth-svn
> A    /Users/mini/build-myth/.osx-packager/src/myth-svn/mythtv/config
> Checked out revision 16979.
> Checked out revision 16979.
> Checked out revision 16979.
> [osx-pkg] Cleaning MythTV makefiles containing PREFIX
> [osx-pkg] find . -name Makefile -exec egrep -q PREFIX {} ; -delete
> [osx-pkg] echo 'Index: libs/libmythui/mythmainwindow.cpp
> ===================================================================
> --- libs/libmythui/mythmainwindow.cpp  (revision 12154)
> +++ libs/libmythui/mythmainwindow.cpp  (working copy)
> @@ -1094,6 +1094,10 @@
>          {
>              QKeyEvent *ke = dynamic_cast<QKeyEvent*>(e);
>
> +            // Work around weird GCC run-time bug. Only manifest on Mac
> OS X
> +            if (!ke)
> +                ke = (QKeyEvent *)e;
> +
>              if (currentWidget())
>              {
>                  ke->accept();
> ' | patch -p0 --forward
> patching file libs/libmythui/mythmainwindow.cpp
> Reversed (or previously applied) patch detected!  Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file
> libs/libmythui/mythmainwindow.cpp.rej
> [osx-pkg] Failed system call: " echo 'Index:
> libs/libmythui/mythmainwindow.cpp
> ===================================================================
> --- libs/libmythui/mythmainwindow.cpp  (revision 12154)
> +++ libs/libmythui/mythmainwindow.cpp  (working copy)
> @@ -1094,6 +1094,10 @@
>          {
>              QKeyEvent *ke = dynamic_cast<QKeyEvent*>(e);
>
> +            // Work around weird GCC run-time bug. Only manifest on Mac
> OS X
> +            if (!ke)
> +                ke = (QKeyEvent *)e;
> +
>              if (currentWidget())
>              {
>                  ke->accept();
> ' | patch -p0 --forward " with error code 1
> [osx-pkg] Configuring mythtv
> [osx-pkg] ./configure --prefix=/Users/mini/build-myth/.osx-packager/build
> --disable-distcc
> ERROR! You must have FreeType installed to compile MythTV.
> If you think configure made a mistake, make sure you are using the latest
> version from SVN.  If the latest version fails, report the problem to the
> mythtv-dev at mythtv.org mailing list or IRC #mythtv on irc.freenode.net
> Include the log file "config.err" produced by configure as this will help
> solving the problem.
> [osx-pkg] Failed system call: " ./configure --prefix=/Users/mini/build-
> myth/.osx-packager/build --disable-distcc " with error code 1
> Died at /Users/mini/Documents/osx-packager.pl line 984.

New description:

 I'm trying to compile mythtv (backend) on OSX 10.5. I'm using the osx-
 packager.pl in 0.21-fixes but I am getting the following error:

 $ osx-packager.pl \
         -svnbranch release-0-21-fixes \
         -verbose \
         -clean

 ...

 Clean up
 Build
 {{{
 [osx-pkg] Forcing -usehdimage due to case-insensitive filesystem
 [osx-pkg] /usr/bin/hostinfo | grep 'processors$'
 [osx-pkg] Using 2 parallel CPUs
 [osx-pkg] Including components: mythtv myththemes mythplugins
 [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-mt
 [osx-pkg] Using previously unpacked qt-mt
 [osx-pkg] Using previously configured qt-mt
 [osx-pkg] Using previously built qt-mt
 [osx-pkg] Using previously downloaded tiff
 [osx-pkg] Using previously unpacked tiff
 [osx-pkg] Using previously configured tiff
 [osx-pkg] Using previously built tiff
 [osx-pkg] Using previously downloaded exif
 [osx-pkg] Using previously unpacked exif
 [osx-pkg] Using previously configured exif
 [osx-pkg] Using previously built exif
 [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 libmad
 [osx-pkg] Using previously unpacked libmad
 [osx-pkg] Using previously configured libmad
 [osx-pkg] Using previously built libmad
 [osx-pkg] Using previously downloaded taglib
 [osx-pkg] Using previously unpacked taglib
 [osx-pkg] Using previously configured taglib
 [osx-pkg] Using previously built taglib
 [osx-pkg] Using previously downloaded libogg
 [osx-pkg] Using previously unpacked libogg
 [osx-pkg] Using previously configured libogg
 [osx-pkg] Using previously built libogg
 [osx-pkg] Using previously downloaded vorbis
 [osx-pkg] Using previously unpacked vorbis
 [osx-pkg] Using previously configured vorbis
 [osx-pkg] Using previously built vorbis
 [osx-pkg] Using previously downloaded flac
 [osx-pkg] Using previously unpacked flac
 [osx-pkg] Using previously configured flac
 [osx-pkg] Using previously built flac
 [osx-pkg] Cleaning previous installs of MythTV
 [osx-pkg] rm -fr /Users/mini/build-myth/.osx-packager/src/myth-
 svn/mythtv/config
 [osx-pkg] Checking out source code
 [osx-pkg] /usr/local/bin/svn co
 http://svn.mythtv.org/svn/branches/release-0-21-fixes/mythtv
 http://svn.mythtv.org/svn/branches/release-0-21-fixes/myththemes
 http://svn.mythtv.org/svn/branches/release-0-21-fixes/mythplugins
 /Users/mini/build-myth/.osx-packager/src/myth-svn
 A    /Users/mini/build-myth/.osx-packager/src/myth-svn/mythtv/config
 Checked out revision 16979.
 Checked out revision 16979.
 Checked out revision 16979.
 [osx-pkg] Cleaning MythTV makefiles containing PREFIX
 [osx-pkg] find . -name Makefile -exec egrep -q PREFIX {} ; -delete
 [osx-pkg] echo 'Index: libs/libmythui/mythmainwindow.cpp
 ===================================================================
 --- libs/libmythui/mythmainwindow.cpp  (revision 12154)
 +++ libs/libmythui/mythmainwindow.cpp  (working copy)
 @@ -1094,6 +1094,10 @@
          {
              QKeyEvent *ke = dynamic_cast<QKeyEvent*>(e);

 +            // Work around weird GCC run-time bug. Only manifest on Mac
 OS X
 +            if (!ke)
 +                ke = (QKeyEvent *)e;
 +
              if (currentWidget())
              {
                  ke->accept();
 ' | patch -p0 --forward
 patching file libs/libmythui/mythmainwindow.cpp
 Reversed (or previously applied) patch detected!  Skipping patch.
 1 out of 1 hunk ignored -- saving rejects to file
 libs/libmythui/mythmainwindow.cpp.rej
 [osx-pkg] Failed system call: " echo 'Index:
 libs/libmythui/mythmainwindow.cpp
 ===================================================================
 --- libs/libmythui/mythmainwindow.cpp  (revision 12154)
 +++ libs/libmythui/mythmainwindow.cpp  (working copy)
 @@ -1094,6 +1094,10 @@
          {
              QKeyEvent *ke = dynamic_cast<QKeyEvent*>(e);

 +            // Work around weird GCC run-time bug. Only manifest on Mac
 OS X
 +            if (!ke)
 +                ke = (QKeyEvent *)e;
 +
              if (currentWidget())
              {
                  ke->accept();
 ' | patch -p0 --forward " with error code 1
 [osx-pkg] Configuring mythtv
 [osx-pkg] ./configure --prefix=/Users/mini/build-myth/.osx-packager/build
 --disable-distcc
 ERROR! You must have FreeType installed to compile MythTV.
 If you think configure made a mistake, make sure you are using the latest
 version from SVN.  If the latest version fails, report the problem to the
 mythtv-dev at mythtv.org mailing list or IRC #mythtv on irc.freenode.net
 Include the log file "config.err" produced by configure as this will help
 solving the problem.
 [osx-pkg] Failed system call: " ./configure --prefix=/Users/mini/build-
 myth/.osx-packager/build --disable-distcc " with error code 1
 Died at /Users/mini/Documents/osx-packager.pl line 984.
 }}}

--

Comment:

 Is this still a problem? Did the clean (-thirdbuild) help?

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5173#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list