Your message dated Tue, 26 Jan 2021 14:48:39 +0000
with message-id <[email protected]>
and subject line Bug#978461: fixed in libbde 20190102-2
has caused the Debian Bug report #978461,
regarding libbde: memory tests fundamentally broken, please disable them on
riscv64
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 [email protected]
immediately.)
--
978461: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978461
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libbde
Version: 20190102-1.1
Severity: normal
Tags: ftbfs patch upstream
User: [email protected]
Usertags: riscv64
Hi,
libbde fails to build on riscv64:
https://buildd.debian.org/status/fetch.php?pkg=libbde&arch=riscv64&ver=20190102-1.1&stamp=1595831915&raw=0
This is due to fundamentally broken tests assuming that memcpy and
memset can fail returning NULL, and interposing these libc functions in
the tests with functions that sometimes return NULL. This tests should
be simply removed as they do not make sense. See bug #978433 for more
details as the same code is basically replicated in dozen of packages.
A simpler way to fix the issue for riscv64 is to disable all memory
tests on this architecture, as it is already done for a long list of
cases. This is what the patch below does:
--- libbde-20190102/debian/patches/01-disable-memory-tests-on-riscv64.patch
1970-01-01 01:00:00.000000000 +0100
+++ libbde-20190102/debian/patches/01-disable-memory-tests-on-riscv64.patch
2020-12-27 13:58:56.000000000 +0100
@@ -0,0 +1,11 @@
+--- libbde-20190102.orig/tests/bde_test_memory.h
++++ libbde-20190102/tests/bde_test_memory.h
+@@ -28,7 +28,7 @@
+ extern "C" {
+ #endif
+
+-#if defined( HAVE_GNU_DL_DLSYM ) && defined( __GNUC__ ) && !defined(
LIBBDE_DLL_IMPORT ) && !defined( __arm__ ) && !defined( __clang__ ) &&
!defined( __CYGWIN__ ) && !defined( __hppa__ ) && !defined( __mips__ ) &&
!defined( __sparc__ ) && !defined( HAVE_ASAN )
++#if defined( HAVE_GNU_DL_DLSYM ) && defined( __GNUC__ ) && !defined(
LIBBDE_DLL_IMPORT ) && !defined( __arm__ ) && !defined( __clang__ ) &&
!defined( __CYGWIN__ ) && !defined( __hppa__ ) && !defined( __mips__ ) &&
!defined( __sparc__ ) && !defined( __riscv ) && !defined( HAVE_ASAN )
+ #define HAVE_BDE_TEST_MEMORY 1
+ #endif
+
--- libbde-20190102/debian/patches/series 1970-01-01 01:00:00.000000000
+0100
+++ libbde-20190102/debian/patches/series 2020-12-27 13:58:56.000000000
+0100
@@ -0,0 +1 @@
+01-disable-memory-tests-on-riscv64.patch
Regards,
Aurelien
--- End Message ---
--- Begin Message ---
Source: libbde
Source-Version: 20190102-2
Done: Sebastien Delafond <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libbde, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sebastien Delafond <[email protected]> (supplier of updated libbde 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 26 Jan 2021 15:28:52 +0100
Source: libbde
Architecture: source
Version: 20190102-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <[email protected]>
Changed-By: Sebastien Delafond <[email protected]>
Closes: 978461
Changes:
libbde (20190102-2) unstable; urgency=medium
.
[ Samuel Henrique ]
* Configure git-buildpackage for Debian
.
[ Debian Janitor ]
* Use secure copyright file specification URI.
* Set upstream metadata fields: Bug-Database, Bug-Submit.
* Update standards version to 4.5.0, no changes needed.
* Remove Section on libbde1 that duplicates source.
* Apply multi-arch hints. + python3-libbde: Add Multi-Arch: same.
* Update watch file format version to 4.
* Use cross-build compatible macro for finding pkg-config.
.
[ Raphaël Hertzog ]
* Configure autodep8 test to use pybde as module name
.
[ Sébastien Delafond ]
* Disable memory tests on riscv-64 (Closes: #978461)
Checksums-Sha1:
0f3d68199006a6e74367d793f4dccb5d42302904 1804 libbde_20190102-2.dsc
67cd1f037283743352ce550b24dc00a910e44dd4 5088 libbde_20190102-2.debian.tar.xz
e7c4427e2d0f03540b5707f57e56ea376e6045e3 8419 libbde_20190102-2_amd64.buildinfo
Checksums-Sha256:
c630e239726ecba455b9c16b441bac01583144323054520d2e5864bec40007c0 1804
libbde_20190102-2.dsc
6ea1c88cca5d614c68a4cb1e1c42ea5738a44436954a9daa8455dfc22d155229 5088
libbde_20190102-2.debian.tar.xz
50412ced24342cc4aa61c8c2f9aaf98d1091b6f2e21ba4b3ac197ed3f4864012 8419
libbde_20190102-2_amd64.buildinfo
Files:
16b79113f095cbf020a99876d2ac1b17 1804 libs optional libbde_20190102-2.dsc
699a3dec65f98905eb632bfc14b3fe2e 5088 libs optional
libbde_20190102-2.debian.tar.xz
67e7d506777045a5f7bc64d977e6c216 8419 libs optional
libbde_20190102-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEEAqSkbVtrXP4xJMh3EL6Jg/PVnWQFAmAQJ/0ACgkQEL6Jg/PV
nWQlMwf+PtcBZXGkZ/9AaGvZUxu0yFDLIFN1+3Lvf/+y90uVsa89L6Onje0gEInn
YHEaOZrarlWY+q+v1kc0kYmj65sthwGy4DT/8Njl9g3TazHPmkUJ+vVn3Im4EGeC
VJkcT+4Nd7tcHd+tnwSEXzjJ6CLiv5HRgWh05rGoH7Ub0NehktrJEoIhJ++sVvtN
UeSMuRuJ4/Vb+6yZd4Q1e271HPjhwTQULb3pQANgUHWbAam4fFdFk8ISwvAH7WYO
ZaJoPD1lZ8v8kAba/vfXwulJcGZvYzpGRT5CkOuIyqumL0vzaRNzK/AmDbybYquf
ZE3EN6hD0RxLxvFEvrDH/0QHLiWvig==
=ZcBq
-----END PGP SIGNATURE-----
--- End Message ---