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
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.
The "Clearable" module was added in https://github.com/oetiker/znapzend/commit/78d95e29c4219cac46ab4a27cdfc5b9adcaae432
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(-)
I messed up :( but now it should be good to go. Thank you!
Thanks for the quick fix!