configure fails on every arch other than i386 and amd64

Bug #330917 reported by Jo Shields
2
Affects Status Importance Assigned to Milestone
openSUSE
Fix Released
Medium
moon (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

There is a check in moon's configure script to see whether the platform
compiling the plugin has the Microsoft Media Pack available to it:
CODECS_SUPPORTED="no"
CODECS_ARCH_SUPPORTED="no"
CODECS_OS_SUPPORTED="no"

case "$host" in
        i*86-*-*)
                ARCH=x86
                CODECS_ARCH_SUPPORTED="yes"
                ;;
        x86_64-*-* | amd64-*-*)
                ARCH=x64
                CODECS_ARCH_SUPPORTED="yes"
                ;;
esac
case "$host" in
    *-*-*linux*)
                OSTYPE=linux
                CODECS_OS_SUPPORTED="yes"
                ;;
esac

if test ${ARCH} = unknown; then
        { { echo "$as_me:$LINENO: error: The codecs have not been configured to
build on this architecture yet" >&5
echo "$as_me: error: The codecs have not been configured to build on this
architecture yet" >&2;}
   { (exit 1); exit 1; }; }
fi
if test ${OSTYPE} = unknown; then
        { { echo "$as_me:$LINENO: error: The codecs have not been configured to
build on this operating system yet" >&5
echo "$as_me: error: The codecs have not been configured to build on this
operating system yet" >&2;}
   { (exit 1); exit 1; }; }
fi

Unfortunately, this check causes moon to fail to build on non-x86ish
architectures, even when using --with-ffmpeg=yes.

Reproducible: Always

Steps to Reproduce:
1. Don't be on an x86 or amd64
2. Configure moonlight
Actual Results:
http://launchpadlibrarian.net/22777113/buildlog_ubuntu-jaunty-powerpc.moon_1.0-0ubuntu1_FAILEDTOBUILD.txt.gz

Expected Results:
Happy shiny compilation

Related branches

Revision history for this message
Jo Shields (directhex) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package moon - 1.0-0ubuntu2

---------------
moon (1.0-0ubuntu2) jaunty; urgency=low

  * debian/control,
    debian/rules:
    + Add dependency autoconf
    + Depend on and enable dpatch
  * debian/rules,
    debian/patches/moon_dont_bail_on_unknown_arches.diff:
    + Patch configure.ac and re-autoconf to ensure arches other than
      i386 and amd64 compile fine (LP: #330917)

 -- Jo Shields <email address hidden> Sat, 14 Feb 2009 12:01:08 +0000

Changed in moon:
status: New → Fix Released
Changed in opensuse:
status: Confirmed → Fix Released
Changed in opensuse:
importance: Unknown → Medium
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.