[debhelper-devel] Bug#415396: Bug#415396: "dh_install --list-missing" should ignore manpages and other installed files

Michael Stapelberg stapelberg at debian.org
Sat Apr 8 07:06:23 UTC 2017


On Sat, Apr 8, 2017 at 7:54 AM, Niels Thykier <niels at thykier.net> wrote:

> Michael Stapelberg:
> > On Mon, Apr 3, 2017 at 1:07 PM, Niels Thykier <niels at thykier.net> wrote:
> >
> >> [...]
> >
> >
> > Thanks a lot!
> >
> > In turn, I created a branch in the freeradius packaging:
> > https://anonscm.debian.org/cgit/pkg-freeradius/freeradius.git/log/?h=dh_
> missing
> >
>
> Thanks for trying it out. :)
>
> > Maybe I did the wrong changes (?), but when building, I get an error:
> >
> > [...]
> >
> > Can you reproduce the issue?
> >
> >
> >
> > [...]
>
> I think it is a bug in the freeradius changes.  In this commit:
>
> https://anonscm.debian.org/cgit/pkg-freeradius/
> freeradius.git/commit/?h=dh_missing&id=58e693ff7dd6603598cb132d44c9e9
> a547f099ed
>
> The dh_install call is replaced by dh_missing, but AFAICT that
> dh_install is inside an override_dh_install, so dh_install is never called.
>

Thanks, you are spot on. After re-adding the dh_install command, most of
the errors vanish. Interestingly enough, this one remains:

dh_missing --fail-missing
dh_missing: usr/lib/freeradius/rlm_sql_freetds.so exists in debian/tmp but
is not installed to anywhere
The following debhelper tools have reported what they installed
* dh_install
* dh_installman
If the missing files are installed by another tool, please file a bug
against it
For a short-term work-around: Add the files to debian/not-installed
dh_missing: missing files, aborting

I’ve added it to debian/freeradius.install and updated the branch.

The only remaining issue as far as the freeradius packaging is concerned is
dh_installdocs not yet reporting which files it installs — hence the build
fails at
https://anonscm.debian.org/cgit/pkg-freeradius/freeradius.git/commit/?h=dh_missing&id=afbb47b0f8646de9fc116d8f494608ef4cef6a90

Either way, what you have in the dh_missing branch right now is already
useful :).


>
>  * Does it work if you add a dh_install in the bottom of the dh_install
>    override target?
>
> Thanks,
> ~Niels
>
>
>


-- 
Best regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20170408/c325aabe/attachment-0001.html>


More information about the debhelper-devel mailing list