[Pkg-javascript-devel] Bug#872894: node-policyfile: autopkgtests fail with nodejs 6

Graham Inggs ginggs at debian.org
Tue Aug 22 09:18:25 UTC 2017


Source: node-policyfile
Version: 0.0.5-3
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu artful autopkgtest

Hi Maintainer

Since the upload of nodejs 6, node-policyfile's autopkgtests have been 
failing [1] with the following error:

autopkgtest [09:36:46]: @@@@@@@@@@@@@@@@@@@@ summary
require              FAIL stderr: (node:773) DeprecationWarning: 
process.EventEmitter is deprecated. Use require('events') instead.

I think the patch below is a reasonable workaround until upstream is 
updated.

--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,3 @@
  Tests: require
  Depends: node-policyfile
+Restrictions: allow-stderr

Regards
Graham


[1] https://ci.debian.net/packages/n/node-policyfile/



More information about the Pkg-javascript-devel mailing list