Il

Le ven. 28 sept. 2018 à 07:27, Petter Reinholdtsen <p...@hungry.com> a
écrit :

> Control: tags -1 + help upstream confirmed
>
> [Jérémy Lal]
> > Depending on nodejs-legacy was a serious bug in the first place.
> > Anyway (nodejs >= 6.11.2~) installs /usr/bin/node now.
>
> I had a look at this, and do not know how to fix it.  Replacing
> nodejs-legacy with nodejs in d/control is simple enough, but then the build
> fail like this:
>
> cat science.core.js science.lin.js science.stats.js >> science.v1.js
> uglifyjs < science.v1.js > science.v1.min.js
> node src/package.js > package.json
> (node:7549) [DEP0027] DeprecationWarning: util.puts is deprecated. Use
> console.log instead.
> rm science.stats.js science.lin.js science.core.js
> make[2]: Leaving directory '/home/pere/src/debian/science.js-debian'
> make[1]: Leaving directory '/home/pere/src/debian/science.js-debian'
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/home/pere/src/debian/science.js-debian'
> vows test/env-assert.js test/\*/\*-test.js
> module.js:549
>     throw err;
>     ^
>

Vow need to be updated or your pa ckage néed to dépend to node-glob

>
> Error: Cannot find module 'glob'
>     at Function.Module._resolveFilename (module.js:547:15)
>     at Function.Module._load (module.js:474:25)
>     at Module.require (module.js:596:17)
>     at require (internal/module.js:11:18)
>     at Object.<anonymous> (/usr/lib/nodejs/vows/bin/vows:7:14)
>     at Module._compile (module.js:652:30)
>     at Object.Module._extensions..js (module.js:663:10)
>     at Module.load (module.js:565:32)
>     at tryModuleLoad (module.js:505:12)
>     at Function.Module._load (module.js:497:3)
> make[1]: *** [debian/rules:17: override_dh_auto_test] Error 1
> make[1]: Leaving directory '/home/pere/src/debian/science.js-debian'
> make: *** [debian/rules:8: build] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit
> status 2
> debuild: fatal error at line 1152:
> dpkg-buildpackage -rfakeroot -us -uc -ui -ICVS -I.#* -I.cvsignore -I.bzr
> -I.svn -I.git failed
>
> Note, the git repo is at salsa now,
> <URL: https://salsa.debian.org/js-team/science.js.git >.
>
> --
> Happy hacking
> Petter Reinholdtsen
>
> --
> Pkg-javascript-devel mailing list
> Pkg-javascript-devel@alioth-lists.debian.net
>
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to