Your message dated Tue, 05 Jan 2021 12:04:46 +0000
with message-id <e1kwl4w-000a97...@fasolo.debian.org>
and subject line Bug#979314: fixed in libccp4 6.5.1-5
has caused the Debian Bug report #979314,
regarding libccp4: The endianness check in ccp4_sysdep.h is incorrect assuming 
powerpc is always big endian
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.)


-- 
979314: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979314
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libccp4
Version: 6.5.1-4
Severity: grave
Tags: patch upstream
Justification: renders package unusable
X-Debbugs-Cc: maar...@hekkelman.com




-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 5.4.0-58-generic (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect


The file ccp4_sysdep.h checks for the endianness in an incorrect way,
the check assumes powerpc is always big endian. By moving the catch-all
test up the test is more robust.

regards, -maarten
--- a/ccp4/ccp4_sysdep.h
+++ b/ccp4/ccp4_sysdep.h
@@ -177,6 +177,26 @@
 #define DFNTF_CONVEXNATIVE 5    /**< Convex native floats */
 #define DFNTF_LEIEEE    4       /**< little-endian IEEE format */

+/* From time to time new architectures are added here, often because Linux
+ * packagers want to build it on all platforms supported by their distro.
+ * Here we try to catch machines not listed explicitely above, under
+ * assumption that endianness is the same for floating point numbers
+ * as for integers. Which is safe assumption on modern standard computers
+ * (not embedded systems), according to
+ * http://en.wikipedia.org/wiki/Endianness#Floating-point_and_endianness
+ */
+#if defined(__BYTE_ORDER)
+# if __BYTE_ORDER == __LITTLE_ENDIAN
+#  define NATIVEIT DFNTI_IBO
+#  define NATIVEFT DFNTF_LEIEEE
+# elif __BYTE_ORDER == __BIG_ENDIAN
+#  define NATIVEIT DFNTI_MBO
+#  define NATIVEFT DFNTF_BEIEEE
+# endif
+#endif
+
+#if !defined(NATIVEIT) && !defined(NATIVEFT)
+
 #if defined (VAX) || defined (vax) /* gcc seems to use vax */
 #  define NATIVEFT DFNTF_VAX
 #  define NATIVEIT DFNTI_IBO
@@ -222,22 +242,6 @@
 # endif
 #endif

-/* From time to time new architectures are added here, often because Linux
- * packagers want to build it on all platforms supported by their distro.
- * Here we try to catch machines not listed explicitely above, under
- * assumption that endianness is the same for floating point numbers
- * as for integers. Which is safe assumption on modern standard computers
- * (not embedded systems), according to
- * http://en.wikipedia.org/wiki/Endianness#Floating-point_and_endianness
- */
-#if !defined(NATIVEIT) && !defined(NATIVEFT) && defined(__BYTE_ORDER)
-# if __BYTE_ORDER == __LITTLE_ENDIAN
-#  define NATIVEIT DFNTI_IBO
-#  define NATIVEFT DFNTF_LEIEEE
-# elif __BYTE_ORDER == __BIG_ENDIAN
-#  define NATIVEIT DFNTI_MBO
-#  define NATIVEFT DFNTF_BEIEEE
-# endif
 #endif

 #ifndef NATIVEFT

--- End Message ---
--- Begin Message ---
Source: libccp4
Source-Version: 6.5.1-5
Done: Andrius Merkys <mer...@debian.org>

We believe that the bug you reported is fixed in the latest version of
libccp4, 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 979...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrius Merkys <mer...@debian.org> (supplier of updated libccp4 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: Tue, 05 Jan 2021 06:35:49 -0500
Source: libccp4
Architecture: source
Version: 6.5.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Andrius Merkys <mer...@debian.org>
Closes: 979314
Changes:
 libccp4 (6.5.1-5) unstable; urgency=medium
 .
   * Adding a patch to fix endianness checks (Closes: #979314).
     Thanks Maarten L. Hekkelman.
Checksums-Sha1:
 836e3ce497200922286ae8da75c48a694c92affd 2176 libccp4_6.5.1-5.dsc
 24c669a4cfcf6622276f6d2decfeef438e98d089 5348 libccp4_6.5.1-5.debian.tar.xz
 d33b629821d841458e91238b1d02cedfd022216f 6281 libccp4_6.5.1-5_source.buildinfo
Checksums-Sha256:
 69e15c07a9d8c29985147eab4af83b6e4c40ece52718f7a0c0ecdf44d1c84fac 2176 
libccp4_6.5.1-5.dsc
 ef4087a633e24e7ee74121b2923d45c5265b73e38f4823869736160092352b3a 5348 
libccp4_6.5.1-5.debian.tar.xz
 49db9e7fc70085df3e374e399efe1ce29402d186ded44066c0162321cad7e681 6281 
libccp4_6.5.1-5_source.buildinfo
Files:
 65b4e691267aa72344929a51bf5f279b 2176 science optional libccp4_6.5.1-5.dsc
 6ace13fd8aedecc598b1c41d196404a9 5348 science optional 
libccp4_6.5.1-5.debian.tar.xz
 0717ad6c284cb2ccdc85462e4865ef8f 6281 science optional 
libccp4_6.5.1-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEdyKS9veshfrgQdQe5fQ/nCc08ocFAl/0T0QSHG1lcmt5c0Bk
ZWJpYW4ub3JnAAoJEOX0P5wnNPKHJCAP/24JPfTJgHuAxToLGNk0Fd2y9EvQS+rk
dEvk4XzFfzqFvLvS+RdZLVC0MuNKTEgO69mtAzc6KALaY4Ebc5rPUJ0YcvR4HOYA
Rr0fVhYVcXHQlo4wBtmbWrganryjhXpClyvssSv30i/mZR+VZXXu/UqDqx5LskVv
6sV9pTzUxhU0mFfkhTAjeiYJZrYDoHwfyruCTRlNgRuO2HO9mIKw/uP4dB/8InrR
RCah91y1wB278+8j7SVCorKyotnNzwtFS5Gq0etaWxMCMY+pjcD7yLeTXHZZgYXp
2sdLPzhh8oUxCS8VOfP6Ib3E2mANAmk+sBNG+mAhRHL/nKORyVLSCeRTiSBeq9oO
D4xj4PHkelhXJm99iW7a+rzKqxUj6hhF5kVgrkDjpqwPeUGc1YByB6HVT8YPK8u0
bSJ2qbgpOICOWX5PndM2DndBgc39HEFIWu9wGvKB5bJy6aJsaDVRBok0DiBU2J5k
UY6EWydnFNZF1j8oc5QzF2VOaJHBbs7E+pqZJJs1npF65csKzrqPyHU51O7MW4ZY
6mbZ7kHNvnlA0le5I8b2R/Rcz5vJcsG6gJgf+obhK7n5T4x5VoNiZQNuk0WuCmz/
Bxzw0XTGKlvSZS+SxYdvf2t69PLDMXgbAmu9GOfw8lxDOOIAyEORznY3uq5nB0Iv
auanYkUej3If
=BM+c
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to