Your message dated Thu, 10 Dec 2015 04:26:50 +0000
with message-id <e1a6soc-000828...@franck.debian.org>
and subject line Bug#807420: fixed in lwjgl 2.7.1+dfsg-5
has caused the Debian Bug report #807420,
regarding lwjgl: FTBFS on ppc64el: error: wrong type argument to unary 
exclamation mark
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
807420: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807420
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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)
diff -Nru lwjgl-2.7.1+dfsg/debian/changelog lwjgl-2.7.1+dfsg/debian/changelog
--- lwjgl-2.7.1+dfsg/debian/changelog	2014-10-26 20:43:24.000000000 -0400
+++ lwjgl-2.7.1+dfsg/debian/changelog	2015-12-08 11:01:36.000000000 -0500
@@ -1,3 +1,11 @@
+lwjgl (2.7.1+dfsg-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/ppc64el.patch: patch adds cflag -mcpu=powerpc
+    when on target compiledeb on ppc64le, to fix ftbfs on ppc64el 
+
+ -- Fernando Seiti Furusato <ferse...@br.ibm.com>  Tue, 08 Dec 2015 10:57:30 -0500
+
 lwjgl (2.7.1+dfsg-4) unstable; urgency=low
 
   * Update packaging standards.
diff -Nru lwjgl-2.7.1+dfsg/debian/patches/ppc64el.patch lwjgl-2.7.1+dfsg/debian/patches/ppc64el.patch
--- lwjgl-2.7.1+dfsg/debian/patches/ppc64el.patch	1969-12-31 19:00:00.000000000 -0500
+++ lwjgl-2.7.1+dfsg/debian/patches/ppc64el.patch	2015-12-08 11:01:36.000000000 -0500
@@ -0,0 +1,24 @@
+Index: lwjgl-2.7.1+dfsg/platform_build/linux_ant/build.xml
+===================================================================
+--- lwjgl-2.7.1+dfsg.orig/platform_build/linux_ant/build.xml
++++ lwjgl-2.7.1+dfsg/platform_build/linux_ant/build.xml
+@@ -23,6 +23,10 @@
+ 		<exec executable="uname" outputproperty="hwplatform">
+ 			<arg value="-m"/>
+ 		</exec>
++		<condition property="cflags_ppc64le" value="-mcpu=powerpc -m64" else="">
++			<os arch="ppc64le"/>
++		</condition>
++		<echo message="value of arch is ${os.arch} the value of hwplatform is ${hwplatform} and cflags32 ${cflags32}" />
+ 		<condition property="xf86vm_lib" value="-lXxf86vm" else="-Wl,-static,-lXxf86vm,-call_shared">
+ 			<os name="SunOS" />
+ 		</condition>
+@@ -124,7 +128,7 @@
+     <target name="compiledeb">    	
+     	<mkdir dir="deb"/>
+     	<apply dir="deb" executable="gcc" skipemptyfilesets="true" failonerror="true">
+-			<arg line="${cflags32} ${cflags_pthread}"/>
++			<arg line="${cflags32} ${cflags_pthread} ${cflags_ppc64le}"/>
+ 			<arg value="-I${java.home}/include"/>
+ 			<arg value="-I${java.home}/include/linux"/>
+ 			<arg value="-I${java.home}/../include"/>
diff -Nru lwjgl-2.7.1+dfsg/debian/patches/series lwjgl-2.7.1+dfsg/debian/patches/series
--- lwjgl-2.7.1+dfsg/debian/patches/series	2014-10-26 20:31:04.000000000 -0400
+++ lwjgl-2.7.1+dfsg/debian/patches/series	2015-12-08 11:01:36.000000000 -0500
@@ -2,3 +2,4 @@
 allarchs.patch
 systemjinput.patch
 javadoc.patch
+ppc64el.patch

--- End Message ---
--- Begin Message ---
Source: lwjgl
Source-Version: 2.7.1+dfsg-5

We believe that the bug you reported is fixed in the latest version of
lwjgl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 807...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmanc...@debian.org> (supplier of updated lwjgl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 09 Dec 2015 09:32:51 -0800
Source: lwjgl
Binary: liblwjgl-java liblwjgl-java-jni liblwjgl-java-doc
Architecture: source all amd64
Version: 2.7.1+dfsg-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: tony mancill <tmanc...@debian.org>
Description:
 liblwjgl-java - Lightweight Java Game Library
 liblwjgl-java-doc - Lightweight Java Game Library (javadoc)
 liblwjgl-java-jni - Lightweight Java Game Library (jni)
Closes: 807420
Changes:
 lwjgl (2.7.1+dfsg-5) unstable; urgency=medium
 .
   * Team upload.
   * debian/patches/ppc64el.patch: adds cflag -mcpu=powerpc for
     to fix ftbfs on ppc64el. (Closes: #807420)
     Thank you to Fernando Seiti Furusato <ferse...@br.ibm.com>
     for the patch.
Checksums-Sha1:
 d9ae4e278039f9e4f7144e3810bc4bf32eea3e1e 2248 lwjgl_2.7.1+dfsg-5.dsc
 d051a618b20bb0436b936df75c6f3655ae9fa484 6868 lwjgl_2.7.1+dfsg-5.debian.tar.xz
 8cbeff125e1d607d482ed7875599e607211f62ce 737088 
liblwjgl-java-doc_2.7.1+dfsg-5_all.deb
 aaaca7d94bde7896ec9a9fa84c4a7e10229a998d 80260 
liblwjgl-java-jni_2.7.1+dfsg-5_amd64.deb
 d3e0486cb5e4b0327ed820b13559283dd385569f 1123814 
liblwjgl-java_2.7.1+dfsg-5_all.deb
Checksums-Sha256:
 5440041b4f010ef4ff5368780139dc794283c7cae645e7df637f80ad418c2b68 2248 
lwjgl_2.7.1+dfsg-5.dsc
 34bc8cfbe0d648af4435e70458e366dbe6e344b8e648d22104016fc514f916c2 6868 
lwjgl_2.7.1+dfsg-5.debian.tar.xz
 93fe36cfdac8f3d8ad0c8437a4b2c94c4395271721170fa04e4a46cd4fc69be1 737088 
liblwjgl-java-doc_2.7.1+dfsg-5_all.deb
 2d48ab727d4d983abb472a957f2d24abafd846e5e115880348627735f7dedea3 80260 
liblwjgl-java-jni_2.7.1+dfsg-5_amd64.deb
 b62801dc78bd6503e58a87416657586c35ef6aa0ebc177200174b7f4cf037192 1123814 
liblwjgl-java_2.7.1+dfsg-5_all.deb
Files:
 604f1a6bc2d63a69cbcae42879475708 2248 java optional lwjgl_2.7.1+dfsg-5.dsc
 5ba1a7167300c8edfb41558f2bef5a31 6868 java optional 
lwjgl_2.7.1+dfsg-5.debian.tar.xz
 72a1afe787602a24eb05e62765d8b76f 737088 doc optional 
liblwjgl-java-doc_2.7.1+dfsg-5_all.deb
 a338c4f54dbd05663c96890c279c4443 80260 java optional 
liblwjgl-java-jni_2.7.1+dfsg-5_amd64.deb
 8130af4173b677a3b1991a6b83a56842 1123814 java optional 
liblwjgl-java_2.7.1+dfsg-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWaOX0AAoJECHSBYmXSz6WHI0QAI5X70iMDSx1pPnZ79FhZG5n
rqKFY7sGVndbdNBHB1CQ3BzcVbPBNgToRBhecV9rsa5ju29WSrfnPHVhQEfyuxJt
tY7LSIngoyhdBQmUKHg7oHg0zO2MGEw3kxrgFYb6DPhjPJFLIilWK/CFSV+gO6Ao
XAz4qyJRbuciMNytx9qkAzHYXD6pqJdwo/tMHlRZ1YjGM4ongQOzq+iLywovQj0i
oDOTqKTHWGVGAhDLsN9KPOciAJqOZBNdAtCP3rHYJ6l+2QctwJIr2+AP1kuk1rDA
YAqArvMD5bU8FxfrWWvXY3zKYsHzVkCCiOASbH3wkNaDXuDt9D8Ifuu/qruXkYzC
u22xff0JnxCWMuLUbHFKMugykiou1z1WR5KG7QG5YoMQ6sTb40mI6q6Fc6TdKwew
XdOLJLiiKC0TQUSK0mVmI1MhR9dEQNTxubo+BdodqPhjv9RHMhnWdEP8UatoG15g
jR6NmdCXSTYnLP0E9z65vqGJJCeXnDtfewanPAQktq8z+KDgE7IkyTBnx9WMh+HW
0BpqD0p1l4wROxo3VaVUcZpNtKSkCbMC64yYPd6HCZZu+ZyZ9QOQiFTpR4wIILPP
0az/pjx3qKlb4H6DfuGhHZYbQjxngpk1u09f8gOmCYGwLKaL/VwdIUoF7nfUKfiv
hIukiMwEQtsUmWE1D35A
=NNVm
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to