Merge ~bryce/ubuntu/+source/node-nan:merge-v2.17.0-1-lunar into ubuntu/+source/node-nan:debian/sid

Proposed by Bryce Harrington
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merge reported by: git-ubuntu bot
Merged at revision: 961aa82db3ed0fb4333a2dff70e49a78acfd9b81
Proposed branch: ~bryce/ubuntu/+source/node-nan:merge-v2.17.0-1-lunar
Merge into: ubuntu/+source/node-nan:debian/sid
Diff against target: 110 lines (+64/-1)
4 files modified
debian/changelog (+26/-0)
debian/control (+2/-1)
debian/patches/disable-test-for-s390x.patch (+35/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Sergio Durigan Junior (community) Approve
Canonical Server Pending
Canonical Server Core Reviewers Pending
Canonical Server Reporter Pending
Review via email: mp+435771@code.launchpad.net

Description of the change

Merge with Debian's package. The only delta is disabling a couple testcases for s390x. The delta for those is forwarded upstream but no response yet.

PPA: https://launchpad.net/~bryce/+archive/ubuntu/node-nan-merge-v2.17.0-1

Autopkgtests (Local):

    autopkgtest [21:09:25]: test pkg-js-autopkgtest: - - - - - - - - - - results - - - - - - - - - -
    pkg-js-autopkgtest PASS
    autopkgtest [21:09:25]: @@@@@@@@@@@@@@@@@@@@ summary
    command1 PASS
    pkg-js-autopkgtest-require PASS (superficial)
    pkg-js-autopkgtest PASS

Autopkgtests (PPA - from http://autopkgtest.ubuntu.com/results/autopkgtest-lunar-bryce-node-nan-merge-v2.17.0-1/?format=plain)
  node-nan @ armhf:
    13.01.23 21:59:41 Log 🗒️ ✅ Triggers: node-nan/2.17.0-1ubuntu1~lunar1
      command1 PASS 🟩
      pkg-js-autopkgtest-require PASS 🟩
      pkg-js-autopkgtest PASS 🟩
Running:
    time pkg release arch ppa trigger
    1112 node-nan lunar ppc64el bryce/node-nan-merge-v2.17.0-1 node-nan/2.17.0-1ubuntu1~lunar1
    1112 node-nan lunar s390x bryce/node-nan-merge-v2.17.0-1 node-nan/2.17.0-1ubuntu1~lunar1
    1122 node-nan lunar arm64 bryce/node-nan-merge-v2.17.0-1 node-nan/2.17.0-1ubuntu1~lunar1
    40 node-nan lunar amd64 bryce/node-nan-merge-v2.17.0-1 node-nan/2.17.0-1ubuntu1~lunar1

I don't expect any of the remaining arches to fail, though s390x is the main one to be concerned with since I think upstream does not test on that arch.

Usual tags pushed for review:
  - tags/old/debian 333f6e2
  - tags/new/debian 58af960
  - tags/old/ubuntu dbb7c30
  - tags/logical/2.16.0-1ubuntu1 75ad599
  - tags/reconstruct/2.16.0-1ubuntu1 2c71de6
  - tags/split/2.16.0-1ubuntu1 ff5e8e5

To post a comment you must log in.
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks, Bryce.

Package build & tested fine (including the s390x test). Did you try verifying whether the delta is still necessary? It doesn't look like upstream addressed the underlying issue (and as you said, they don't seem to care about s390x), but I think it's worth a try anyway.

Otherwise, changes LGTM. +1

review: Approve
Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: bryce, sergiodj
Uploaders: bryce, sergiodj
MP auto-approved

review: Approve
Revision history for this message
Bryce Harrington (bryce) wrote :

Yeah I don't think it's fixed yet. Next merge I'll re-test and spend some additional time poking upstream. Thanks for the review.

Revision history for this message
Bryce Harrington (bryce) wrote :

Uploaded:

Vcs-Git: https://git.launchpad.net/~bryce/ubuntu/+source/node-nan
Vcs-Git-Commit: 961aa82db3ed0fb4333a2dff70e49a78acfd9b81
Vcs-Git-Ref: refs/heads/merge-v2.17.0-1-lunar
$ dput ubuntu ../node-nan_2.17.0-1ubuntu1_source.changes
gpg: ../node-nan_2.17.0-1ubuntu1_source.changes: Valid signature from E603B2578FB8F0FB
gpg: ../node-nan_2.17.0-1ubuntu1.dsc: Valid signature from E603B2578FB8F0FB
D: Setting host argument.
Checking signature on .changes
Checking signature on .dsc
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading node-nan_2.17.0-1ubuntu1.dsc: done.
  Uploading node-nan_2.17.0.orig.tar.gz: done.
  Uploading node-nan_2.17.0-1ubuntu1.debian.tar.xz: done.
  Uploading node-nan_2.17.0-1ubuntu1_source.buildinfo: done.
  Uploading node-nan_2.17.0-1ubuntu1_source.changes: done.
Successfully uploaded packages.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index a78057d..e331217 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,12 @@
6+node-nan (2.17.0-1ubuntu1) lunar; urgency=medium
7+
8+ * Merge with Debian unstable (LP: #2002854). Remaining changes:
9+ - d/p/disable-test-for-s390x.patch: Disable part of strings-test
10+ + This test case breaks on s390x, presumably due to endian issue
11+ (LP #1967589)
12+
13+ -- Bryce Harrington <bryce@canonical.com> Fri, 13 Jan 2023 12:53:01 -0800
14+
15 node-nan (2.17.0-1) unstable; urgency=medium
16
17 * Team upload
18@@ -7,6 +16,15 @@ node-nan (2.17.0-1) unstable; urgency=medium
19
20 -- Yadd <yadd@debian.org> Tue, 22 Nov 2022 13:34:37 +0100
21
22+node-nan (2.16.0-1ubuntu1) kinetic; urgency=medium
23+
24+ * Merge with Debian unstable (LP: #1987440). Remaining changes:
25+ - d/p/disable-test-for-s390x.patch: Disable part of strings-test
26+ + This test case breaks on s390x, presumably due to endian issue
27+ (LP #1967589)
28+
29+ -- Bryce Harrington <bryce@canonical.com> Tue, 23 Aug 2022 14:09:37 -0700
30+
31 node-nan (2.16.0-1) unstable; urgency=medium
32
33 [ Debian Janitor ]
34@@ -18,6 +36,14 @@ node-nan (2.16.0-1) unstable; urgency=medium
35
36 -- Jérémy Lal <kapouer@melix.org> Tue, 28 Jun 2022 14:00:12 +0200
37
38+node-nan (2.15.0-1ubuntu1) jammy; urgency=medium
39+
40+ * d/p/disable-test-for-s390x.patch: Disable part of strings-test
41+ - This test case breaks on s390x, presumably due to endian issue
42+ (LP: #1967589)
43+
44+ -- Bryce Harrington <bryce@canonical.com> Sat, 02 Apr 2022 02:16:42 +0000
45+
46 node-nan (2.15.0-1) unstable; urgency=medium
47
48 * Team upload
49diff --git a/debian/control b/debian/control
50index 8a80995..b22872b 100644
51--- a/debian/control
52+++ b/debian/control
53@@ -1,7 +1,8 @@
54 Source: node-nan
55 Section: javascript
56 Priority: optional
57-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
58+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
59+XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
60 Uploaders: Jérémy Lal <kapouer@melix.org>
61 Build-Depends: debhelper-compat (= 13)
62 , dh-sequence-nodejs
63diff --git a/debian/patches/disable-test-for-s390x.patch b/debian/patches/disable-test-for-s390x.patch
64new file mode 100644
65index 0000000..38e862d
66--- /dev/null
67+++ b/debian/patches/disable-test-for-s390x.patch
68@@ -0,0 +1,35 @@
69+Description: Disable test that fails on s390x, probably due to an endian issue.
70+Author: Bryce Harrington <bryce@canonical.com>
71+Origin: vendor
72+Forwarded: not-needed
73+Bug: https://github.com/nodejs/nan/issues/935
74+Bug-Ubuntu: https://bugs.launchpad.net/node-nan/+bug/1967589
75+
76+--- a/test/js/strings-test.js
77++++ b/test/js/strings-test.js
78+@@ -12,7 +12,7 @@
79+
80+
81+ test('FromV8String', function (t) {
82+- t.plan(6);
83++ t.plan(4);
84+
85+ var a = bindings.returnUtf8String;
86+ var b = bindings.heapString;
87+@@ -22,16 +22,4 @@
88+
89+ t.equal(a('an utf8 strïng'), 'an utf8 strïng');
90+ t.equal(b('an utf8 strïng'), 'an utf8 strïng');
91+-
92+- var buf;
93+-
94+- /* we check Buffer.alloc rather than Buffer.from because
95+- * we don't want the base class Uint8Array.from */
96+- if (typeof(Buffer.alloc) === "function") {
97+- buf = Buffer.from('hello');
98+- } else {
99+- buf = new Buffer('hello');
100+- }
101+- t.equal(bindings.encodeHex(), buf.toString('hex'));
102+- t.equal(bindings.encodeUCS2(), 'hello');
103+ });
104diff --git a/debian/patches/series b/debian/patches/series
105index 559536f..e1d78e5 100644
106--- a/debian/patches/series
107+++ b/debian/patches/series
108@@ -1 +1,2 @@
109 fix_returnvalue_test.patch
110+disable-test-for-s390x.patch

Subscribers

People subscribed via source and target branches