Your message dated Sun, 05 Oct 2014 21:24:50 +0000
with message-id <e1xatiq-0006o2...@franck.debian.org>
and subject line Bug#761603: fixed in libhdf4 4.2.10-2
has caused the Debian Bug report #761603,
regarding libhdf4: wrong endianness on s390x/mips
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.)
--
761603: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761603
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libhdf4-0
Version: 4.2.10~1exp1
Control: tags -1 patch
(from debian/patches/hdfi.h )
--- a/HDF4/hdf/src/hconv.h
+++ b/HDF4/hdf/src/hconv.h
@@ -59,7 +59,7 @@
/* CONSTANT DEFINITIONS */
/*****************************************************************************/
/* Generally Big-Endian machines */
-#if !defined(INTEL86) && !defined(MIPSEL) && !defined(DEC_ALPHA) && !defined(I860) && !defined(SUN386)
&& !(defined(__ia64) && !(defined(hpux) || defined(__hpux))) && !defined(__x86_64__)
+#if !defined(INTEL86) && !defined(MIPSEL) && !defined(DEC_ALPHA) && !defined(I860) && !defined(SUN386) && !(defined(__ia64)
&& !(defined(hpux) || defined(__hpux))) && !defined(__x86_64__) && (defined(__powerpc__) && !defined(__LITTLE_ENDIAN__)) &&
!defined(__aarch64__) && !defined(__ARM_EABI__)
That treats anything that isn't powerpc as little-endian, which is wrong
for s390x and mips.
The result of this appears to be that while the data itself gets put the
right way round, the array size metadata doesn't:
# t100x100 is the test file from
http://sources.debian.net/src/libhdf4/4.2.10-1%7Eexp1/hdf/util/testfiles/fp2hdf/t100x100/
amd64$ hdfimport t100x100 -o test_amd64.hdf
qemu-s390x$ hdfimport t100x100 -o test_s390x.hdf
$ cmp test_s390x.hdf test_amd64.hdf -l
41095 144 0
41098 0 144
41192 144 0
41195 0 144
41293 0 102
41294 0 310
41295 310 0
41296 102 0
42044 62 63
amd64$ hdiff test_amd64.hdf test_s390x.hdf
Comparison not supported
<DataSet> has rank 2, dimensions [ 100 100 ]
<DataSet> has rank 2, dimensions [ 1677721600 1677721600 ]
# 1677721600 = 100 << 24
qemu-s390x$ hdiff test_amd64.hdf test_s390x.hdf
Comparison not supported
<DataSet> has rank 2, dimensions [ 1677721600 1677721600 ]
<DataSet> has rank 2, dimensions [ 100 100 ]
qemu-s390x$ hdp dumpsds test_s390x.hdf
File name: test_s390x.hdf
Variable Name = DataSet
Index = 0
Type= 32-bit floating point
Ref. = 2
Compression method = NONE
Rank = 2
Number of attributes = 1
Dim0: Name=fakeDim0
Size = 100
Scale Type = 32-bit floating point
Number of attributes = 0
Dim1: Name=fakeDim1
Size = 100
Scale Type = 32-bit floating point
Number of attributes = 0
Attr0: Name = valid_range
Type = 32-bit floating point
Count= 2
Value = 0.000000 100.000000
Data :
[...large array...]
amd64$ hdp dumpsds test_s390x.hdf
File name: test_s390x.hdf
Variable Name = DataSet
Index = 0
Type= 32-bit floating point
Ref. = 2
Compression method = NONE
Rank = 2
Number of attributes = 1
Dim0: Name=fakeDim0
Size = 1677721600
Scale Type = 32-bit floating point
Number of attributes = 0
Dim1: Name=fakeDim1
Size = 1677721600
Scale Type = 32-bit floating point
Number of attributes = 0
Attr0: Name = valid_range
Type = 32-bit floating point
Count= 2
Value = 0.000000 0.000000
Data :
in sdsdumpfull: space allocation for buf failed. Terminated!
If you want to keep this (weird, and fragile in that it silently treats
anything it doesn't recognise as big-endian) form use
+#if !defined(INTEL86) && !defined(MIPSEL) && !defined(DEC_ALPHA) &&
!defined(I860) && !defined(SUN386) && !(defined(__ia64) &&
!(defined(hpux) || defined(__hpux))) && !defined(__x86_64__) &&
!(defined(__powerpc__) && defined(__LITTLE_ENDIAN__)) &&
!defined(__aarch64__) && !defined(__ARM_EABI__)
Fortunately, nothing outside libhdf4 uses this header (according to
codesearch.debian.net), so nothing else should need recompiling.
--- End Message ---
--- Begin Message ---
Source: libhdf4
Source-Version: 4.2.10-2
We believe that the bug you reported is fixed in the latest version of
libhdf4, 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 761...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Johan Van de Wauw <johan.vandew...@gmail.com> (supplier of updated libhdf4
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: Sun, 05 Oct 2014 21:14:40 +0200
Source: libhdf4
Binary: libhdf4-0 hdf4-tools libhdf4g-dev libhdf4-dev libhdf4-doc libhdf4-0-alt
libhdf4-alt-dev
Architecture: source all amd64
Version: 4.2.10-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Johan Van de Wauw <johan.vandew...@gmail.com>
Description:
hdf4-tools - Hierarchical Data Format library -- runtime package
libhdf4-0 - Hierarchical Data Format library (embedded NetCDF)
libhdf4-0-alt - Hierarchical Data Format library (without NetCDF)
libhdf4-alt-dev - Hierarchical Data Format development files (without NetCDF)
libhdf4-dev - Hierarchical Data Format development files (embedded NetCDF)
libhdf4-doc - Hierarchical Data Format library -- documentation
libhdf4g-dev - Hierarchical Data Format library -- transitional development
pack
Closes: 761603
Changes:
libhdf4 (4.2.10-2) unstable; urgency=medium
.
* Add build-time checks
* Fix wrong endianness s390x/mips(closes: #761603)
* Fix ncgen test errors on arm64 (based on fedora changes)
* Fix documentation paths
* Add lintian override for spurious svn conflict files
* Remove duplicate binary control fields
* Add debian/source/format
* Fix short descriptions, bump standards version
* Clarify which version of the GPL applies to the debian packaging
* Remove obsolete document prerm/postinst
Checksums-Sha1:
0acc43e0746c5ae83051aef349fec45be2e25703 2138 libhdf4_4.2.10-2.dsc
2fdfb545e081bfa29feccf1f5efdc518bd960fc4 6507452 libhdf4_4.2.10-2.tar.gz
ffcf1c3083c443db629eeb04e7ba80fa90bbfb95 13256 libhdf4g-dev_4.2.10-2_all.deb
c311290c8f99ac09583ae9963a8bba4fbb61c436 1830398 libhdf4-doc_4.2.10-2_all.deb
510c61b6021552eb57e52746ff0eacef565c6caf 304574 libhdf4-0_4.2.10-2_amd64.deb
8a1390bb19f6c614859c554259558678918c5dd5 226182 hdf4-tools_4.2.10-2_amd64.deb
c8d851c20b9f8aa957c7cd1304e14acce02c87a2 418796 libhdf4-dev_4.2.10-2_amd64.deb
4876871a6e271160c7963216887b5023a86fbece 270958
libhdf4-0-alt_4.2.10-2_amd64.deb
81808e8f346a5a1e0be12b0d6f5e846cf76e19df 371812
libhdf4-alt-dev_4.2.10-2_amd64.deb
Checksums-Sha256:
e857c5788e1a6ff57c2f1ab9d5891fc3964343b5824a40ff5ce3648dc3d4c431 2138
libhdf4_4.2.10-2.dsc
e5ca188a674bf4a61fc110a8f84548cfe50d73f7a63c889562741dfccdb93e3c 6507452
libhdf4_4.2.10-2.tar.gz
95788035fbfa5bf844fa19e7070da86bb2d835048040ce8b56d03926626a43ba 13256
libhdf4g-dev_4.2.10-2_all.deb
26f552c53cc8314cf07ea42b64e1266e1e5494217467102360c5f767ae220944 1830398
libhdf4-doc_4.2.10-2_all.deb
415095289f2dfe44af283d5b36831ccaba171134795948f24ae19e28ad0237fc 304574
libhdf4-0_4.2.10-2_amd64.deb
ba7a6c4f08d1fbcf044f65598497c4c47299aa6ff46ffac6ac51de5bf0697ba2 226182
hdf4-tools_4.2.10-2_amd64.deb
802194b8c8f8c11faf6c32fa303c80248de7da793110e40f4cb40098d33bd487 418796
libhdf4-dev_4.2.10-2_amd64.deb
0398bf730d8bcf24c92174f8a9e4321493a87d2d68ccdd34bf8d2bd47abb2b8a 270958
libhdf4-0-alt_4.2.10-2_amd64.deb
1d5d4a64c380291b157cabae54c2c761bba2bc9d79b9081c72f78afc1826e050 371812
libhdf4-alt-dev_4.2.10-2_amd64.deb
Files:
e8c9d110482c360d06b0fc92882b71da 13256 libdevel optional
libhdf4g-dev_4.2.10-2_all.deb
a47d77aeba91bc4ad63568dfd7c1f43f 1830398 doc optional
libhdf4-doc_4.2.10-2_all.deb
fff9985f9fad36f8c2bb6941319107d1 304574 libs optional
libhdf4-0_4.2.10-2_amd64.deb
cdb7927984fa3cd53c9b85764f512d4f 226182 graphics optional
hdf4-tools_4.2.10-2_amd64.deb
cd169cf6cc46463dfb4505284dc8d86d 418796 libdevel optional
libhdf4-dev_4.2.10-2_amd64.deb
2cd8cb1ba15b9257e8e4b87866530530 270958 libs extra
libhdf4-0-alt_4.2.10-2_amd64.deb
7ca64b4b024fedb82bebee668a4bfded 371812 libdevel extra
libhdf4-alt-dev_4.2.10-2_amd64.deb
91476aadeec67cdf56033f19f1e75afc 2138 graphics optional libhdf4_4.2.10-2.dsc
b5870af2923795365ff5906d66dd13da 6507452 graphics optional
libhdf4_4.2.10-2.tar.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJUMa4oAAoJEFeKBJTRxkbRrk0P/j6kSRtnCVZxMEfdad1GeHYL
JGi1UMkm1GRcA2XnJ/LSqANErby6/4I1gbwLD02EC2nYdoa6pbfGQCx4LMtN2uKa
mfrC8WlQK8dGRsxAZm10Ij6+byxcHm3w04ktyLFHX/6HHpxS0Cb5KKWke4os+NJv
UKhNbLbsudjAK1OHN61HSid4trxSmrfi7rn9DVsjYOPt3WX3ZjJGSFTEgC4YvcyL
b4JnMvAoYcG0XOpwUCXzYCwMsKEI8Ot8x04wwFKKHWPvnqJG9EokxYz77ovtHMBm
l785HlAFnWJkBeesEyGH6OoDVZqwXJbYEdN7iQp2s7e+a7KnitMh4BR6cl2I2xvB
dVgmP8JmuChlj4weVD8iOLEQ5WZWfiEMeWVAuzArYVhxJRt3gXvQExOjheE01+Pb
bRv+T4HQUpLO9pUtrxUwZQrLtK29r3O+hBzCVBDsnSGmummUkDv1eu4HiqJV4D2M
0b4YuT84SG/7ERAmJKxSbJx4F2URuSCg8a7ADsvbleHwtgCUzp8GArJODEOF0Cp6
w0FEuoco5knaSHHYaEs1H/WjQ+9dECVaEoUUpJvgrxejzPJrBEpNK/lrQOdSqpta
/SF7DUAJNmc11KVzgnwtwHM7tN7quvJumKUarE1qWOXYmuBUhgMjIX9QyMPEoGrX
MUD0hfskvCa6cWGzm7Lz
=Iu7D
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel