Bug 269265 - devel/p5-DateTime-Format-Natural: add missing RUN_DEPENDS: devel/p5-DateTime-HiRes
Summary: devel/p5-DateTime-Format-Natural: add missing RUN_DEPENDS: devel/p5-DateTime-...
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-31 15:09 UTC by Dan Langille
Modified: 2023-02-03 13:54 UTC (History)
2 users (show)

See Also:


Attachments
patch to add missing RUN_DEPENDS: devel/p5-DateTime-HiRes (743 bytes, patch)
2023-01-31 15:09 UTC, Dan Langille
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Langille freebsd_committer freebsd_triage 2023-01-31 15:09:44 UTC
Created attachment 239829 [details]
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.
Comment 1 Dan Langille freebsd_committer freebsd_triage 2023-01-31 15:10:40 UTC
Happy to commit this for you if you prefer. I have it staged.
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-01-31 15:15:51 UTC
(In reply to Dan Langille from comment #1)
Shoot at will
Comment 3 Dan Langille freebsd_committer freebsd_triage 2023-02-03 13:35:04 UTC
(In reply to Muhammad Moinur Rahman from comment #2)
Doing this now. It's bee a busy 2 days of updating hosts. :)
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-02-03 13:45:46 UTC
A commit in branch main references this bug:

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

commit aef9faa21e96acb06149d1d2b7e2c4cf8c541e10
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2023-02-03 13:43:59 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2023-02-03 13:43:59 +0000

    devel/p5-DateTime-Format-Natural: add missing dependenency

    Add missing RUN_DEPENDS: devel/p5-DateTime-HiRes

    While here, sort RUN_DEPENDS thanks to portfmt

    PR:             269265

 devel/p5-DateTime-Format-Natural/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)