Could it have anything to do with the patch being applied in node-
sha.js, 0002-Fix-FTBFS-in-32-bits-arch.patch?

   var hash = new Sha1()
-  var bigData = Buffer.alloc(0x1ffffffff / 8)
+  var bigData = Buffer.alloc(0x1fffffff8 / 8)

I wonder if this patch were disabled for ppc64el, if the test would then
pass? If so, then perhaps the patch needs to test if its uint32 or
uint64 first.  (There appears to be code doing a 32/64 support check in
hash.js' Hash.prototype.digest that might be pertinent.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887144

Title:
  autopkgtest failures on ppc64el with nodejs 12.18.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/node-create-hash/+bug/1887144/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to