[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#670073: marked as done (octave-nan: FTBFS on hurd-i386)



Your message dated Mon, 23 Apr 2012 21:34:03 +0000
with message-id <E1SMQtX-0004ak-KH@franck.debian.org>
and subject line Bug#670073: fixed in octave-nan 2.5.5-2
has caused the Debian Bug report #670073,
regarding octave-nan: FTBFS on hurd-i386
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 owner@bugs.debian.org
immediately.)


-- 
670073: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670073
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: octave-nan
Version: 2.5.5-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Hi,

currently[1], octave-nan does not compile on GNU/Hurd.

The problem is that it tries to include <machine/endian.h> if BSD is
defined (which is on Hurd, since it initially wanted to be
BSD-compatible, somehow). Anyhow, the attached patch avoids that
#include in Hurd, and enabling <byteswap.h> on any GNU libc platform
(since GNU libc provides that header) to have optimized byte swapping
macros on GNU/Hurd and also on GNU/kFreeBSD too.

[1] https://buildd.debian.org/status/fetch.php?pkg=octave-nan&arch=hurd-i386&ver=2.5.5-1&stamp=1333477163

Thanks,
-- 
Pino
--- a/src/xptopen.cpp
+++ b/src/xptopen.cpp
@@ -72,7 +72,7 @@ SPSS file format
 #define max(a,b)	(((a) > (b)) ? (a) : (b))
 #define min(a,b)	(((a) < (b)) ? (a) : (b))
 
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
 /* use byteswap macros from the host system, hopefully optimized ones ;-) */
 #include <byteswap.h>
 #endif
@@ -83,7 +83,7 @@ SPSS file format
 #define __BYTE_ORDER __LITTLE_ENDIAN
 #endif
 
-#if (defined(BSD) && (BSD >= 199103))
+#if ((defined(BSD) && !defined(__GNU__)) && (BSD >= 199103))
 #include <machine/endian.h>
 #define __BIG_ENDIAN _BIG_ENDIAN
 #define __LITTLE_ENDIAN _LITTLE_ENDIAN

--- End Message ---
--- Begin Message ---
Source: octave-nan
Source-Version: 2.5.5-2

We believe that the bug you reported is fixed in the latest version of
octave-nan, which is due to be installed in the Debian FTP archive:

octave-nan_2.5.5-2.debian.tar.gz
  to main/o/octave-nan/octave-nan_2.5.5-2.debian.tar.gz
octave-nan_2.5.5-2.dsc
  to main/o/octave-nan/octave-nan_2.5.5-2.dsc
octave-nan_2.5.5-2_amd64.deb
  to main/o/octave-nan/octave-nan_2.5.5-2_amd64.deb



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 670073@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Villemot <sebastien.villemot@ens.fr> (supplier of updated octave-nan 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 23 Apr 2012 23:02:12 +0200
Source: octave-nan
Binary: octave-nan
Architecture: source amd64
Version: 2.5.5-2
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Sébastien Villemot <sebastien.villemot@ens.fr>
Description: 
 octave-nan - handles data with and without missing values in Octave
Closes: 670073
Changes: 
 octave-nan (2.5.5-2) unstable; urgency=low
 .
   * hurd.patch: new patch (Closes: #670073)
Checksums-Sha1: 
 ed2c595d6a1e698d28016acce0300a9c7e354073 2024 octave-nan_2.5.5-2.dsc
 d1dea784bf8cabdac54e8ad89e6e0c2dafbaf086 6212 octave-nan_2.5.5-2.debian.tar.gz
 c627b5f6de4876c31508007a63b2a595f75522c2 242690 octave-nan_2.5.5-2_amd64.deb
Checksums-Sha256: 
 e5efb51fef040d0f871d4784dd9c74de3c8dcf6890c6500409a8f49906fec91b 2024 octave-nan_2.5.5-2.dsc
 4b6267682f19866b30e1faf8440a9a3b71d04bae29fcfc5f633bb9c0f0af2f84 6212 octave-nan_2.5.5-2.debian.tar.gz
 0f74a26aafae986cee539d6c3961b034c88a3ec4e6f531a972bffcfc2cc97ddb 242690 octave-nan_2.5.5-2_amd64.deb
Files: 
 e3ce08cfb7424b41092d3efad2faa709 2024 math optional octave-nan_2.5.5-2.dsc
 4cbd3ccca4dad558e7eb870b10626555 6212 math optional octave-nan_2.5.5-2.debian.tar.gz
 68918c56637ca4b441438f33d51bddec 242690 math optional octave-nan_2.5.5-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJPlcTWAAoJECzs6TUOzr5KnvgQAJ0sHQ8UcvG/+qpdrNFPk3ZT
8oPbUUw0BuViaC2uK9tsBI2rlgH+Ac3qAdtKHDMdfaIcoVYPnK6jkFGVA9Hx/CSm
96d26rgl1NWmUr3nkGGUq8efQ5xxTnmXxhFbtAd7QPl+/8tCUDLgUBaV2ojoRFXi
/dU9J3OOk1fbiP2FgyPrllE28+prBAYtg1D6Icws3+K+SLjKZuq8VDYB/MJ2Jz3E
5n/QyEf0etYJj1aLXX0bGutZKa9bOecCQ9zsyPIKbf5muBA95jhpS8dra4Xzoecg
w4zEry2qzR5/pZD9Ttgs2y3CCR/05fmhE1Qh/9ZKgnrwtDExyYgEMVwmP6bjIlKH
olcmuSw3tJb5Z9den7lEX+Cm9LWgRjQ4j3Wp+IKA+pFhLvrTucqhxGJvfBZW16sB
NvsvJ+a8CYv7R/+2f2IqD9ycUWse9Kc+5/cRl7jdYvDmyOP558eWbenww68IqHHN
oqquYF0julRB1+PmIRWr0Zp/3vwtRljj7j3aILlsqcm/rJT1Esqt+bHirD3EtRwV
l2lP5YhAXvwk4rJ/pyEQ3lVC6hvTzXEaFEKPpk1pIW2B7/eHLGTi4elpVf7wo3ho
juoJZk6RhQnWQK7FThxJXjRgUpkA/frR8RQAKb6Rd2AX44iDQQMOBoOo6z9zMeTR
b0dEyM0ilK+NKkrU7VgQ
=042L
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: