<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 29 mai 2022 à 19:18, Kevin Locke <<a href="mailto:kevin@kevinlocke.name">kevin@kevinlocke.name</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">found 977792 16.15.0+dfsg-1<br>
thanks<br>
<br>
On Fri, 2022-05-27 at 14:54 +0000, Debian Bug Tracking System wrote:<br>
> This is an automatic notification regarding your Bug report<br>
> which was filed against the nodejs package:<br>
> <br>
> #977792: nodejs: install bash-completion script<br>
> <br>
> It has been closed by Debian FTP Masters <<a href="mailto:ftpmaster@ftp-master.debian.org" target="_blank">ftpmaster@ftp-master.debian.org</a>> (reply to Jérémy Lal <<a href="mailto:kapouer@melix.org" target="_blank">kapouer@melix.org</a>>).<br>
<br>
Thanks for working on this issue! Unfortunately, it does not appear<br>
to be fixed in 16.15.0+dfsg-1, as the<br>
/usr/share/bash-completion/completions directory is empty in this<br>
version:<br>
<br>
$ dget nodejs=16.15.0+dfsg-1<br>
$ dpkg -c nodejs_16.15.0+dfsg-1_amd64.deb | grep bash-completion<br>
drwxr-xr-x root/root 0 2022-05-27 07:48 ./usr/share/bash-completion/<br>
drwxr-xr-x root/root 0 2022-05-27 07:48 ./usr/share/bash-completion/completions/<br>
<br>
The buildd log for amd64[1] includes:<br>
<br>
/bin/sh: 1: ./node: not found<br>
<br>
in debian/rules override_dh_auto_build-arch on line 1443. Which<br>
appears be the source of the problem. Apparently the error is not<br>
fatal because it occurs in a variable substitution? Was that<br>
intentional? Perhaps it could be fixed and made fatal with:<br>
<br>
--- a/debian/rules<br>
+++ b/debian/rules<br>
@@ -257,7 +257,7 @@ endif<br>
<br>
override_dh_auto_build-arch: deps_build<br>
dh_auto_build<br>
- $(shell ./node --completion-bash > ./debian/nodejs.bash-completion)<br>
+ ./out/Release/node --completion-bash > ./debian/nodejs.bash-completion<br>
<br>
override_dh_auto_build-indep: deps_links<br>
mkdir -p $(DEBIAN_DOC_DEPS)<br>
<br>
<br>
It may also be worth considering adding nodejs.links with content:<br>
/usr/share/bash-completion/completions/node /usr/share/bash-completion/completions/nodejs<br>
So that users will get completion for `node <tab>` in addition to<br>
`nodejs <tab>`.<br></blockquote><div><br></div><div>Well, exactly !</div><div>And thank you !</div><div>The next update will fix this.</div><div><br></div><div>Jérémy</div><div><br></div><div><br></div></div></div>