Bug 271024 - sysutils/znapzend: Can't locate Role/Tiny.pm
Summary: sysutils/znapzend: Can't locate Role/Tiny.pm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jimmy Olgeni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-23 13:06 UTC by Mikael Urankar
Modified: 2023-04-24 09:05 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (olgeni)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2023-04-23 13:06:07 UTC
The rc script returns this error:
service znapzend restart
znapzend not running? (check /var/run/znapzend.pid).
Starting znapzend.
Can't locate Role/Tiny.pm in @INC (you may need to install the Role::Tiny module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32) at /usr/local/bin/znapzend line 8.
BEGIN failed--compilation aborted at /usr/local/bin/znapzend line 8.
/usr/local/etc/rc.d/znapzend: WARNING: failed to start znapzend
Comment 1 Mikael Urankar freebsd_committer freebsd_triage 2023-04-23 13:08:41 UTC
after installing p5-Role-Tiny I encounter the following error:

Can't locate Mojo/Log/Role/Clearable.pm in @INC (you may need to install the Mojo::Log::Role::Clearable module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32) at /usr/local/lib/perl5/site_perl/Role/Tiny.pm line 51.
Comment 2 Mikael Urankar freebsd_committer freebsd_triage 2023-04-23 13:31:38 UTC
The "Clearable" module was added in https://github.com/oetiker/znapzend/commit/78d95e29c4219cac46ab4a27cdfc5b9adcaae432
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-04-24 08:37:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e5474f0f70649c210a347a94c9c0bcf1124c2952

commit e5474f0f70649c210a347a94c9c0bcf1124c2952
Author:     Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2023-04-24 08:31:20 +0000
Commit:     Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2023-04-24 08:36:03 +0000

    sysutils/znapzend: Add new dependency on devel/p5-Mojo-Log-Clearable

    PR:             271024
    Reported by:    mikael

 sysutils/znapzend/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Comment 4 Jimmy Olgeni freebsd_committer freebsd_triage 2023-04-24 08:40:16 UTC
I messed up :( but now it should be good to go. Thank you!
Comment 5 Mikael Urankar freebsd_committer freebsd_triage 2023-04-24 09:05:56 UTC
Thanks for the quick fix!