[Pkg-javascript-devel] Ttrying to update npm package on collab-maint

Jérémy Lal kapouer at melix.org
Wed Mar 13 15:13:41 UTC 2013


On 13/03/2013 15:56, Dominique Dumont wrote:
> 
> Hello
> 
> I'm trying to update npm package on collab-maint with latest version. I've 
> cleaned up the patches without too many problems. But the build fails on this 
> error:
> 
> dh_bugfiles -pnpm 
> dh_install -pnpm  
> cp: cannot stat ‘debian/tmp/lib/utils/npm-registry-client’: No such file or 
> directory
> dh_install: cp -a debian/tmp/lib/utils/npm-registry-client 
> debian/npm/usr/share/npm/lib/utils/ returned exit code 1
> make: *** [binary-install/npm] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 
> 2
> debuild: fatal error at line 1357:
> dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
> gbp:error: Couldn't run 'debuild -i -I -us -uc': debuild -i -I returned 29
> 
> Could a CDBS jedi master have a look ? (I've pushed my modifs on collab-maint)
> 
> All the best


Dominique, while it is very nice of you to help,
i'm not that happy with these commits : as you have noticed npm needs
dfsg-repackaging, and it was a good occasion to exclude all node_modules.
I would have really appreciated you did the same with that upstream update.

It would have been more helpful to ask before doing actual commits.
What must be done before this npm update is updating/packaging all its
dependencies, meaning packaging first node-gyp and its deps. This is
where help is needed. Updating npm itself is easy, and i am currently
working on nodejs 0.10 update.
Also the plan is to upload everything to experimental until wheezy is out,
and then to setup a transition to nodejs 0.10 / npm 1.2.

Jérémy.




More information about the Pkg-javascript-devel mailing list