<div dir="ltr">Package: node-latest-version<br>Version: 7.0.0-2<br clear="all"><div><br></div><div>Package fails to build in an isolated environment (<a href="https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-latest-version.html">reproducible builds invocation for unstable</a>).</div><div><br></div><div>The package accesses the npm registry from tests, but Debian policy only allows tests to access local network resources explicitly set up during the test. <br>Tests are run as part of the required "build" target and <a href="https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules">policy 4.9</a> says:<br>"For packages in the main archive, required targets must not attempt network access, except, via the loopback interface, to services on the build host that have been started by the build."<br><br></div><div>Relevant links:</div><div>Test code: <a href="https://salsa.debian.org/js-team/node-latest-version/-/blob/master/test.js#L11">https://salsa.debian.org/js-team/node-latest-version/-/blob/master/test.js#L11</a><br>The function being tested: <a href="https://salsa.debian.org/js-team/node-latest-version/-/blob/master/index.js#L4">https://salsa.debian.org/js-team/node-latest-version/-/blob/master/index.js#L4</a><br>Function that uses network: <a href="https://salsa.debian.org/js-team/node-package-json/-/blob/master/index.js#L33">https://salsa.debian.org/js-team/node-package-json/-/blob/master/index.js#L33</a><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards,<div>Andrey</div></div></div></div>