Joey Hess <jo...@debian.org> writes: > Turns out that libaudio-mpd-perl has somehow been broken by > the libclass-accessor-perl 0.33-1 -> 0.34-1 upgrade.
> This is the relevant code: > use Readonly; > use base qw[ Class::Accessor::Fast Exporter ]; > __PACKAGE__->mk_accessors( > qw[ _conntype _host _password _port _socket > collection playlist version ] ); This broke Lintian as well. The problem is that Class::Accessor added an import method, which Audio::MPD is now inheriting instead of the one from Exporter. This is apparently intentional on upstream's part (well, not necessarily the side effect, but the introduction of the method). > use Exporter 'import'; > use base qw[ Class::Accessor::Fast]; This works, or you can probably just change the order of the classes. use base qw[ Exporter Class::Accessor::Fast ]; -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org