Dear mod_perl group,
I just started having trouble compiling mod_perl. Libc-2.19.so was upgraded
on August 28th in Ubuntu, and that seems to be the only relevant difference
on my system. I also haven't upgraded any of the packages below.
# Stuff I am building from scratch
PERL_VERSION=5.20.0
OPENSSL_VERSION=1.0.1i
HTTPD_VERSION=2.2.27
APR_VERSION=1.5.1
APR_UTIL_VERSION=1.5.3
APR_ICONV_VERSION=1.2.1
LIBAPREQ2_VERSION=2.13
MOD_PERL_VERSION=2.0.8
GIT_VERSION=2.1.0
CURL_VERSION=7.37.1
LIBXML2_VERSION=2.9.1
LIBXSLT_VERSION=1.1.28
POSTGRESQL_VERSION=9.3.5
# echo $PATH
/chroot/v/bin:/home/cto/bin::/usr/local/bin:/usr/bin:/bin
# echo $LD_LIBRARY_PATH
/chroot/v/lib:/chroot/v/lib64
# perl -V
Summary of my perl5 (revision 5 version 20 subversion 0) configuration:
Platform:
osname=linux, osvers=3.13.0-35-generic, archname=x86_64-linux-thread-multi
uname='linux center2.host.net 3.13.0-35-generic #62-ubuntu smp fri aug 15
01:58:42 utc 2014 x86_64 x86_64 x86_64 gnulinux '
config_args='-des
-Dprefix=/chroot/v/host.net/install/base/builds/perl/perl-5.20.0
-Dusemultiplicity -Dusethreads -Duse64bitall -A ccflags=-fPIC'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.8.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed
/usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib
/usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.19'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib
-fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF USE_REENTRANT_API
Built under linux
Compiled at Aug 31 2014 16:58:38
%ENV:
PERL5LIB="/chroot/v/home/LibRoot"
PERLCRITICRC="/home/cto/.interactive/perl/perlcriticrc"
@INC:
/chroot/v/home/LibRoot
/chroot/v/host.net/install/base/builds/perl/perl-5.20.0/lib/site_perl/5.20.0/x86_64-linux-thread-multi
/chroot/v/host.net/install/base/builds/perl/perl-5.20.0/lib/site_perl/5.20.0
/chroot/v/host.net/install/base/builds/perl/perl-5.20.0/lib/5.20.0/x86_64-linux-thread-multi
/chroot/v/host.net/install/base/builds/perl/perl-5.20.0/lib/5.20.0
.
# The t/logs/error_log says a lot. I've clipped a bunch that looks 100% OK.
[Sun Aug 31 17:28:16 2014] [info] Init: Seeding PRNG with 0 bytes of entropy
[Sun Aug 31 17:28:16 2014] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Sun Aug 31 17:28:16 2014] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Sun Aug 31 17:28:16 2014] [info] Init: Generating temporary EC parameters (256
bits)
[Sun Aug 31 17:28:16 2014] [warn] Init: Session Cache is not configured [hint:
SSLSessionCache]
[Sun Aug 31 17:28:16 2014] [info] Init: Initializing (virtual) servers for SSL
[Sun Aug 31 17:28:16 2014] [info] mod_ssl/2.2.27 compiled against Server:
Apache/2.2.27, Library: OpenSSL/1.0.1i
********************************************************************************
*** This is a test for Apache2::ServerUtil::server_shutdown_cleanup_register ***
*** Following a line consisting only of * characters there should be a line ***
*** containing ***
*** "cleanup died: testing server_shutdown_cleanup_register". ***
*** The next line should then read ***
*** "done with server_shutdown_cleanup_register" ***
********************************************************************************
Apache2::ServerUtil: cleanup died: testing server_shutdown_cleanup_register
*** done with server_shutdown_cleanup_register ***
********************************************************************************
END in modperl_extra.pl, pid=30475
[Sun Aug 31 17:28:17 2014] [info] Init: Seeding PRNG with 0 bytes of entropy
[Sun Aug 31 17:28:17 2014] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Sun Aug 31 17:28:17 2014] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Sun Aug 31 17:28:17 2014] [info] Init: Generating temporary EC parameters (256
bits)
[Sun Aug 31 17:28:17 2014] [info] Init: Initializing (virtual) servers for SSL
[Sun Aug 31 17:28:17 2014] [info] mod_ssl/2.2.27 compiled against Server:
Apache/2.2.27, Library: OpenSSL/1.0.1i
[Sun Aug 31 17:28:17 2014] [notice] Apache/2.2.27 (Unix) world domination
series/2.0 mod_ssl/2.2.27 OpenSSL/1.0.1i mod_perl/2.0.8 Perl/v5.20.0 configured
-- resuming normal operations
[Sun Aug 31 17:28:17 2014] [info] Server built: Aug 31 2014 17:15:31
[Sun Aug 31 17:28:17 2014] [debug] prefork.c(1023): AcceptMutex: sysvsem
(default: sysvsem)
*** The following warn entry is expected and harmless ***
[Sun Aug 31 17:28:32 2014] [debug] aplog.pm(144): TestAPI::aplog test done
[Sun Aug 31 17:28:32 2014] [notice] [client 127.0.0.1] This message should
appear with LogLevel=error!
*** The following error entry is expected and harmless ***
[Sun Aug 31 17:28:42 2014] [error] Process 30556 terminates itself\n
[Sun Aug 31 17:28:43 2014] [error] [client 127.0.0.1] Handler for modperl
returned invalid result code 2
[Sun Aug 31 17:28:43 2014] [error] [client 127.0.0.1] Handler for modperl
returned invalid result code 2
*** The following warn entry is expected and harmless ***
[Sun Aug 31 17:29:07 2014] [warn] Apache::Server::warn ok
[Sun Aug 31 17:29:16 2014] [error] [client 127.0.0.1] Use of uninitialized
value in string eq at
/chroot/v/host.net/install/base/sources/mod_perl/mod_perl-2.0.8/t/response/TestDirective/perlloadmodule2.pm
line 85.\n
*** The following 2 error entries are expected and harmless ***
[Sun Aug 31 17:29:30 2014] [error] [client 127.0.0.1] This filter must die at
/chroot/v/host.net/install/base/sources/mod_perl/mod_perl-2.0.8/t/filter/TestFilter/in_error.pm
line 26.\n
[Sun Aug 31 17:29:30 2014] [error] [client 127.0.0.1] Apache2::RequestIO::read:
(120001) filter handler has failed at
/chroot/v/host.net/install/base/sources/mod_perl/mod_perl-2.0.8/t/filter/TestFilter/in_error.pm
line 41
[Sun Aug 31 17:29:48 2014] [error] [client 127.0.0.1] Undefined subroutine
&TestHooks::error::bomb called at
/chroot/v/host.net/install/base/sources/mod_perl/mod_perl-2.0.8/t/hooks/TestHooks/error.pm
line 21.\n
[Sun Aug 31 17:29:48 2014] [error] [client 127.0.0.1] Undefined subroutine
&TestHooks::error::bomb called at
/chroot/v/host.net/install/base/sources/mod_perl/mod_perl-2.0.8/t/hooks/TestHooks/error.pm
line 21.\n
*** The following error entry is expected and harmless ***
Sun Aug 31 17:29:56 2014] [error] [client 127.0.0.1] File does not exist:
/chroot/v/host.net/install/base/sources/mod_perl/mod_perl-2.0.8/t/htdocs/nope
[Sun Aug 31 17:29:56 2014] [error] [client 127.0.0.1] Use of uninitialized
value in string eq at
/chroot/v/host.net/install/base/sources/mod_perl/mod_perl-2.0.8/t/response/TestModperl/cookie.pm
line 17.\n
*** The following error entry is expected and harmless ***
[Sun Aug 31 17:30:17 2014] [error] [client 127.0.0.1] File does not exist:
/chroot/v/host.net/install/base/sources/mod_perl/mod_perl-2.0.8/t/htdocs/TestModperl__status
[Sun Aug 31 17:30:17 2014] [error] [client 127.0.0.1] Handler for modperl
returned invalid result code 601
[Sun Aug 31 17:30:17 2014] [error] [client 127.0.0.1] Handler for modperl
returned invalid result code 1
*** The following error entry is expected and harmless ***
Argument "foo9bar" isn't numeric.
Option -slow unrecognized at
/chroot/v/host.net/install/base/builds/perl/perl-5.20.0/lib/5.20.0/x86_64-linux-thread-multi/B/Concise.pm
line 321.
[Sun Aug 31 17:30:37 2014] [error] [client 127.0.0.1] user stas: authentication
failure for "/": Password Mismatch
[Sun Aug 31 17:30:39 2014] [info] Child process pid=30489 is exiting
[Sun Aug 31 17:30:39 2014] [info] Child process pid=32014 is exiting
[Sun Aug 31 17:30:39 2014] [info] Child process pid=30489 is exiting - server
push
[Sun Aug 31 17:30:39 2014] [info] Child process pid=32014 is exiting - server
push
END in modperl_extra.pl, pid=32014
END in modperl_extra.pl, pid=30489
[Sun Aug 31 17:30:39 2014] [info] Child process pid=30490 is exiting
[Sun Aug 31 17:30:39 2014] [info] Child process pid=30490 is exiting - server
push
END in TestModperl::print, pid=30490
END in modperl_extra.pl, pid=30490
[Sun Aug 31 17:30:39 2014] [info] removed PID file
/chroot/v/host.net/install/base/sources/mod_perl/mod_perl-2.0.8/t/logs/httpd.pid
(pid=30482)
[Sun Aug 31 17:30:39 2014] [notice] caught SIGTERM, shutting down
********************************************************************************
*** This is a test for Apache2::ServerUtil::server_shutdown_cleanup_register ***
*** Following a line consisting only of * characters there should be a line ***
*** containing ***
*** "cleanup died: testing server_shutdown_cleanup_register". ***
*** The next line should then read ***
*** "done with server_shutdown_cleanup_register" ***
********************************************************************************
Apache2::ServerUtil: cleanup died: testing server_shutdown_cleanup_register
*** done with server_shutdown_cleanup_register ***
********************************************************************************
END in modperl_extra.pl, pid=30482