Bug#838630: doona: failed with the error message Can't locate object method "new" via package "bedmod::http"
Justification: renders package unusable
User: devel at kali.org
Running doona will fail with the error message:
Can't locate object method "new" via package "bedmod::http" (perhaps you
forgot to load "bedmod::http"?) at ./doona.pl line 57.
This problem occured with the new Perl version 5.22.2-4: '.' has been removed
from @INC by default (bug #588017).
This bug was first reported in Kali:
There is also a bug report in upstream:
Adding the 2 lines at the top of doona.pl will fix it:
use lib $FindBin::Bin;
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages doona depends on:
ii perl 5.22.2-5
doona recommends no packages.
doona suggests no packages.
-- no debconf information