mythtv fails to build on powerpc under lucid

Bug #559614 reported by Stefan Farestam
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Fix Released
Low
Dave Walker

Bug Description

Binary package hint: mythtv

When trying to compile mythtv from the source package mythtv_0.23.0+fixes23820 under powerpc, I get the following error:

In file included from yuv2rgb.cpp:44:
/usr/lib/gcc/powerpc-linux-gnu/4.4.3/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support

To fix this I updated the debian/rules file with cxx option "-maltivec", as per:

diff rules.orig rules
47c47
< CONFIGURE_OPTS += --enable-altivec
---
> CONFIGURE_OPTS += --enable-altivec --extra-cxxflags="-maltivec"

After this fix mythtv builds cleanly under powerpc

Revision history for this message
MarcRandolph (mrand) wrote :

Howdy, and thank you for helping to improve Ubuntu, not only by opening this ticket, but by proposing a fix. I am marking this ticket as triaged because it appears to have enough information to help the developers quickly resolve the problem. It is possible I am wrong and another more experienced triager or developer may adjust the status of the ticket to "incomplete" and request additional information.

Changed in mythtv (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Dave Walker (davewalker)
Changed in mythtv (Ubuntu):
assignee: nobody → Dave Walker (davewalker)
Dave Walker (davewalker)
Changed in mythtv (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythtv - 0.23.0+fixes24133-0ubuntu1

---------------
mythtv (0.23.0+fixes24133-0ubuntu1) lucid; urgency=low

  [ Dave Walker (Daviey) ]
  * New upstream snapshot (r24133)
    - Fixes crash of mythfrontend when upconverting audio to 5.1 (LP: #550562)
    - Improve Jamu handling of invalid database data (LP: #549352)
    - Remove mythtranscode's internal copy of the slow-delete code and instead
      send a request to the backend to delete the file. (LP: #481104)
    - LiveTV & recording with V4L cards on 64-bit backend fixed. (LP: #562690)
  * debian/mcc-mirobridge/*: New icon, UI alignment changes and description
    text added. Courtesy of R. Doug Vaughan.
  * debian/rules: Added cxx option "-maltivec" to PowerPC specifc configure
    option to fix FTBFS for that architecture. (LP: #559614)

  [ Mario Limonciello ]
  * 40_libudev.path:
    - Add -ludev to the library check.
  * debian/control:
    - Drop linux-libc-dev build-dep.
  * Actually disable halt and reboot commands by default.
 -- Dave Walker (Daviey) <email address hidden> Thu, 15 Apr 2010 00:04:14 +0100

Changed in mythtv (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
codewarrior (lvr) wrote :

This fix prevents MythTV from running on any PowerPC without AltiVec support. This includes Macintosh G3's, which are supported by the Ubuntu PowerPC port.

For better PowerPC coverage I would suggest this fix instead:

diff rules.orig rules
47c47
< CONFIGURE_OPTS += --enable-altivec
---
> CONFIGURE_OPTS += --disable-altivec

Alternatively a runtime test for AltiVec capabilty and dynamic loading of AltiVec specific modules.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.