Hi Andreas! On Thu, 26 Jun 2025, Andreas Tille wrote:
> I'm about to finish the cdbs -> dh migration of the last Perl packages. > Unfortunately the latest one are creating some trouble. For > libnet-amqp-perl the build time test is failing as you can see in Salsa > # Tried to use 'Net::AMQP::Protocol::v0_8'. > # Error: Can't locate Net/AMQP/Protocol/v0_8.pm in @INC (you may need to > install the Net::AMQP::Protocol::v0_8 module) (@INC entries checked: > /builds/perl-team/modules/packages/libnet-amqp-perl/debian/output/source_dir/blib/lib > > /builds/perl-team/modules/packages/libnet-amqp-perl/debian/output/source_dir/blib/arch > /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 > /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 > /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base > /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 > /usr/local/lib/site_perl .) at t/03_standalone_0_8.t line 19. > # BEGIN failed--compilation aborted at t/03_standalone_0_8.t line 19. > Can't locate object method "parse_raw_frames" via package "Net::AMQP" > (perhaps you forgot to load "Net::AMQP"?) at t/03_standalone_0_8.t line 82, > <DATA> chunk 1. > # Looks like your test exited with 255 just after 2. > t/03_standalone_0_8.t ..... The problem is, that the Debian package removes Net::AMQP::Protocol::v0_8 because of copyright issues, so it's also necessary to remove the corresponding test. This was done in CDBS with # put aside test depending on stripped code DEB_UPSTREAM_CRUFT_MOVE = t/03_standalone_0_8.t I now tried to do it with a small patch to t/03_standalone_0_8.t. I just pushed an updated version (with some more fixup) to salsa. Greetings Roland