[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#632609: mixxx: Please support sh3, sh4 and powerpcspe

Source: mixxx
Version: 1.9.0+dfsg0-2
Severity: wishlist
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
User: debian-powerpcspe@breakpoint.cc
Usertags: powerpcspe
X-Debbugs-CC: debian-superh@lists.debian.org, sebastian@breakpoint.cc


I am now trying to run Debian on Renesas SH(sh4) CPU.

mixxx FTBFS on sh4 and powerpcspe. Because this does not support these


   dh_auto_configure -a -O--parallel
   debian/rules override_dh_auto_build
make[1]: Entering directory
# create icons
convert res/images/mixxx-icon.png -geometry 32x32 mixxx.xpm
scons install_root=/build/buildd-mixxx_1.9.0+dfsg0-2-powerpcspe-cv6Wcj/mixxx-1.9.0+dfsg0/debian/tmp/usr
qtdir=/usr/share/qt4 prefix=/usr machine=powerpcspe w=1
scons: Reading SConscript files ...
Exception: invalid machine type:
  File "/build/buildd-mixxx_1.9.0+dfsg0-2-powerpcspe-cv6Wcj/mixxx-1.9.0+dfsg0/SConstruct",
line 59:
    build = mixxx.MixxxBuild(target, machine, build_type, toolchain,
  File "/build/buildd-mixxx_1.9.0+dfsg0-2-powerpcspe-cv6Wcj/mixxx-1.9.0+dfsg0/build/mixxx.py",
line 47:
    raise Exception("invalid machine type")
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory
make: *** [binary-arch] Error 2

I update debian/patches/15-various_archs_support.patch to support
these architectures.
Could you apply this patch?

Best regards,

Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
Description: Allow the compilation on several architectures.
 Get rid of the -Dalpha, fixes FTBFS on alpha.
Author: Alessio Treglia <alessio@debian.org>
Bug: https://launchpad.net/bugs/683029
Bug-Debian: http://bugs.debian.org/598749
Bug-Debian: http://bugs.debian.org/616177
Forwarded: https://bugs.launchpad.net/mixxx/+bug/683029/comments/3
 build/depends.py |    3 ++-
 build/mixxx.py   |    5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

--- a/build/mixxx.py
+++ b/build/mixxx.py
@@ -39,8 +39,13 @@
             raise Exception("invalid target platform")
         if machine not in ['x86_64', 'x86', 'i686', 'i586',
+                           'alpha', 'hppa', 'mips', 'mipsel', 's390',
+                           'sparc', 'ia64', 'armel', 'armhf', 'hurd-i386',
+                           'sh3', 'sh4',
+                           'kfreebsd-amd64', 'kfreebsd-i386',
                            'i486', 'i386', 'powerpc', 'powerpc64',
-                           'AMD64', 'EM64T', 'INTEL64']:
+                           'powerpcspe',
+                           'amd64', 'EM64T', 'INTEL64']:
             raise Exception("invalid machine type")
         if toolchain not in ['gnu', 'msvs']:
--- a/build/depends.py
+++ b/build/depends.py
@@ -591,7 +591,8 @@ class MixxxCore(Feature):
         # Evaluate this define. There are a lot of different things around the
         # codebase that use different defines. (AMD64, x86_64, x86, i386, i686,
         # EM64T). We need to unify them together.
-        build.env.Append(CPPDEFINES=build.machine)
+        if not build.machine=='alpha':
+            build.env.Append(CPPDEFINES=build.machine)
         if build.toolchain_is_gnu:
             # Default GNU Options

Reply to: