Package: nqp Version: 2014.03-1 Severity: normal Tags: patch Dear Maintainer,
When building nqp in ppc64el architecture, it fails with the following message: error: unsupported architecture ppc64el The full build log could be found at http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/nqp_2014.03-1_ppc64el.build So, this patch adds ppc64el as a known architecture, and set CONFIG_ARCH as ppc64. Thank you, Breno -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Index: nqp-2014.03/3rdparty/dyncall/configure =================================================================== --- nqp-2014.03.orig/3rdparty/dyncall/configure +++ nqp-2014.03/3rdparty/dyncall/configure @@ -184,7 +184,7 @@ guess_arch() ARCH=`dpkg-architecture -qDEB_BUILD_ARCH_CPU` if [ "$ARCH" = "Power Macintosh" ] || [ "$ARCH" = "ppc" ] || [ "$ARCH" = "macppc" ] || [ "$ARCH" = "powerpc" ]; then CONFIG_ARCH="ppc32" - elif [ "$ARCH" = "ppc64" ]; then + elif [ "$ARCH" = "ppc64" ] || [ "$ARCH" = "ppc64el" ]; then CONFIG_ARCH="ppc64" elif [ "$ARCH" = "x86" ] || [ "$ARCH" = "i386" ] || [ "$ARCH" = "i486" ] || [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] || [ "$ARCH" = "i86pc" ]; then CONFIG_ARCH="x86"