Package: node-wikibase-cli
Version: 15.15.4-3
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu kinetic ubuntu-patch
Hi Andrius,
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.
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.
Thanks for considering,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
[email protected] [email protected]
diff -Nru node-wikibase-cli-15.15.4/debian/rules
node-wikibase-cli-15.15.4/debian/rules
--- node-wikibase-cli-15.15.4/debian/rules 2022-03-18 07:03:58.000000000
-0700
+++ node-wikibase-cli-15.15.4/debian/rules 2022-08-20 15:01:12.000000000
-0700
@@ -10,3 +10,7 @@
help2man wb --name 'command-line interface to Wikibase' --no-info >
debian/wb.1
help2man wd --name 'command-line interface to Wikidata' --no-info >
debian/wd.1
dh_installman
+
+override_dh_auto_test:
+ # ignore failures from testsuite which requires Internet access
+ dh_auto_test || true
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel