Bug#807420: lwjgl: FTBFS on ppc64el: error: wrong type argument to unary exclamation mark

Fernando Seiti Furusato ferseiti at br.ibm.com
Tue Dec 8 16:32:37 UTC 2015


Source: lwjgl
Version: 2.7.1+dfsg-4
Severity: normal
Tags: patch

Dear Maintainer,

I am aware that this package has a newer version available.
But since it is in the repository, it would be good to have it building on
ppc64el as well.

The reason for the failure is because altivec is enabled by default on
ppc64el so all gets compiled with flag -maltivec on.
Consequently, macros definitions from altivec.h such as bool, vector and 
pixel get replaced along the code.

I included -mcpu-powerpc if the arch is ppc64le, but I am not sure this is
the best way to do so.

I know it works, because I tested on x86_64 and ppc64el.

Regards.

Fernando

-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lwjgl-ppc64el.debdiff
Type: text/x-diff
Size: 2407 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20151208/ec49a5ac/attachment.diff>


More information about the pkg-java-maintainers mailing list