[Debian-med-packaging] Bug#1107386: unblock: tao-json/1.0.0~beta14+really0.0+git20200604.f357d72-1
Étienne Mollier
emollier at debian.org
Fri Jun 6 18:44:07 BST 2025
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: tao-json at packages.debian.org
Control: affects -1 + src:tao-json
User: release.debian.org at packages.debian.org
Usertags: unblock
Dear Release Team,
Please unblock package tao-json
[ Reason ]
tao-json is affected by release critical bug #1103123 about
tests failures at build time on i386.
[ Impact ]
tao-json is a build dependency of tao-config and xenium.
A removal would cascade to at least these two packages.
[ Tests ]
Since I am not an end user of tao-json, I only could verify the
usual: I ensured tests passed at build time, that piuparts was
happy, that the reverse dependencies tao-config and xenium also
built, and that this was the case in amd64 as well as i386.
Unfortunately, none of the packages benefit from autopkgtest to
ascertain everything is alright.
[ Risks ]
The change is targeted to fix 32-bit test failures to address
#1103123. Compared to 0.0+git20200604.f357d72-2, nothing else
has changed. tao-json is not a leaf package, tao-config and
xenium build-depend on it.
[ Checklist ]
[*] all changes are documented in the d/changelog
[*] I reviewed all changes and I approve them
[*] attach debdiff against the package in testing
[ Other info ]
I initially uploaded a newer upstream release of tao-json by
accident last month to fix #1103123. This triggered build
failures in tao-config and xenium, resulting in bugs #1104656
and #1104658 in sid. Every change has been undone and the newer
upstream version rolled back in order to restore the consistency
of tao-json, tao-config and xenium.
unblock tao-json/1.0.0~beta14+really0.0+git20200604.f357d72-1
Have a nice day, :)
--
.''`. Étienne Mollier <emollier at debian.org>
: :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
`. `' sent from /dev/pts/1, please excuse my verbosity
`- on air: No Name / The No Name Experience - The Curse
-------------- next part --------------
diff -Nru tao-json-0.0+git20200604.f357d72/debian/changelog tao-json-1.0.0~beta14+really0.0+git20200604.f357d72/debian/changelog
--- tao-json-0.0+git20200604.f357d72/debian/changelog 2020-07-20 22:01:20.000000000 +0200
+++ tao-json-1.0.0~beta14+really0.0+git20200604.f357d72/debian/changelog 2025-06-05 20:45:15.000000000 +0200
@@ -1,3 +1,36 @@
+tao-json (1.0.0~beta14+really0.0+git20200604.f357d72-1) unstable; urgency=medium
+
+ * Team upload.
+ * Undo all the changes introduced in 1.0.0~beta14-1 to repair
+ regressions affecting tao-config and xenium, in compliance with the
+ ongoing freeze policy for the upcoming trixie release. The only
+ change which is preserved is fuzzy-match.patch which addresses the
+ release critical bug #1103123. (Closes: #1104656, #1104658)
+
+ -- Étienne Mollier <emollier at debian.org> Thu, 05 Jun 2025 20:45:15 +0200
+
+tao-json (1.0.0~beta14-1) unstable; urgency=medium
+
+ * Team upload.
+
+ [ zhangdandan ]
+ * Add support for loongarch64
+ Closes: #1076129
+
+ [ Andreas Tille ]
+ * New upstream version
+ * Point watch files to github tags
+
+ [ Étienne Mollier ]
+ * fuzzy-match.patch: new: fix build failure on i386. (Closes: #1103123)
+ * d/control: build depends on tao-pegtl-dev.
+ * d/rules: set CPATH to fetch ./include.
+ * d/control: declare compliance to standards version 4.7.2.
+ * d/copyright: remove superfluous entries.
+ * d/u/metadata: document upstream repository.
+
+ -- Étienne Mollier <emollier at debian.org> Thu, 01 May 2025 18:26:32 +0200
+
tao-json (0.0+git20200604.f357d72-2) unstable; urgency=medium
* Team upload.
diff -Nru tao-json-0.0+git20200604.f357d72/debian/patches/fuzzy-match.patch tao-json-1.0.0~beta14+really0.0+git20200604.f357d72/debian/patches/fuzzy-match.patch
--- tao-json-0.0+git20200604.f357d72/debian/patches/fuzzy-match.patch 1970-01-01 01:00:00.000000000 +0100
+++ tao-json-1.0.0~beta14+really0.0+git20200604.f357d72/debian/patches/fuzzy-match.patch 2025-06-05 20:45:15.000000000 +0200
@@ -0,0 +1,86 @@
+Description: relax equality expectations on floating point values.
+ This is needed to fix build failures on 32-bit systems, notably i386.
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103123
+Forwarded: not-needed
+Last-Update: 2025-05-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- tao-json.orig/src/test/json/jaxn_parts_parser.cpp
++++ tao-json/src/test/json/jaxn_parts_parser.cpp
+@@ -88,17 +88,20 @@
+ }
+ {
+ jaxn::parts_parser p( "100.45", __FUNCTION__ );
+- TEST_ASSERT( p.number_double() == 100.45 );
++ auto a = p.number_double();
++ TEST_ASSERT( 100.449 <= a && a <= 100.451 );
+ TEST_ASSERT( p.empty() );
+ }
+ {
+ jaxn::parts_parser p( "+100.45", __FUNCTION__ );
+- TEST_ASSERT( p.number_double() == 100.45 );
++ auto a = p.number_double();
++ TEST_ASSERT( 100.449 <= a && a <= 100.451 );
+ TEST_ASSERT( p.empty() );
+ }
+ {
+ jaxn::parts_parser p( "-100.45", __FUNCTION__ );
+- TEST_ASSERT( p.number_double() == -100.45 );
++ auto a = p.number_double();
++ TEST_ASSERT( -100.451 <= a && a <= -100.449 );
+ TEST_ASSERT( p.empty() );
+ }
+ {
+@@ -154,7 +157,8 @@
+ TEST_ASSERT( p.boolean() == true );
+ TEST_ASSERT( p.null() == false );
+ p.element( a );
+- TEST_ASSERT( p.number_double() == -42.7 );
++ auto b = p.number_double();
++ TEST_ASSERT( -42.701 <= b && b <= -42.699 );
+ TEST_ASSERT( p.null() == false );
+ p.element( a );
+ TEST_ASSERT( p.null() == false );
+--- tao-json.orig/src/test/json/json_parts_parser.cpp
++++ tao-json/src/test/json/json_parts_parser.cpp
+@@ -64,7 +64,8 @@
+ TEST_ASSERT( p.boolean() == true );
+ TEST_ASSERT( p.null() == false );
+ p.element( a );
+- TEST_ASSERT( p.number_double() == -42.7 );
++ auto b = p.number_double();
++ TEST_ASSERT( -42.701 <= b && b <= -42.699 );
+ TEST_ASSERT( p.null() == false );
+ p.element( a );
+ TEST_ASSERT( p.null() == false );
+--- tao-json.orig/src/test/json/binding_object.cpp
++++ tao-json/src/test/json/binding_object.cpp
+@@ -48,7 +48,7 @@
+ TEST_ASSERT( a.i == 42 );
+ TEST_ASSERT( a.s == "foo" );
+ TEST_ASSERT( a.b && ( *a.b == true ) );
+- TEST_ASSERT( a.d && ( *a.d == 43.1 ) );
++ TEST_ASSERT( a.d && ( *a.d >= 43.09 ) && ( *a.d <= 43.11 ) );
+ TEST_ASSERT( a.z.first == 5 );
+ TEST_ASSERT( a.z.second == 6 );
+ TEST_ASSERT( a == v );
+@@ -62,7 +62,7 @@
+ TEST_ASSERT( b.i == 42 );
+ TEST_ASSERT( b.s == "foo" );
+ TEST_ASSERT( b.b && ( *a.b == true ) );
+- TEST_ASSERT( b.d && ( *a.d == 43.1 ) );
++ TEST_ASSERT( b.d && ( *b.d >= 43.09 ) && ( *b.d <= 43.11 ) );
+ TEST_ASSERT( b.z.first == 5 );
+ TEST_ASSERT( b.z.second == 6 );
+ auto w = v;
+@@ -135,7 +135,8 @@
+ TEST_ASSERT( v.at( "b" ).is_boolean() );
+ TEST_ASSERT( v.as< bool >( "b" ) == false );
+ TEST_ASSERT( v.at( "d" ).is_double() );
+- TEST_ASSERT( v.as< double >( "d" ) == 44.2 );
++ TEST_ASSERT( v.as< double >( "d" ) >= 44.19 );
++ TEST_ASSERT( v.as< double >( "d" ) <= 44.21 );
+ TEST_ASSERT( v.at( "z" ).is_array() );
+ TEST_ASSERT( v.at( "z" ).get_array().size() == 2 );
+ TEST_ASSERT( v.at( "z" ).get_array()[ 0 ].as< int >() == 8 );
diff -Nru tao-json-0.0+git20200604.f357d72/debian/patches/series tao-json-1.0.0~beta14+really0.0+git20200604.f357d72/debian/patches/series
--- tao-json-0.0+git20200604.f357d72/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ tao-json-1.0.0~beta14+really0.0+git20200604.f357d72/debian/patches/series 2025-06-05 20:45:15.000000000 +0200
@@ -0,0 +1 @@
+fuzzy-match.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20250606/6930ea8c/attachment.sig>
More information about the Debian-med-packaging
mailing list