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
diff --git a/debian/changelog b/debian/changelog
index a78057d..e331217 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
1node-nan (2.17.0-1ubuntu1) lunar; urgency=medium
2
3 * Merge with Debian unstable (LP: #2002854). Remaining changes:
4 - d/p/disable-test-for-s390x.patch: Disable part of strings-test
5 + This test case breaks on s390x, presumably due to endian issue
6 (LP #1967589)
7
8 -- Bryce Harrington <bryce@canonical.com> Fri, 13 Jan 2023 12:53:01 -0800
9
1node-nan (2.17.0-1) unstable; urgency=medium10node-nan (2.17.0-1) unstable; urgency=medium
211
3 * Team upload12 * Team upload
@@ -7,6 +16,15 @@ node-nan (2.17.0-1) unstable; urgency=medium
716
8 -- Yadd <yadd@debian.org> Tue, 22 Nov 2022 13:34:37 +010017 -- Yadd <yadd@debian.org> Tue, 22 Nov 2022 13:34:37 +0100
918
19node-nan (2.16.0-1ubuntu1) kinetic; urgency=medium
20
21 * Merge with Debian unstable (LP: #1987440). Remaining changes:
22 - d/p/disable-test-for-s390x.patch: Disable part of strings-test
23 + This test case breaks on s390x, presumably due to endian issue
24 (LP #1967589)
25
26 -- Bryce Harrington <bryce@canonical.com> Tue, 23 Aug 2022 14:09:37 -0700
27
10node-nan (2.16.0-1) unstable; urgency=medium28node-nan (2.16.0-1) unstable; urgency=medium
1129
12 [ Debian Janitor ]30 [ Debian Janitor ]
@@ -18,6 +36,14 @@ node-nan (2.16.0-1) unstable; urgency=medium
1836
19 -- Jérémy Lal <kapouer@melix.org> Tue, 28 Jun 2022 14:00:12 +020037 -- Jérémy Lal <kapouer@melix.org> Tue, 28 Jun 2022 14:00:12 +0200
2038
39node-nan (2.15.0-1ubuntu1) jammy; urgency=medium
40
41 * d/p/disable-test-for-s390x.patch: Disable part of strings-test
42 - This test case breaks on s390x, presumably due to endian issue
43 (LP: #1967589)
44
45 -- Bryce Harrington <bryce@canonical.com> Sat, 02 Apr 2022 02:16:42 +0000
46
21node-nan (2.15.0-1) unstable; urgency=medium47node-nan (2.15.0-1) unstable; urgency=medium
2248
23 * Team upload49 * Team upload
diff --git a/debian/control b/debian/control
index 8a80995..b22872b 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
1Source: node-nan1Source: node-nan
2Section: javascript2Section: javascript
3Priority: optional3Priority: optional
4Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
5Uploaders: Jérémy Lal <kapouer@melix.org>6Uploaders: Jérémy Lal <kapouer@melix.org>
6Build-Depends: debhelper-compat (= 13)7Build-Depends: debhelper-compat (= 13)
7 , dh-sequence-nodejs8 , dh-sequence-nodejs
diff --git a/debian/patches/disable-test-for-s390x.patch b/debian/patches/disable-test-for-s390x.patch
8new file mode 1006449new file mode 100644
index 0000000..38e862d
--- /dev/null
+++ b/debian/patches/disable-test-for-s390x.patch
@@ -0,0 +1,35 @@
1Description: Disable test that fails on s390x, probably due to an endian issue.
2Author: Bryce Harrington <bryce@canonical.com>
3Origin: vendor
4Forwarded: not-needed
5Bug: https://github.com/nodejs/nan/issues/935
6Bug-Ubuntu: https://bugs.launchpad.net/node-nan/+bug/1967589
7
8--- a/test/js/strings-test.js
9+++ b/test/js/strings-test.js
10@@ -12,7 +12,7 @@
11
12
13 test('FromV8String', function (t) {
14- t.plan(6);
15+ t.plan(4);
16
17 var a = bindings.returnUtf8String;
18 var b = bindings.heapString;
19@@ -22,16 +22,4 @@
20
21 t.equal(a('an utf8 strïng'), 'an utf8 strïng');
22 t.equal(b('an utf8 strïng'), 'an utf8 strïng');
23-
24- var buf;
25-
26- /* we check Buffer.alloc rather than Buffer.from because
27- * we don't want the base class Uint8Array.from */
28- if (typeof(Buffer.alloc) === "function") {
29- buf = Buffer.from('hello');
30- } else {
31- buf = new Buffer('hello');
32- }
33- t.equal(bindings.encodeHex(), buf.toString('hex'));
34- t.equal(bindings.encodeUCS2(), 'hello');
35 });
diff --git a/debian/patches/series b/debian/patches/series
index 559536f..e1d78e5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
1fix_returnvalue_test.patch1fix_returnvalue_test.patch
2disable-test-for-s390x.patch

Subscribers

People subscribed via source and target branches