Hello, On Tue 17 Sep 2019 at 12:26PM +02, Andrej Shadura wrote:
> When I attempt to run git-debpush, I see this error: > > Can't locate Git/Wrapper.pm in @INC (you may need to install the > Git::Wrapper module) (@INC contains: /etc/perl > /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 > /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 > /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 > /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at > /usr/bin/git-deborig line 93. > BEGIN failed--compilation aborted at /usr/bin/git-deborig line 93. This error is being emitted by git-deborig from devscripts, which needs Git::Wrapper. devscripts Recommends: libgit-wrapper-perl, but does not Depends: on it, because it is devscripts package policy not to hard depend on libraries needed by singular scripts in devscripts (see README in devscripts). So I suspect that you ran into this because when you installed devscripts, you did not install all its Recommends: too. dgit's test suite isn't detecting this (presumably) because when it installs devscripts, it also installs all of devscripts recommendations. I think it would be reasonable to fix this by having bin:git-debpush hard depend on libgit-wrapper-perl, even though it's an annoying sort of thing to have to keep up-to-date. If Ian agrees with that solution, we should probably have the dgit test suite stop installing all of the packages recommended by devscripts, so we can hard depend on anything else that we know we need. -- Sean Whitton
signature.asc
Description: PGP signature