Package: dh-nodejs Version: 0.15.23 Severity: normal Tags: patch The Built-Using dpkg field requires source package names, not binary package names, whereas dh-nodejs currently emits binary package names.
My Perl is quite rusty, but I think what would solve it is modifying the builtUsing function in /usr/share/perl5/Debian/PkgJs/PackageLock.pm as follows; I can submit this as a MR on salsa if you would prefer: sub builtUsing { [...] spawn( exec => [ 'dpkg-query', '--showformat=${Version},${Source}', '--show', $pkg, ], wait_child => 1, to_string => \$version_source, error_to_string => \$err, ); chomp $version_source; my @vs = split /,/, $version_source; # Source is empty if the binary package has the same name $vs[1] ||= $pkg; $res{$pkg} = \@vs; debug("Add $vs[1] (= $vs[0]) in \${nodejs:BuiltUsing}"); [...] return join( ',', map { "$res{$_}[1] (= $res{$_}[0])" } sort keys %res ); } Best wishes, Julian -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel