Bug 275023 - mail/exim: 4.97 build breaks if EMBEDDED_PERL is unset
Summary: mail/exim: 4.97 build breaks if EMBEDDED_PERL is unset
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-11 07:16 UTC by Andrew "RhodiumToad" Gierth
Modified: 2024-01-02 13:07 UTC (History)
5 users (show)

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


Attachments
exim_always_depend_on_perl5 (1.30 KB, patch)
2023-12-05 07:31 UTC, Felix Palmen
zirias: maintainer-approval? (fluffy)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew "RhodiumToad" Gierth 2023-11-11 07:16:46 UTC
Exim 4.97 build apparently depends on perl5 being present at build time, for exigrep. The port makefile declares only a run dependency, so unless EMBEDDED_PERL is set (which brings in perl as a build dependency too), it fails at that point:

./macro_predef > macro.c
>>> exicyclog script built
>>> exinext script built
>>> exiwhat script built
/bin/sh: ./exigrep: not found
*** Error code 127
Comment 1 Andrew "RhodiumToad" Gierth 2023-11-11 07:21:08 UTC
In addition, it looks like p5-File-FcntlLock is also required at build time even if EMBEDDED_PERL is off.
Comment 2 Felix Palmen freebsd_committer freebsd_triage 2023-12-05 07:31:15 UTC
Created attachment 246794 [details]
exim_always_depend_on_perl5

I can confirm this issue here and suggest attached patch. IMHO no bump necessary, no change with default options and build with disabled EMBEDDED_PERL was broken...
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2024-01-02 13:07:45 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-01-02 13:07:55 UTC
A commit in branch main references this bug:

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

commit 0e934381a66de7bda4e95ee61af8312fec2813a8
Author:     Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2024-01-02 12:03:42 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-01-02 12:06:31 +0000

    mail/exim: build breaks if EMBEDDED_PERL is unset

    - build depends on perl5 present, for exigrep

    PR:             275023
    Reported-by:    Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.uk>
    Submitted-by:   zirias
    Approved-by:    fluffy (implicit)
    Author:         Felix Palmen <zirias@FreeBSD.org>

 mail/exim/Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)