[Bug 269265] devel/p5-DateTime-Format-Natural: add missing RUN_DEPENDS: devel/p5-DateTime-HiRes

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 31 Jan 2023 15:09:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269265

            Bug ID: 269265
           Summary: devel/p5-DateTime-Format-Natural: add missing
                    RUN_DEPENDS: devel/p5-DateTime-HiRes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dvl@FreeBSD.org
                CC: bofh@freebsd.org, perl@FreeBSD.org
                CC: bofh@freebsd.org, perl@FreeBSD.org

Created attachment 239829
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239829&action=edit
patch to add missing RUN_DEPENDS: devel/p5-DateTime-HiRes

We encountered this error when running with p5-DateTime-Format-Natural-1.14 on
FreeBSD 13.1.  Installing devel/p5-DateTime-HiRes fixed the issue.

grepping the code found: work/DateTime-Format-Natural-1.14/Makefile.PL:        
          'DateTime::HiRes' => 0,

Hope this helps.

Can't locate DateTime/HiRes.pm in @INC (you may need to install the
DateTime::HiRes module) (@INC contains:
/usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32) at
/usr/local/lib/perl5/site_perl/DateTime/Format/Natural.pm line 18.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/DateTime/Format/Natural.pm line 18.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/DateTimeX/Easy.pm line 288.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/DateTimeX/Easy.pm line 288.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/MooseX/Types/DateTime/MoreCoercions.pm line 12.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/MooseX/Types/DateTime/MoreCoercions.pm line 12.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/Net/Amazon/S3/Client/Bucket.pm line 6.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/Net/Amazon/S3/Client/Bucket.pm line 6.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/Net/Amazon/S3.pm line 13.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/Net/Amazon/S3.pm line 13.
Compilation failed in require at /usr/local/sbin/fprint_upload.pl line 15.
BEGIN failed--compilation aborted at /usr/local/sbin/fprint_upload.pl line 15.

-- 
You are receiving this mail because:
You are the assignee for the bug.