[Pkg-javascript-devel] [RFS] node-zkochan-cmd-shim

Sonnie Nkwuda nkwudasonnie at yahoo.com
Wed Jun 30 20:31:33 BST 2021


 Hi Yadd
It appears the test wasn't running because it couldn't find the new node-memfs package it depends on.
With the fix so far, I was able to run autopkgtest successfully by passing the new node-memfs package: 

sudo autopkgtest  '../packages/node-memfs_3.2.2+~cs1.0.3-2_all.deb' '../node-zkochan-cmd-shim_5.1.3-1_all.deb' -- schroot unstable-amd64-sbuild

It passed successfully 

    On Monday, 28 June 2021, 19:18:00 GMT+1, Sonnie Nkwuda <nkwudasonnie at yahoo.com> wrote:  
 
  Hi Yadd,
Thanks a lot for the hints.
After this fix, I was able to get rid of the missing dependency error. Though the test didn't run successfully, but it appears it's due to the test depending a new package ( node-memfs ) and on the new update of node-is-windows , which are not yet avialable in debian archive.
Kindly review it, and hopefully upload 
Regards,Sunday
    On Friday, 25 June 2021, 06:33:53 GMT+1, Yadd <yadd at debian.org> wrote:  
 
 Le 24/06/2021 à 22:17, Sonnie Nkwuda a écrit :
> Hi Yadd,
> 
> Thanks a lot for the corrections.
> I've fixed all except this line:   * autopkgtest fails: missing
> dependency to node-is-windows .  Please, any suggestion on what I should
> do to fix this?

--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Package: node-zkochan-cmd-shim
 Architecture: all
 Depends:
  ${misc:Depends}
- , nodejs (>= 6)
+ , node-types-is-windows
 Description: This package is the cmd-shim used in npm
  Cmd-shim  is used in npm to create executable scripts.
  .


> The Challenge is that autopkgtest passes in my enviroment, making it
> difficult for me to reproduce this issue or know what caused it.
> I already added node-is-windows to Build-Depends and also
> node-types-is-windows  ( which is what node-zkochan-cmd-shim actually
> needs from node-is-windows ) to both B-D and extlinks
> I'm running the test in chroot.

This prove the failure with a minimal unstable image:

  autopkgtest -B ../foo.deb -- schroot unstable-amd64-sbuild

See
https://wiki.debian.org/Javascript/Tutorial#Little_schroot.2Fsbuild_howto
    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210630/4f06ed60/attachment.htm>


More information about the Pkg-javascript-devel mailing list