Your message dated Thu, 15 Nov 2018 10:52:30 +0000
with message-id <e1gnfga-0009wp...@fasolo.debian.org>
and subject line Bug#913776: fixed in mozjs60 60.2.3-2
has caused the Debian Bug report #913776,
regarding mozjs60: FTBFS with icu63; upstream cherry-pick attached
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.)
--
913776: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913776
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mozjs60
Version: 60.2.3-1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following:
* icu_61_updates.patch: Cherrypick from upstream for icu >= 61.
This should be fairly self-explanatory. A clean cherry-pick from upstream
to fix tests on icu >= 61, unsticking the ICU transition currently underway.
... Adam
-- System Information:
Debian Release: buster/sid
APT prefers disco
APT policy: (500, 'disco')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-10-lowlatency (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru mozjs60-60.2.3/debian/patches/icu_61_updates.patch
mozjs60-60.2.3/debian/patches/icu_61_updates.patch
--- mozjs60-60.2.3/debian/patches/icu_61_updates.patch 1969-12-31
17:00:00.000000000 -0700
+++ mozjs60-60.2.3/debian/patches/icu_61_updates.patch 2018-11-14
12:48:17.000000000 -0700
@@ -0,0 +1,70 @@
+
+# HG changeset patch
+# User André Bargull <andre.barg...@gmail.com>
+# Date 1522161640 25200
+# Node ID 3214fb35ccd684ada1d5cd230563c80b7f795fe7
+# Parent b8ff6d9ecca3199c1b6721645c17c46f8a860cd3
+Bug 1445465 - Part 3: Update tests. r=Waldo
+
+diff --git a/js/src/tests/non262/Intl/NumberFormat/StringBuffer.js
b/js/src/tests/non262/Intl/NumberFormat/StringBuffer.js
+--- a/js/src/tests/non262/Intl/NumberFormat/StringBuffer.js
++++ b/js/src/tests/non262/Intl/NumberFormat/StringBuffer.js
+@@ -5,13 +5,33 @@
+
+ // The implementation of the format function uses the C++ StringBuffer class,
+ // which changes its storage model at 32 characters, and uses it in a way
which
+ // also means that there's no room for null-termination at this limit.
+ // This test makes sure that none of this affects the output.
+
+ var format = new Intl.NumberFormat("it-IT", {minimumFractionDigits: 1});
+
+-assertEq(format.format(1123123123123123123123.1),
"1.123.123.123.123.120.000.000,0");
+-assertEq(format.format(12123123123123123123123.1),
"12.123.123.123.123.100.000.000,0");
+-assertEq(format.format(123123123123123123123123.1),
"123.123.123.123.123.000.000.000,0");
++assertEq(format.format(1123123123123123123123.1),
"1.123.123.123.123.123.100.000,0");
++assertEq(format.format(12123123123123123123123.1),
"12.123.123.123.123.122.000.000,0");
++assertEq(format.format(123123123123123123123123.1),
"123.123.123.123.123.120.000.000,0");
++
++// Ensure the ICU output matches Number.prototype.toFixed.
++function formatToFixed(x) {
++ var mfd = format.resolvedOptions().maximumFractionDigits;
++ var s = x.toFixed(mfd);
++
++ // To keep it simple we assume |s| is always in exponential form.
++ var m = s.match(/^(\d)\.(\d+)e\+(\d+)$/);
++ assertEq(m !== null, true);
++ s = m[1] + m[2].padEnd(m[3], "0");
++
++ // Group digits and append fractional part.
++ m = s.match(/\d{1,3}(?=(?:\d{3})*$)/g);
++ assertEq(m !== null, true);
++ return m.join(".") + ",0";
++}
++
++assertEq(formatToFixed(1123123123123123123123.1),
"1.123.123.123.123.123.100.000,0");
++assertEq(formatToFixed(12123123123123123123123.1),
"12.123.123.123.123.122.000.000,0");
++assertEq(formatToFixed(123123123123123123123123.1),
"123.123.123.123.123.120.000.000,0");
+
+ reportCompare(0, 0, "ok");
+diff --git a/js/src/tests/non262/Intl/NumberFormat/formatToParts.js
b/js/src/tests/non262/Intl/NumberFormat/formatToParts.js
+--- a/js/src/tests/non262/Intl/NumberFormat/formatToParts.js
++++ b/js/src/tests/non262/Intl/NumberFormat/formatToParts.js
+@@ -210,17 +210,16 @@ var arPercentFormatter =
+
+ assertParts(arPercentFormatter, -135.32,
+ [MinusSign("\u{061C}-"),
+ Integer("١٣"),
+ Group("٬"),
+ Integer("٥٣٢"),
+ Decimal("٫"),
+ Fraction("٠٠"),
+- Literal("\xA0"),
+ PercentSign("٪\u{061C}")]);
+
+ // Decimals.
+
+ var usDecimalOptions =
+ {
+ style: "decimal",
+ maximumFractionDigits: 7 // minimum defaults to 0
+
diff -Nru mozjs60-60.2.3/debian/patches/series
mozjs60-60.2.3/debian/patches/series
--- mozjs60-60.2.3/debian/patches/series 2018-10-05 05:07:35.000000000
-0600
+++ mozjs60-60.2.3/debian/patches/series 2018-11-14 12:48:47.000000000
-0700
@@ -18,3 +18,4 @@
tests-Use-DEB_HOST_ARCH_BITS-to-skip-some-tests-on-64-bit.patch
Skip-some-i18n-tests-because-we-are-now-using-system-ICU.patch
tests-Expect-a-test-to-fail-on-big-endian.patch
+icu_61_updates.patch
--- End Message ---
--- Begin Message ---
Source: mozjs60
Source-Version: 60.2.3-2
We believe that the bug you reported is fixed in the latest version of
mozjs60, 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 913...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon McVittie <s...@debian.org> (supplier of updated mozjs60 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: SHA256
Format: 1.8
Date: Thu, 15 Nov 2018 08:10:24 +0000
Source: mozjs60
Binary: libmozjs-60-0 libmozjs-60-dev
Architecture: source
Version: 60.2.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers
<pkg-gnome-maintain...@lists.alioth.debian.org>
Changed-By: Simon McVittie <s...@debian.org>
Description:
libmozjs-60-0 - SpiderMonkey JavaScript library
libmozjs-60-dev - SpiderMonkey JavaScript library - development headers
Closes: 913776
Changes:
mozjs60 (60.2.3-2) unstable; urgency=medium
.
* Team upload
* d/p/Update-to-ICU-61-Part-3-Update-tests.patch:
Add patch from upstream bug 1445465 to make tests pass with system
ICU versions >= 61 (Closes: #913776)
- d/control: build-depend on icu 61
Checksums-Sha1:
99ca8726bf70fb846b438e50a27a1be689fbc7a6 2246 mozjs60_60.2.3-2.dsc
9c31d3e92bbe44bdf6b764011502bd504330d62d 27324 mozjs60_60.2.3-2.debian.tar.xz
f3a57becd67bf74decd7e1419ea4707aecbff920 6901 mozjs60_60.2.3-2_source.buildinfo
Checksums-Sha256:
58bf2f1b9d8162c7857f757002908f2fee015f98cb088b447f3f367530e1b1f9 2246
mozjs60_60.2.3-2.dsc
77f375211557dcb47e127dc31095dc7e2afbca5bee120ccd4fc009f91d7e75a8 27324
mozjs60_60.2.3-2.debian.tar.xz
a582c1b2efd19dce4d361d1f41a5edccbfce165d5546982e820955f9c5c2fce6 6901
mozjs60_60.2.3-2_source.buildinfo
Files:
a21ae7c76c53b1f54f9aef11abe778c8 2246 libs optional mozjs60_60.2.3-2.dsc
9acf29f4c00f5ccf88908d2432b86b9f 27324 libs optional
mozjs60_60.2.3-2.debian.tar.xz
6f9f1cafbef9540d1ffa6a6b5bb6be30 6901 libs optional
mozjs60_60.2.3-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAlvtSwwACgkQ4FrhR4+B
TE+nAA//XoC9XrsL9R92p1VhMspRK90pLinfCpLtb79cSbkuLrzo+KGL01AdW8fX
0443xiVx5OwNrLh8roYB31bqrTBKEfgtVaVBvB8jZSFHb5ChsDGlbqimqvadUZ0h
QBGQfDVzI9iLvmMUnMkS+RhG+GTZTz2o90Rgs7FXEwNrF4VCRQ91mJ7fYK/bXmOE
lA0UQsV4BknFrX30YHCairxzgGAKbc5sZaZ0r4Kbni1bfSZ98+aGA5lTBQaGeqLj
2rPdhDk/2k0ngWzfsMkPF+3+5e7GQoQVz1jE2Qvpi6ppgmNsT+LgLdNeSjuk8R6a
+sAY5U7HSw4LLeyDVXkQXbeID4byjVSOmtYV6MR37wZCnz1UmX/omqDt/uEBtap6
ZiZpWBqyirwjP4HHZ8idpwgW2i1SITFiO9H9S5KI8PyjsW6+OYdSGV9YbRwzZIdk
P79yXdR3/ZpfFgaSfLgl7eC1Yg9GYe3fQ1FOK7FSNuTX50tRXEmcMvhxR/pQDMlH
vE0RSUo+GvljhLtD4YctOBsyvs1yZoXXUIhvkN1GpEWA5YF+3BMgDvgu89E2NtTC
sTiH6c5nPGe+qxaeIetrph6HABn7IZHdGRqoc8sAkl35xFVHXyYUALsasswWvJqE
jNxt3VnyChmkx9a5BfV9iCQrJ6ybXn3nbJtcchlEQMu2hKTvJ7A=
=S3Qd
-----END PGP SIGNATURE-----
--- End Message ---