#994544 npm2deb: nodejs:any for arch:all package

Package:
npm2deb
Source:
npm2deb
Submitter:
"Bastien Roucariès"
Date:
2021-09-17 23:18:03 UTC
Severity:
important
#994544#5
Date:
2021-09-17 14:36:55 UTC
From:
To:
Dear Maintainer,


In order to help cross build nodejs depends should be nodejs:any for purejs
module in depends field.

In build-depends field we should use nodejs:native in order to help crossbuilt

Bastien

#994544#10
Date:
2021-09-17 16:01:02 UTC
From:
To:
Le 17/09/2021 à 16:36, Bastien Roucariès a écrit :

Hi Bastien,

you should clone this and reassign to pkg-js-tools (build depends on
nodejs).
npm2deb should not set a run dependency to nodejs except if there is a
/usr/bin file

#994544#15
Date:
2021-09-17 19:30:16 UTC
From:
To:
Le ven. 17 sept. 2021 à 16:06, Yadd <yadd@debian.org> a écrit :
Not sure perl set perl:any on every package.

It is sensible to do so

Bastien

#994544#20
Date:
2021-09-17 19:33:41 UTC
From:
To:
control: clone -1 -2
control: reassign -2 pkg-js-tools

Le ven. 17 sept. 2021 à 16:06, Yadd <yadd@debian.org> a écrit :

#994544#27
Date:
2021-09-17 20:24:29 UTC
From:
To:
Le 17 septembre 2021 21:30:16 GMT+02:00, Bastien ROUCARIES <roucaries.bastien@gmail.com> a écrit :

A Perl file is usable only with Perl, not a JS one. We decided to remove nodejs dependency some months ago.

Cheers,
Yadd

#994544#32
Date:
2021-09-17 20:28:08 UTC
From:
To:
Le ven. 17 sept. 2021 à 20:24, Yadd <yadd@debian.org> a écrit :
Ok thanks look sensible nevertheless, nodejs:any is also sensible if needed.

Will open a lintian bug also

#994544#37
Date:
2021-09-17 23:15:37 UTC
From:
To:
Quoting Bastien ROUCARIES (2021-09-17 21:30:16)

It is *not* sensible for Node.js packages to depend on nodejs,
regardless of what is done in perl packages:

Package relations are directional, and libraries do not depend on their
interpreter, it is the other way around: Scripts or other libraries
loading a library (through their interpreter) depend on that library.


 - Jonas