Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1020236 > unrolled thread
| Started by | Diego Escalante <diegoe@gnome.org> |
|---|---|
| First post | 2020-08-03 07:20 +0200 |
| Last post | 2020-08-03 07:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.bugs.dist
Bug#966834: debhelper: dh_missing has a confusing typo+msg in $has_related_files Diego Escalante <diegoe@gnome.org> - 2020-08-03 07:20 +0200
| From | Diego Escalante <diegoe@gnome.org> |
|---|---|
| Date | 2020-08-03 07:20 +0200 |
| Subject | Bug#966834: debhelper: dh_missing has a confusing typo+msg in $has_related_files |
| Message-ID | <AzB3c-7fb-1@gated-at.bofh.it> |
Package: debhelper
Version: 13.2
Severity: important
X-Debbugs-Cc: diegoe@gnome.org
Dear Maintainer,
dh_missing prints the following message when $has_related_files is met:
+ if ($had_related_files) {
+ my ($missing, $alt_source) = $had_related_files->@*;
+ nonquiet_print();
+ nonquiet_print('Some of the files had a file that looked similar to a missing counter part. Perhaps');
+ nonquiet_print('one of the debhelper tools should installed the missing file instead of its related');
+ nonquiet_print('file assuming the content is identical.');
+ nonquiet_print();
+ nonquiet_print('As an example, perhaps you want to replace:');
+ nonquiet_print(" * ${alt_source}");
+ nonquiet_print('with:');
+ nonquiet_print(" * ${missing}");
+ nonquiet_print('in a file in debian/ or as argument to one of the dh_* tools called from debian/rules.');
+ nonquiet_print('(Note it is possible the paths are not used verbatim but instead directories ');
+ nonquiet_print('containing or globs matching them are used instead)');
+ nonquiet_print();
+ nonquiet_print('Alternatively, add the missing file to debian/not-installed if it cannot and should not');
+ nonquiet_print('be used.');
+ nonquiet_print();
The above message is confusing in precisely what "file" means, specially
in the second sentence where it goes about "the missing file instead of
its related file" (huh?)
Since there's a typo in "debhelpers tools should (?) installed", I
couldn't figure out what the original intention of the warning was. I
figured out my FTBFS, but mostly because I saw the printed references to
the offending files.
I would have sent you a patch but I didn't know what the message was
supposed to convey. Sorry :(.
I would be thankful if the message could be updated to be slightly more
precise, or at least remove the typo :P.
Thanks!
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages debhelper depends on:
ii autotools-dev 20180224.1
ii dh-autoreconf 19
ii dh-strip-nondeterminism 1.9.0-1
ii dpkg 1.20.5
ii dpkg-dev 1.20.5
ii dwz 0.13-5
ii file 1:5.38-4
ii libdebhelper-perl 13.2
ii libdpkg-perl 1.20.5
ii man-db 2.9.3-1
ii perl 5.30.3-4
ii po-debconf 1.0.21
debhelper recommends no packages.
Versions of packages debhelper suggests:
pn dh-make <none>
-- no debconf information
Back to top | Article view | linux.debian.bugs.dist
csiph-web