Your message dated Wed, 23 Dec 2015 19:35:03 +0000
with message-id <e1abpbf-00050f...@franck.debian.org>
and subject line Bug#808175: fixed in jffi 1.2.7-9
has caused the Debian Bug report #808175,
regarding jffi: FTBFS on non-Linux arches
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.)


-- 
808175: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808175
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: jffi
Version: 1.2.7-8
Severity: wishlist
Tags: patch

Hi!

jffi FTBFS on arches other than Linux, for a couple of reasons, both
fixed in the attached patches.

nonlinux_endian_h.patch:

Include the system's <endian.h> for BYTE_ORDER definitions, not just on
Linux but on other platforms too.

nonlinux_platforms.patch:

debian/rules expects an output file called ../dist/jffi-*-Linux.jar,
its name basically determined by jffi-$(uname -m)-$(uname -s).jar
That is set by build.xml, not by jni/GNUmakefile.

On kfreebsd, $(uname -s) contains a forwardslash and this is not good
in filenames.  Since the naming is inconsequential anyway, just call it
jffi-*-Linux.jar even on kfreebsd on hurd.

Thanks!

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 10.1-0-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
From: Steven Chamberlain <ste...@pyro.eu.org>
Date: Wed, 16 Dec 2015 18:56:35 +0000
Subject: just use platform=Linux for GNU/kFreeBSD and Hurd

--- a/build.xml
+++ b/build.xml
@@ -93,6 +93,13 @@
     <condition property="platform.os" value="Windows">
       <os family="Windows"/>
     </condition>
+    <!-- Treat GNU/kFreeBSD or Hurd just like Linux platform -->
+    <condition property="platform.os" value="Linux">
+      <or>
+        <os name="GNU/kFreeBSD"/>
+        <os name="GNU"/>
+      </or>
+    </condition>
     <!-- default to os.arch for the cpu -->
     <condition property="platform.cpu" value="${os.arch}">
       <not><isset property="platform.cpu"/></not>
From: Steven Chamberlain <ste...@pyro.eu.org>
Date: Wed, 16 Dec 2015 14:49:13 +0000
Subject: include endian.h on other platforms than Linux

--- a/jni/jffi/endian.h
+++ b/jni/jffi/endian.h
@@ -36,7 +36,7 @@
 #include <sys/param.h>
 #include <sys/types.h>
 
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
 #  include_next <endian.h>
 #endif
 

--- End Message ---
--- Begin Message ---
Source: jffi
Source-Version: 1.2.7-9

We believe that the bug you reported is fixed in the latest version of
jffi, 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 808...@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 jffi 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, 23 Dec 2015 11:01:55 -0800
Source: jffi
Binary: libjffi-java libjffi-jni
Architecture: source all amd64
Version: 1.2.7-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: tony mancill <tmanc...@debian.org>
Description:
 libjffi-java - Java Foreign Function Interface
 libjffi-jni - Java Foreign Function Interface (JNI library)
Closes: 808175
Changes:
 jffi (1.2.7-9) unstable; urgency=medium
 .
   * Team upload.
   * Apply patch to build on non-Linux architectures (Closes: #808175).
     Thank you to Steven Chamberlain for the patch!
Checksums-Sha1:
 7ccb629c5981574ae06be2503e447716ba3089b0 2149 jffi_1.2.7-9.dsc
 fcf4801ebe1bc88cff7845e70ee8851f45455112 8576 jffi_1.2.7-9.debian.tar.xz
 187459fcda50d40b0b8f0791018f233bd51b36db 138138 libjffi-java_1.2.7-9_all.deb
 bee1ee2758dd49bd17f7d611f7eeb24802c42a90 5362 
libjffi-jni-dbgsym_1.2.7-9_amd64.deb
 47ef73a7ed57d7725abc25577d1d4bf666aac762 25714 libjffi-jni_1.2.7-9_amd64.deb
Checksums-Sha256:
 5d07717c36bf0759079e4703bce9fd137f5cf50a9dde1ba55a30cb4d08472d03 2149 
jffi_1.2.7-9.dsc
 e4a8e87af4a4bca22ea5bccb5b27031c2c19a0eccffecd144de2fa4cca69053c 8576 
jffi_1.2.7-9.debian.tar.xz
 429b826ce2c025b892432d0bfb785c989393714ff43f23dacf9d934af0e7ecd8 138138 
libjffi-java_1.2.7-9_all.deb
 7c438936bfc84b00138ac6c0da9660f67e78bc20fddd98aaf010ed49d7d1b4b8 5362 
libjffi-jni-dbgsym_1.2.7-9_amd64.deb
 acdad4b589ece1292f8e40e6d9231862dddbee8611d19c5f83d57ff2b89673e2 25714 
libjffi-jni_1.2.7-9_amd64.deb
Files:
 dc2d6de103e7e12572d098a497a5a846 2149 java optional jffi_1.2.7-9.dsc
 f2a0b0165d6d25f0a32026426a3edaf0 8576 java optional jffi_1.2.7-9.debian.tar.xz
 e38f1702cc5a4eb11d3760cc3065a205 138138 java optional 
libjffi-java_1.2.7-9_all.deb
 c250aadf2e562c0aececacb7949c9817 5362 debug extra 
libjffi-jni-dbgsym_1.2.7-9_amd64.deb
 b92c3788b2037df83f901eac09bd6bbd 25714 java optional 
libjffi-jni_1.2.7-9_amd64.deb

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

iQIcBAEBCgAGBQJWevLIAAoJECHSBYmXSz6WRaAQAIDSOb8X8QITba0EoIFSlbHs
oWcQpIpl98VAKnLMbyjAhPey2+rkY0i4smj+ble8H5jN6ic7KHEdQ09s2R8oGBjy
wR5prDNXJkqubsb9rI97pNrlnzLflrhid9gTjWL3vQ9jagm893rrvqt0czK7sMwF
WCCTUe0KnjSLRn4y6SdgrENT1XzZHEzbIe+KvN1lvXWBrUHV4hdwuN9cI2L/eoWs
cWf/WUQ0AMLHFxWGLy8uEk13752kIA5QQVU0R/nOIsOtB4xo34oxHXMjqE4M43vv
jL0kCog3THLPM+d7+QXaup9qCSBsZsJlvPlHQ2D4yNoxnhay+8SfM7hgm1JGieLo
z0nDn1U89H2H0xPMjhXu9LScHOm4sUgWKp0osKGf9WZPuoIfGblQXKkDoJWDbjUE
r2cDyCeRFixrHKwepdgZx8QfB42QrX0l0PX9Tc7/sFOZTF9Cjfv2jX4PPUmN8BjW
b8QZY4FPL+MuXWZXXnX919wzp5sFcxmYvPOLb5pYSXxxzn3V20LNQh9TMTK8gP56
5avueByZtzKQwwa0aPNzEWaf0/mqhAPUvVWtSdzNdAmHdB34+9ynO/kb6sXGuFEl
kv1ZrSsNRCvgkWouLqtHUm0rei1dloCXj3rTDi1/XmVFqgsc/M5HbggDGJ3ShiXa
37FlcTJwN3MEVzdZd7bx
=Mp/b
-----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