Package Details: mod_perl 2.0.11-5

Git Clone URL: https://aur.archlinux.org/mod_perl.git (read-only, click to copy)
Package Base: mod_perl
Description: Apache module that embeds the Perl interpreter within the server
Upstream URL: http://perl.apache.org/
Licenses: Apache
Submitter: anatolik
Maintainer: mattsday
Last Packager: mattsday
Votes: 8
Popularity: 0.26
First Submitted: 2015-06-28 15:38
Last Updated: 2021-05-29 07:23

Pinned Comments

lb.laboon commented on 2017-09-14 16:24

A note to everyone compiling this package:

You must import PGP key AB34BA0040E92ECE into your keyring in order to validate the source package.
Please see the Arch wiki for more details: https://wiki.archlinux.org/index.php/makepkg#Signature_checking

Latest Comments

1 2 3 4 5 6 Next › Last »

iZiboi commented on 2021-06-09 10:57

Temporary fix: Uninstall apache before compiling this package.

mattsday commented on 2021-05-29 07:23

Updated to include the patch mentioned by @twheel to avoid build failures, hopefully upstream will release a new version soon to remove this requirement.

twheel commented on 2021-05-28 16:04

Hacked a temporary fix by downloading the fixed file from https://svn.apache.org/viewvc/perl/modperl/trunk/src/modules/perl/modperl_perl.c?view=markup&pathrev=1889014 and using it in PKGBUILD

twheel commented on 2021-05-28 15:38

Trying to install this with perl 5.34.0 and getting this error:

modperl_perl.c: In function ‘modperl_hash_seed_set’:
modperl_perl.c:271:16: error: lvalue required as unary ‘&’ operand
  271 |         memcpy(&PL_hash_seed, &MP_init_hash_seed,
      |                ^
make[1]: *** [Makefile:114: modperl_perl.lo] Error 1
make[1]: Leaving directory '/home/swuser/.cache/yay/mod_perl/src/mod_perl-2.0.11/src/modules/perl'
make: *** [Makefile:450: modperl_lib] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

mattsday commented on 2020-10-06 17:16

I won't have time to look at this again this week I think, but running a local test I'm convinced this will help many people who's tests are failing - so pushing to rel 4.

If it doesn't work, commenting out this line from the PKGBUILD: APACHE_TEST_PRETEND_NO_LWP=1 make test should.

mattsday commented on 2020-10-06 16:37

Sorry for taking so long @woodape to look.

The incriminating line seems to be here:

waiting 180 seconds for server to start: .[Sun Sep 27 05:51:36.715829 2020] [core:trace3] [pid 190080] core.c(3361): Setting LogLevel for all modules to trace8
[  error] port 8529 is in use, cannot determine server pid to shutdown
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [Makefile:1075: run_tests] Error 1
make: *** Waiting for unfinished jobs....

Do you run a service that's already bound to port 8529, this would certainly create a failure scenario. I'm thinking pushing a change that runs the tests on a higher port that's less likely to be used will make it more likely to be successful for folk - perhaps 48251.

Can you try this:

APACHE_TEST_PORT=48251 APACHE_TEST_PRETEND_NO_LWP=1 make test

If it's successful for you, I'll do a new pkg release with that change.

woodape commented on 2020-09-27 03:57

@mattsday, sorry for the delay. Here is a pastebin of a build I just tried. You can see the errors at the bottom. Any ideas?

https://pastebin.com/NmmJDGxS

mattsday commented on 2020-09-24 16:02

@woodape yes I am able to successfully build with the tests running.

If your output is the same as @nobicycle then I'd love to see the full build & failure log - as it appears (at a glance) that make test is returning non-zero but stating all's OK. There may be an error further up causing this.

The tests are also very flaky which I consider to be an upstream issue, but that's another matter.

woodape commented on 2020-09-24 11:11

Thanks very much @mattsday for taking over this package.

I'm still having no luck building the latest version 2.0.11-3. If I remove the line you suggest in a previous comment, APACHE_TEST_PRETEND_NO_LWP=1 make test it builds fine. Are you able to build with this line included?

mattsday commented on 2020-09-16 08:27

Updated the package to rel-3 which works around some upstream issues with the built-in tests, causing them to fail. These have been reported and hopefully will be fixed in a future mod_perl release.