[Pkg-javascript-devel] Bug#1017811: node-wikibase-cli: FTBFS without Internet access

Andrius Merkys merkys at debian.org
Tue Aug 23 12:05:14 BST 2022


control: tags -1 + moreinfo

Hi Steve,

On Sat, 20 Aug 2022 15:05:03 -0700 Steve Langasek
<steve.langasek at canonical.com> wrote:
> In Ubuntu, node-wikibase-cli fails to build from source because dh_auto_test
> runs a test suite at build time which requires Internet access, and the
> Ubuntu build environment does not allow access to the Internet.
> 
> Debian packages should not fail to build when they are built offline.

Thanks for reporting this bug. I wonder why Debian buildds do not fail,
but AFAIR there are no guarantees they are off network during package
builds.

> The attached patch fixes the package to run the testsuite but ignore any
> failures.  I've uploaded this patch to Ubuntu to fix the failure there.

While this overcomes the FTBFS, this is not the way I would want the
package to be. It would be much better to find a way to skip tests
requiring network access and keep the remaining ones to catch possible
regressions.

Thanks,
Andrius



More information about the Pkg-javascript-devel mailing list