Bug 280499 - www/mod_perl2: update 2.0.12 -> 2.0.13 to fix build with newer perl
Summary: www/mod_perl2: update 2.0.12 -> 2.0.13 to fix build with newer perl
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-apache (Nobody)
URL:
Keywords:
: 280513 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-29 19:04 UTC by Kurt Jaeger
Modified: 2024-12-29 11:25 UTC (History)
3 users (show)

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


Attachments
patch (798 bytes, patch)
2024-07-29 19:04 UTC, Kurt Jaeger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger freebsd_committer freebsd_triage 2024-07-29 19:04:07 UTC
Created attachment 252356 [details]
patch

Builds fine. Testrun on 14.1p2 with apache 2.4.62 is fine.
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2024-07-29 19:07:24 UTC
Tested with perl 5.40, not with .38 or .36.
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2024-07-30 15:34:06 UTC
This is the error with 2.0.12:

httpd: Syntax error on line 161 of /usr/local/etc/apache24/httpd.conf: Cannot load /usr/local/libexec/apache24/mod_perl.so into server: /usr/local/libexec/apache24/mod_perl.so: Undefined symbol "do_open9"
Comment 3 Dan Langille freebsd_committer freebsd_triage 2024-07-30 16:50:06 UTC
*** Bug 280513 has been marked as a duplicate of this bug. ***
Comment 4 Dan Langille freebsd_committer freebsd_triage 2024-07-30 16:51:36 UTC
(In reply to Kurt Jaeger from comment #2)
I hit the same issue.

I've tested my own patch (see duplicate) which fixes the issue for me on FreeBSD 13.3 with apache24-2.4.62
Comment 5 Kurt Jaeger freebsd_committer freebsd_triage 2024-07-30 16:55:52 UTC
(In reply to Dan Langille from comment #4)
which perl version did you run-test ?
Comment 6 Dan Langille freebsd_committer freebsd_triage 2024-07-30 16:57:42 UTC
(In reply to Kurt Jaeger from comment #5)
This was perl 5.38 - I did not run any specific tests. The fix allowed Apache to start.
Comment 7 Kurt Jaeger freebsd_committer freebsd_triage 2024-07-30 17:23:20 UTC
(In reply to Dan Langille from comment #6)
Mk/bsd.default-versions.mk still has 5.36 as default, so maybe someone
needs to test that perl version, too.
Comment 8 Dan Langille freebsd_committer freebsd_triage 2024-08-29 14:16:47 UTC
(In reply to Kurt Jaeger from comment #7)
My testing consisted of:

$ freebsd-version -urk
13.3-RELEASE-p5
13.3-RELEASE-p5
13.3-RELEASE-p5

$ pkg info -x perl
ap24-mod_perl2-2.0.13,3
p5-perl-ldap-0.6800
perl5-5.36.3_1

$ pkg info -x apache
apache24-2.4.62

$ sudo service apache24 onestart
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.

$ sudo ps auwwx | grep http
root  28469   0.0  0.3  28828 14068  -  Ss   14:14    0:00.01 /usr/local/sbin/httpd
www   28606   0.0  0.3  26268 13976  -  S    14:14    0:00.00 /usr/local/sbin/httpd
www   28665   0.0  0.3  26268 13976  -  S    14:14    0:00.00 /usr/local/sbin/httpd
www   28794   0.0  0.3  26268 13976  -  S    14:14    0:00.00 /usr/local/sbin/httpd
www   28830   0.0  0.3  26268 13976  -  S    14:14    0:00.00 /usr/local/sbin/httpd
www   28943   0.0  0.3  26268 13976  -  S    14:14    0:00.00 /usr/local/sbin/httpd
dvl   29191   0.0  0.1  12792  2464  0  S+   14:14    0:00.00 grep http
Comment 9 Patrick Tudor 2024-11-14 03:14:54 UTC
Hi everyone, the patch to .13 worked for me. Thanks,

% pkg info -x perl ; pkg info -x apache
ap24-mod_perl2-2.0.13,3
perl5-5.38.2_2
apache-ant-1.10.13_1
apache24-2.4.62
Comment 10 commit-hook freebsd_committer freebsd_triage 2024-12-29 11:24:22 UTC
A commit in branch main references this bug:

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

commit 4d94dadbdacb76d55fefdf5c42c4a06712c1dd72
Author:     Kurt Jaeger <pi@FreeBSD.org>
AuthorDate: 2024-12-29 11:16:11 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-12-29 11:16:11 +0000

    www/mod_perl2: update 2.0.12 -> 2.0.13

    PR:     280499, 280513
    Changes: https://svn.apache.org/repos/asf/perl/modperl/tags/2_0_13/Changes
    Reviewed by: dvl, ptudor@ptudor.net

 www/mod_perl2/Makefile | 2 +-
 www/mod_perl2/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 11 Kurt Jaeger freebsd_committer freebsd_triage 2024-12-29 11:25:15 UTC
Committed.