<div dir="auto"><div>Il<br><br><div class="gmail_quote"><div dir="ltr">Le ven. 28 sept. 2018 à 07:27, Petter Reinholdtsen <<a href="mailto:pere@hungry.com">pere@hungry.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Control: tags -1 + help upstream confirmed<br>
<br>
[Jérémy Lal]<br>
> Depending on nodejs-legacy was a serious bug in the first place.<br>
> Anyway (nodejs >= 6.11.2~) installs /usr/bin/node now.<br>
<br>
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:<br>
<br>
cat science.core.js science.lin.js science.stats.js >> science.v1.js<br>
uglifyjs < science.v1.js > science.v1.min.js<br>
node src/package.js > package.json<br>
(node:7549) [DEP0027] DeprecationWarning: util.puts is deprecated. Use console.log instead.<br>
rm science.stats.js science.lin.js science.core.js<br>
make[2]: Leaving directory '/home/pere/src/debian/science.js-debian'<br>
make[1]: Leaving directory '/home/pere/src/debian/science.js-debian'<br>
   debian/rules override_dh_auto_test<br>
make[1]: Entering directory '/home/pere/src/debian/science.js-debian'<br>
vows test/env-assert.js test/\*/\*-test.js<br>
module.js:549<br>
    throw err;<br>
    ^<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Vow need to be updated or your pa ckage néed to dépend to node-glob</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Error: Cannot find module 'glob'<br>
    at Function.Module._resolveFilename (module.js:547:15)<br>
    at Function.Module._load (module.js:474:25)<br>
    at Module.require (module.js:596:17)<br>
    at require (internal/module.js:11:18)<br>
    at Object.<anonymous> (/usr/lib/nodejs/vows/bin/vows:7:14)<br>
    at Module._compile (module.js:652:30)<br>
    at Object.Module._extensions..js (module.js:663:10)<br>
    at Module.load (module.js:565:32)<br>
    at tryModuleLoad (module.js:505:12)<br>
    at Function.Module._load (module.js:497:3)<br>
make[1]: *** [debian/rules:17: override_dh_auto_test] Error 1<br>
make[1]: Leaving directory '/home/pere/src/debian/science.js-debian'<br>
make: *** [debian/rules:8: build] Error 2<br>
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2<br>
debuild: fatal error at line 1152:<br>
dpkg-buildpackage -rfakeroot -us -uc -ui -ICVS -I.#* -I.cvsignore -I.bzr -I.svn -I.git failed<br>
<br>
Note, the git repo is at salsa now,<br>
<URL: <a href="https://salsa.debian.org/js-team/science.js.git" rel="noreferrer noreferrer" target="_blank">https://salsa.debian.org/js-team/science.js.git</a> >.<br>
<br>
-- <br>
Happy hacking<br>
Petter Reinholdtsen<br>
<br>
-- <br>
Pkg-javascript-devel mailing list<br>
<a href="mailto:Pkg-javascript-devel@alioth-lists.debian.net" target="_blank" rel="noreferrer">Pkg-javascript-devel@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel</a></blockquote></div></div></div>