[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#838630: doona: failed with the error message Can't locate object method "new" via package "bedmod::http"



Package: doona
Version: 0.7+git20131211-1
Severity: grave
Justification: renders package unusable
User: devel at kali.org
Usertags: origin-kali

Hi,

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:
https://bugs.kali.org/view.php?id=3608

There is also a bug report in upstream:
https://github.com/wireghoul/doona/issues/9

Adding the 2 lines at the top of doona.pl will fix it:
    use FindBin;
    use lib $FindBin::Bin;

Thanks,


-- 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



Reply to: