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.)
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() alloc(0x1ffffff ff / 8) alloc(0x1ffffff f8 / 8)
- var bigData = Buffer.
+ var bigData = Buffer.
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.)