Package Details: mod_perl 2.0.13-1

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: tachtler
Last Packager: tachtler
Votes: 9
Popularity: 0.001487
First Submitted: 2015-06-28 15:38 (UTC)
Last Updated: 2024-03-30 18:23 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

mattsday commented on 2021-05-29 07:23 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

@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 (UTC)

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 (UTC)

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.

nobicycle commented on 2020-08-24 05:30 (UTC)

@mattsday Thank you. That allowed successful compile.