- Package:
- dh-nodejs
- Source:
- pkg-js-tools
- Submitter:
- Jonas Smedegaard
- Date:
- 2022-03-18 07:57:03 UTC
- Severity:
- normal
- Tags:
debhelper supports limiting a sequence to arch-independent packages, but when trying to do that with dh-sequence leads to this error message: dh: warning: The add-on nodejs relies on a feature (add_command_options) (possibly indirectly), which is not supported for conditional debhelper sequence add-ons. dh: warning: Hint: You may have to move the build-dependency for dh-sequence-nodejs to Build-Depends to avoid this error assuming it is possible to use the sequence unconditionally. dh: error: unable to load addon nodejs: dh: error: add_command_options is not supported for conditional dh sequence add-ons. - Jonas -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAl/efS4ACgkQLHwxRsGg ASHhPxAAoCbzQTx1XAbP1BMJWjvYsWPMXbg3LqsOtuy92z7vKNhToVI3kFfCB+1l 0i14mPII0qB8ydeKepcfzAx5dT7+/1eF97+evvQHuROSsA4e5jRRKkr2T5JVSyA7 TTRNfVdStehJ45LMPYQ0mGXwt7lfPOH03Cefrx4h6b/V6cwrOOzWf9RBVwfGDmNl MjoKusyPwBm1hJnFXa4sVee7YfPH+DT8l4vC+mIceQnDXunYP8uqSz8jBiD/q93D Dgmr8wgZnQrE06QkqQ8M/sYYifyKHnD7FYVfDiYfqhnH7NWWjwvZ9AgHbW9OqCSR vhdKNFwR43c4+zjF1kyWwenJ6A89EbYSPTwCV7NN8dZ0hrmB4wZ52Aiy+3f+2Tsj Nhk0x3S0OM/dIJQmaJMZuVnbxELhXnMIMV4HxI0Bn0za1TFxkexV71R5sUa2Rprl SZ/hWLhMJwudK677U3RAYCqvhywyVl5nJq8aTlershpXIps4+XVy9OymhLUKbm6n R+NY5syx7gQfZ9W4j/ihTWOCcJtNjs7VImhMTdBUjNVGmr6RXgidqhX+y+y8Rtfv tYJH/ZTLFK8P8fIsPYacqAfayHh4IdNy9hnwVgGNW0LjnuXE5AxFa/OcEBc5jVvu sZYrA/gBWKUKygxs3XHJXqPPZJTpso/jtcUIVyK6uu/wPI3Rtm4= =WSqn -----END PGP SIGNATURE-----
Xavier: Hi, I believe you have misunderstood the request. The "dh-sequence-nodejs" works fine when put in Build-Depends. What Jonas is requesting is that dh-sequence-nodejs can moved to Build-Depends-Indep - this requires that the add-on supports the more restricted "conditional add-on" API from dh. However, not all add-ons can support this functionality because of the restricted API. From a quick glance, I doubt that the nodejs sequence can support it at all. As an example, the moment you need to do anything in the "clean" sequence, then it is impossible (as Build-Depends-Indep is not satisfied during clean, so the add-on must not modify the clean sequence at all). My recommendation is to tag the bug wontfix for now. ~Niels
Tagged as "wontfix" following Niels's recommendation Le 20/12/2020 à 09:51, Niels Thykier a écrit :