Bug#1103828: Please help switching libnet-amqp-perl from cdbs to dh

Andreas Tille andreas at an3as.eu
Thu Jun 26 21:36:47 BST 2025


Hi,

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
CI[1]:

...
#   Failed test 'use Net::AMQP::Protocol::v0_8;'
#   at t/03_standalone_0_8.t line 18.
#     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 18.
# BEGIN failed--compilation aborted at t/03_standalone_0_8.t line 18.
#   Failed test 'use Net::AMQP::Protocol::v0_8;'
#   at t/03_standalone_0_8.t line 19.
#     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 .....


Seems for some reason the own module is not found and cdbs was working
around this somehow.  Any hint how to fix this issue?

Thank you for any help
    Andreas.


[1] https://salsa.debian.org/perl-team/modules/packages/libnet-amqp-perl/-/jobs/7761942#L1074

-- 
https://fam-tille.de



More information about the pkg-perl-maintainers mailing list