Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/node-bn.js/node-bn.js_5.1.3-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/node-bn.js-5.1.3-1gtdeqqc_/node-bn.js_5.1.3-1_all.buildinfo Get source package info: node-bn.js=5.1.3-1 Source URL: http://snapshot.notset.fr/mr/package/node-bn.js/5.1.3-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-3 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 bsdextrautils=2.36.1-5 bsdutils=1:2.36.1-5 build-essential=12.9 bzip2=1.0.8-4 ca-certificates=20200601 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.1 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-5 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20201015-2 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-3 gettext-base=0.21-3 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-9 libarchive-zip-perl=1.68-1 libarray-unique-perl=0.08-2.1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.1-7 libblkid1=2.36.1-5 libbrotli1=1.0.9-2+b2 libbz2-1.0=1.0.8-4 libc-ares2=1.17.1-1 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libclass-accessor-perl=0.51-1 libcom-err2=1.45.6-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-7 libctf0=2.35.1-7 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.256 libdebhelper-perl=13.3.1 libdebian-copyright-perl=0.2-4 libdeflate0=1.7-1 libdpkg-perl=1.20.7.1 libelf1=0.182-3 libencode-locale-perl=1.05-1.1 liberror-perl=0.17029-1 libexporter-lite-perl=0.08-1 libffi7=3.3-5 libfile-listing-perl=6.14-1 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libgdk-pixbuf-2.0-0=2.42.2+dfsg-1 libgdk-pixbuf2.0-common=2.42.2+dfsg-1 libglib2.0-0=2.66.4-1 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libhtml-parser-perl=3.75-1+b1 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.10-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.27-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-6 libio-html-perl=1.001-1.1 libio-pty-perl=1:1.15-2 libio-socket-ssl-perl=2.068-1 libio-stringy-perl=2.111-3 libipc-run-perl=20200505.0-1 libisl23=0.23-1 libitm1=10.2.1-6 libjbig0=2.1-3.1+b2 libjpeg62-turbo=1:2.0.5-2 libjs-inherits=2.0.4-1 libjs-sprintf-js=1.1.2+ds1-2 libjson-perl=4.02000-2 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblsan0=10.2.1-6 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.10-1 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-5 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnet-http-perl=6.20-1 libnet-ssleay-perl=1.88-3+b1 libnghttp2-14=1.42.0-1 libnode72=12.20.1~dfsg-3 libnotify-bin=0.7.9-2 libnotify4=0.7.9-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-2 libpam-modules-bin=1.4.0-2 libpam-runtime=1.4.0-2 libpam0g=1.4.0-2 libparse-debcontrol-perl=2.005-4.1 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.0-6 libpipeline1=1.5.3-1 libpng16-16=1.6.37-3 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libsigsegv2=2.12-3 libsmartcols1=2.36.1-5 libssl1.1=1.1.1i-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-name-perl=0.26-1+b1 libsub-override-perl=0.09-2 libsystemd0=247.2-4 libtie-ixhash-perl=1.23-2.1 libtiff5=4.2.0-1 libtimedate-perl=2.3300-1 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtry-tiny-perl=0.30-1 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.2-4 libunistring2=0.9.10-4 liburi-perl=5.05-1 libuuid1=2.36.1-5 libwebp6=0.6.1-2+b1 libwww-perl=6.52-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.10+dfsg-6.3+b1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.5-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 mocha=8.2.1+ds1+~cs29.4.27-3 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 netbase=6.2 node-ansi-colors=4.1.1-2 node-ansi-regex=5.0.0-1 node-ansi-styles=4.2.1-1 node-anymatch=3.1.1+~2.2.2-1 node-argparse=2.0.1-1 node-async-each=1.0.3-1 node-balanced-match=1.0.0-1 node-binary-extensions=2.1.0-1 node-brace-expansion=2.0.0-1 node-braces=3.0.2+~3.0.0-1 node-browser-stdout=1.3.1-2 node-camelcase=6.2.0-2 node-chalk=4.1.0-1 node-chokidar=3.4.3-3 node-cliui=4.1.0-2 node-clone=2.1.2-2 node-color-convert=1.9.3-1 node-color-name=1.1.4+~1.1.1-1 node-debug=4.3.1+~cs4.1.5-1 node-decamelize=4.0.0-1 node-defaults=1.0.3-2 node-diff=4.0.2~dfsg-2 node-end-of-stream=1.4.4-1 node-escape-string-regexp=4.0.0-1 node-esprima=4.0.1+ds+~4.0.2-1 node-execa=4.1.0+dfsg+~cs19.3.6-4 node-fill-range=7.0.1-2 node-find-up=5.0.0-1 node-fs.realpath=1.0.0-1.1 node-get-caller-file=1.0.2-1.1 node-get-stream=6.0.0-1 node-glob=7.1.6+~7.1.3-1 node-glob-parent=5.1.1+~5.1.0-1 node-graceful-fs=4.2.4+repack-1 node-growl=1.10.5-2 node-has-flag=4.0.0-1 node-he=1.2.0-1 node-inflight=1.0.6-1.1 node-inherits=2.0.4-1 node-invert-kv=3.0.1-1 node-is-binary-path=2.1.0-1 node-is-buffer=2.0.5-1 node-is-extglob=2.1.1-1 node-is-glob=4.0.1-1 node-is-number=7.0.0-1.1 node-is-plain-obj=3.0.0-1 node-is-stream=2.0.0-1 node-isexe=2.0.0-5 node-js-yaml=3.14.1+dfsg+~3.12.6-2 node-kind-of=6.0.3+dfsg-1 node-lcid=3.1.1-1 node-locate-path=6.0.0-1 node-mem=1.1.0-1.1 node-merge-stream=2.0.0+~1.1.2-1 node-mimic-fn=3.1.0-1 node-minimatch=3.0.4+~3.0.3-1 node-ms=2.1.3+~cs0.7.31-1 node-normalize-path=3.0.0-2 node-npm-run-path=2.0.2-2 node-once=1.4.0-3 node-os-locale=5.0.0-1 node-p-limit=3.1.0+~cs2.3.0-1 node-p-locate=5.0.0-1 node-path-dirname=1.0.2-1.1 node-path-exists=4.0.0-2 node-path-is-absolute=2.0.0-1 node-pump=3.0.0-4 node-randombytes=2.1.0-1 node-readdirp=3.5.0-2 node-repeat-string=1.6.1-1 node-require-directory=2.1.1-1.1 node-require-main-filename=2.0.0-1 node-safe-buffer=5.2.1+~cs2.1.2-1 node-serialize-javascript=5.0.1-2 node-set-blocking=2.0.0-1.1 node-set-immediate-shim=2.0.0-1 node-shebang-command=1.2.0-1.1 node-shebang-regex=3.0.0-1 node-signal-exit=3.0.3-1 node-sprintf-js=1.1.2+ds1-2 node-string-width=4.2.0-1 node-strip-ansi=6.0.0-2 node-strip-json-comments=3.1.1-1 node-supports-color=8.1.0+~7.2.0-1 node-to-regex-range=5.0.1-2 node-wcwidth.js=1.0.0-1.1 node-which=2.0.2+~cs1.3.2-1 node-which-module=2.0.0-1 node-wide-align=1.1.3-1 node-wrap-ansi=4.0.0-2 node-wrappy=1.0.2-1.1 node-y18n=4.0.0-4 node-yargs=15.3.1+repack-2 node-yargs-parser=18.1.3+~15.0.0-1 nodejs=12.20.1~dfsg-3 openssl=1.1.1i-1 patch=2.7.6-7 perl=5.32.0-6 perl-base=5.32.0-6 perl-modules-5.32=5.32.0-6 perl-openssl-defaults=5 pkg-js-tools=0.9.62 po-debconf=1.0.21+nmu1 sed=4.7-1 sensible-utils=0.0.14 shared-mime-info=2.0-1 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 util-linux=2.36.1-5 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210115T144157Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d node-bn.js=5.1.3-1 && mkdir -p /build/node-bn.js-8eS3WI && dpkg-source --no-check -x /*.dsc /build/node-bn.js-8eS3WI/node-bn.js-5.1.3 && chown -R builduser:builduser /build/node-bn.js-8eS3WI" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/node-bn.js-8eS3WI/node-bn.js-5.1.3 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1610748162" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/node-bn.js-8eS3WI /tmp/node-bn.js-5.1.3-1gtdeqqc_ bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210115T144157Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.o6uovwoS8m as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.o6uovwoS8m Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-5). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210115T144157Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210115T144157Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (716 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4661 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210115T144157Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.o6uovwoS8m Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210115T144157Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1182 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.o6uovwoS8m I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d node-bn.js=5.1.3-1 && mkdir -p /build/node-bn.js-8eS3WI && dpkg-source --no-check -x /*.dsc /build/node-bn.js-8eS3WI/node-bn.js-5.1.3 && chown -R builduser:builduser /build/node-bn.js-8eS3WI"' exec /tmp/mmdebstrap.o6uovwoS8m Reading package lists... NOTICE: 'node-bn.js' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/js-team/node-bn.js.git Please use: git clone https://salsa.debian.org/js-team/node-bn.js.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 67.3 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-bn.js 5.1.3-1 (dsc) [2075 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-bn.js 5.1.3-1 (tar) [62.3 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-bn.js 5.1.3-1 (diff) [2984 B] Fetched 67.3 kB in 0s (687 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'node-bn.js_5.1.3-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting node-bn.js in /build/node-bn.js-8eS3WI/node-bn.js-5.1.3 dpkg-source: info: unpacking node-bn.js_5.1.3.orig.tar.gz dpkg-source: info: unpacking node-bn.js_5.1.3-1.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/node-bn.js-8eS3WI/node-bn.js-5.1.3 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1610748162" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.o6uovwoS8m dpkg-buildpackage: info: source package node-bn.js dpkg-buildpackage: info: source version 5.1.3-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Xavier Guimard dpkg-source --before-build . debian/rules clean dh clean dh_auto_clean --buildsystem=nodejs rm -rf ./node_modules/.cache dh_clean debian/rules binary-indep dh binary-indep dh_update_autotools_config -i dh_autoreconf -i dh_auto_configure --buildsystem=nodejs -i dh_auto_build --buildsystem=nodejs -i No build command found, searching known files dh_auto_test --buildsystem=nodejs -i mkdir -p node_modules ln -s ../. node_modules/bn.js /bin/sh -ex debian/tests/pkg-js/test + mocha -R spec test/arithmetic-test.js test/binary-test.js test/constructor-test.js test/fixtures.js test/red-test.js test/utils-test.js BN.js/Arithmetic .add() ✓ should add numbers ✓ should handle carry properly (in-place) ✓ should properly do positive + negative .iaddn() ✓ should allow a sign change ✓ should add negative number ✓ should allow neg + pos with big number ✓ should carry limb ✓ should throw error with num eq 0x4000000 ✓ should reset sign if value equal to value in instance .sub() ✓ should subtract small numbers ✓ should subtract big numbers ✓ should subtract numbers in place ✓ should subtract with carry .isubn() ✓ should subtract negative number ✓ should work for positive numbers ✓ should not allow a sign change ✓ should change sign on small numbers at 0 ✓ should change sign on small numbers at 1 ✓ should throw error with num eq 0x4000000 .mul() ✓ should multiply numbers of different signs (75ms) ✓ should multiply with carry ✓ should correctly multiply big numbers ✓ should multiply neg number on 0 ✓ should regress mul big numbers .mulf() ✓ should multiply numbers of different signs ✓ should multiply with carry ✓ should correctly multiply big numbers ✓ should multiply neg number on 0 ✓ should regress mul big numbers .imul() ✓ should multiply numbers in-place ✓ should multiply by 0 ✓ should regress mul big numbers in-place .muln() ✓ should multiply number by small number ✓ should throw error with num eq 0x4000000 ✓ should negate number if number is negative .pow() ✓ should raise number to the power .div() ✓ should divide small numbers (<=26 bits) ✓ should divide large numbers (>53 bits) ✓ should divide numbers ✓ should not fail on regression after moving to _wordDiv .idivn() ✓ should divide numbers in-place .divRound() ✓ should divide numbers with rounding ✓ should return 1 on exact division .mod() ✓ should modulo small numbers (<=26 bits) ✓ should modulo large numbers (>53 bits) ✓ should mod numbers ✓ should properly carry the sign inside division .modrn() ✓ should act like .mod() on small numbers .abs() ✓ should return absolute value .invm() ✓ should invert relatively-prime numbers .gcd() ✓ should return GCD .egcd() ✓ should return EGCD ✓ should not allow 0 input ✓ should not allow negative input BN.max(a, b) ✓ should return maximum BN.min(a, b) ✓ should return minimum BN.ineg ✓ shouldn't change sign for zero BN.js/Binary .shl() ✓ should shl numbers ✓ should ushl numbers .shr() ✓ should shr numbers ✓ should ushr numbers .bincn() ✓ should increment bit .imaskn() ✓ should mask bits in-place ✓ should not mask when number is bigger than length .testn() ✓ should support test specific bit ✓ should have short-cuts .and() ✓ should and numbers ✓ should and numbers of different limb-length .iand() ✓ should iand numbers .or() ✓ should or numbers ✓ should or numbers of different limb-length .ior() ✓ should ior numbers .xor() ✓ should xor numbers .ixor() ✓ should ixor numbers ✓ should and numbers of different limb-length .setn() ✓ should allow single bits to be set .notn() ✓ should allow bitwise negation BN.js/Constructor with Smi input ✓ should accept one limb number ✓ should accept two-limb number ✓ should accept 52 bits of precision ✓ should accept max safe integer ✓ should not accept an unsafe integer ✓ should accept two-limb LE number with String input ✓ should accept base-16 ✓ should accept base-hex ✓ should accept base-16 with spaces ✓ should accept long base-16 ✓ should accept positive base-10 ✓ should accept negative base-10 ✓ should accept long base-10 ✓ should accept base-2 ✓ should accept base-36 ✓ should not overflow limbs during base-10 ✓ should accept base-16 LE integer ✓ should not accept wrong characters for base ✓ should not accept decimal ✓ should not accept non-hex characters with Array input ✓ should not fail on empty array ✓ should import/export big endian ✓ should import little endian ✓ should import big endian with implicit base with Buffer input ✓ should not fail on empty Buffer ✓ should import/export big endian ✓ should import little endian with BN input ✓ should clone BN BN.js/Reduction context ✓ should avoid 4.1.0 regresion (194ms) ✓ K256.split for 512 bits number should return equal numbers ✓ imod should change host object Plain method ✓ should support add, iadd, sub, isub operations ✓ should support pow and mul operations ✓ should sqrtm numbers (47ms) ✓ should invm numbers ✓ should invm numbers (regression) ✓ should imul numbers ✓ should pow(base, 0) == 1 ✓ should shl numbers ✓ should reduce when converting to red ✓ redNeg and zero value ✓ should not allow modulus <= 1 Montgomery method ✓ should support add, iadd, sub, isub operations ✓ should support pow and mul operations ✓ should sqrtm numbers ✓ should invm numbers ✓ should invm numbers (regression) ✓ should imul numbers ✓ should pow(base, 0) == 1 ✓ should shl numbers ✓ should reduce when converting to red ✓ redNeg and zero value ✓ should not allow modulus <= 1 Pseudo-Mersenne Primes ✓ should reduce numbers mod k256 ✓ should not fail to invm number mod k256 ✓ should correctly square the number ✓ redISqr should return right result BN.js/Utils .toString() binary padding ✓ should have a length of 256 hex padding ✓ should have length of 8 from leading 15 ✓ should have length of 8 from leading zero ✓ should have length of 8 from leading zeros ✓ should have length of 64 from leading 15 ✓ should have length of 64 from leading zero .isNeg() ✓ should return true for negative numbers .isOdd() ✓ should return true for odd numbers .isEven() ✓ should return true for even numbers .isZero() ✓ should return true for zero .bitLength() ✓ should return proper bitLength .byteLength() ✓ should return proper byteLength .toArray() ✓ should return [ 0 ] for `0` ✓ should zero pad to desired lengths ✓ should throw when naturally larger than desired length .toBuffer ✓ should return proper Buffer .toNumber() ✓ should return proper Number if below the limit ✓ should throw when number exceeds 53 bits .zeroBits() ✓ should return proper zeroBits .toJSON ✓ should return hex string ✓ should be padded to multiple of 2 bytes for interop .cmpn ✓ should return -1, 0, 1 correctly .cmp ✓ should return -1, 0, 1 correctly comparison shorthands ✓ .gtn greater than ✓ .gt greater than ✓ .gten greater than or equal ✓ .gte greater than or equal ✓ .ltn less than ✓ .lt less than ✓ .lten less than or equal ✓ .lte less than or equal ✓ .eqn equal ✓ .eq equal .fromTwos ✓ should convert from two's complement to negative number .toTwos ✓ should convert from negative number to two's complement .isBN ✓ should return true for BN ✓ should return false for everything else 171 passing (604ms) Removing node_modules/bn.js create-stamp debian/debhelper-build-stamp dh_prep -i dh_auto_install --buildsystem=nodejs -i dh_auto_install: warning: ### Missing ./build/config.gypi, skipping Found "files" field in ./package.json, using it mkdir -p /build/node-bn.js-8eS3WI/node-bn.js-5.1.3/debian/node-bn.js//usr/share/nodejs/bn.js/lib/ cp --reflink=auto -a ./lib/bn.js /build/node-bn.js-8eS3WI/node-bn.js-5.1.3/debian/node-bn.js//usr/share/nodejs/bn.js/lib// cp --reflink=auto -a ./package.json /build/node-bn.js-8eS3WI/node-bn.js-5.1.3/debian/node-bn.js//usr/share/nodejs/bn.js// Set ${nodejs:Version} to 12.20.1~dfsg dh_installdocs -i dh_installchangelogs -i dh_perl -i dh_link -i dh_strip_nondeterminism -i dh_compress -i dh_fixperms -i dh_missing -i dh_installdeb -i dh_gencontrol -i dpkg-gencontrol: warning: package node-bn.js: substitution variable ${nodejs:Version} unused, but is defined dh_md5sums -i dh_builddeb -i dpkg-deb: building package 'node-bn.js' in '../node-bn.js_5.1.3-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../node-bn.js_5.1.3-1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/node-bn.js-8eS3WI /tmp/node-bn.js-5.1.3-1gtdeqqc_ I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.o6uovwoS8m... I: success in 274.2653 seconds md5: node-bn.js_5.1.3-1_all.deb: OK sha1: node-bn.js_5.1.3-1_all.deb: OK sha256: node-bn.js_5.1.3-1_all.deb: OK Checksums: OK