You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Rick Sattler <rj...@yahoo.com> on 2014/01/18 05:05:27 UTC
mod_perl-2.0.8 bug report - make test fails - FreeBSD
I am having trouble running "make test" using the latest mod_perl version 2.0.8 on my FreeBSD system. I receive the following error message:
/usr/local/bin/perl5.18.1 -Iblib/arch -Iblib/lib t/TEST -clean
APACHE_TEST_APXS= APACHE_TEST_PORT= APACHE_TEST_HTTPD= APACHE_TEST_USER= APACHE_TEST_GROUP= /usr/local/bin/perl5.18.1 -Iblib/arch -Iblib/lib t/TEST -bugreport -verbose=0
[ error] configure() has failed:
open /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/t/htdocs/index.html: Permission denied at /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/Apache-Test/lib/Apache/TestConfig.pm line 977.
[warning] forcing Apache::TestConfig object save
open /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/t/conf/apache_test_config.pm: Permission denied at /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/Apache-Test/lib/Apache/TestConfig.pm line 977.
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
*** Error code 13
Stop.
make[1]: stopped in /usr/ports/www/mod_perl2/work/mod_perl-2.0.8
*** Error code 1 (ignored)
----------------------------
As requested, I ran the "make test" using verbose mode:
% make test TEST_VERBOSE=1
----------------------------
/usr/local/bin/perl5.18.1 -Iblib/arch -Iblib/lib t/TEST -clean
APACHE_TEST_APXS= APACHE_TEST_PORT= APACHE_TEST_HTTPD= APACHE_TEST_USER= APACHE_TEST_GROUP= /usr/local/bin/perl5.18.1 -Iblib/arch -Iblib/lib t/TEST -bugreport -verbose=1
[ error] configure() has failed:
open /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/t/htdocs/index.html: Permission denied at /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/Apache-Test/lib/Apache/TestConfig.pm line 977.
[warning] forcing Apache::TestConfig object save
open /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/t/conf/apache_test_config.pm: Permission denied at /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/Apache-Test/lib/Apache/TestConfig.pm line 977.
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
*** Error code 13
Stop.
make[1]: stopped in /usr/ports/www/mod_perl2/work/mod_perl-2.0.8
*** Error code 1 (ignored)
-------------------------------
As you can see, I get the same error. There was not a error log generated during this test, at least one that I could find..
I did compile the perl5.18.1 package on the system I am trying to run this test on.
Here is some additional info:
rick@aloha:/usr/ports/www/mod_perl2 % uname -a
FreeBSD aloha 10.0-RC3 FreeBSD 10.0-RC3 #0 r259778: Tue Dec 24 04:35:46 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
rick@aloha:/usr/ports/www/mod_perl2 % perl -V
Summary of my perl5 (revision 5 version 18 subversion 1) configuration:
Platform:
osname=freebsd, osvers=10.0-rc3, archname=i386-freebsd-thread-multi-64int
uname='freebsd aloha 10.0-rc3 freebsd 10.0-rc3 #0 r259778: tue dec 24 04:35:46 utc 2013 root@snap.freebsd.org:usrobjusrsrcsysgeneric i386 '
config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.18/mach -Dprivlib=/usr/local/lib/perl5/5.18 -Dman3dir=/usr/local/lib/perl5/5.18/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.18/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.18 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.18/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.18/BSDPAN" -Doptimize=-O2 -pipe -fno-strict-aliasing -Ui_gdbm -Duse64bitint -Dusethreads=y -Dusemymalloc=n'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.18/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
optimize='-O2 -pipe -fno-strict-aliasing',
cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.18/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-pthread -Wl,-E -fstack-protector -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lcrypt -lutil
perllibs=-lm -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/local/lib/perl5/5.18/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared -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_PRESERVE_IVUV PERL_SAWAMPERSAND 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 freebsd
Compiled at Jan 17 2014 19:07:40
@INC:
/usr/local/lib/perl5/5.18/BSDPAN
/usr/local/lib/perl5/site_perl/5.18/mach
/usr/local/lib/perl5/site_perl/5.18
/usr/local/lib/perl5/5.18/mach
/usr/local/lib/perl5/5.18
mod_perl-2.0.8 bug report - make test fails - FreeBSD
Posted by Rick Sattler <rj...@yahoo.com>.
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
I am having trouble running "make test" using the latest mod_perl version 2.0.8 on my FreeBSD system. I receive the following error message:
/usr/local/bin/perl5.18.1 -Iblib/arch -Iblib/lib t/TEST -clean
APACHE_TEST_APXS= APACHE_TEST_PORT= APACHE_TEST_HTTPD= APACHE_TEST_USER= APACHE_TEST_GROUP= /usr/local/bin/perl5.18.1 -Iblib/arch -Iblib/lib t/TEST -bugreport -verbose=0
[ error] configure() has failed:
open /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/t/htdocs/index.html: Permission denied at /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/Apache-Test/lib/Apache/TestConfig.pm line 977.
[warning] forcing Apache::TestConfig object save
open /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/t/conf/apache_test_config.pm: Permission denied at /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/Apache-Test/lib/Apache/TestConfig.pm line 977.
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/|
+--------------------------------------------------------+
*** Error code 13
Stop.
make[1]: stopped in /usr/ports/www/mod_perl2/work/mod_perl-2.0.8
*** Error code 1 (ignored)
----------------------------
As requested, I ran the "make test" using verbose mode:
% make test TEST_VERBOSE=1
----------------------------
/usr/local/bin/perl5.18.1 -Iblib/arch -Iblib/lib t/TEST -clean
APACHE_TEST_APXS= APACHE_TEST_PORT= APACHE_TEST_HTTPD= APACHE_TEST_USER= APACHE_TEST_GROUP= /usr/local/bin/perl5.18.1 -Iblib/arch -Iblib/lib t/TEST -bugreport -verbose=1
[ error] configure() has failed:
open /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/t/htdocs/index.html: Permission denied at /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/Apache-Test/lib/Apache/TestConfig.pm line 977.
[warning] forcing Apache::TestConfig object save
open /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/t/conf/apache_test_config.pm: Permission denied at /usr/ports/www/mod_perl2/work/mod_perl-2.0.8/Apache-Test/lib/Apache/TestConfig.pm line 977.
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/|
+--------------------------------------------------------+
*** Error code 13
Stop.
make[1]: stopped in /usr/ports/www/mod_perl2/work/mod_perl-2.0.8
*** Error code 1 (ignored)
-------------------------------
As you can see, I get the same error. There was not a error log generated during this test, at least one that I could find..
I did compile the perl5.18.1 package on the system I am trying to run this test on.
Here is some additional info:
rick@aloha:/usr/ports/www/mod_perl2 % uname -a
FreeBSD aloha 10.0-RC3 FreeBSD 10.0-RC3 #0 r259778: Tue Dec 24 04:35:46 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
2. Used Components and their Configuration:
*** mod_perl version 2.000008
*** using /usr/local/lib/perl5/site_perl/5.18/mach/Apache2/BuildConfig.pm
*** Makefile.PL options:
MP_APR_CONFIG => /usr/local/bin/apr-1-config
MP_APR_LIB => aprext
MP_APXS => /usr/local/sbin/apxs
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
*** The httpd binary was not found
*** (apr|apu)-config linking info
-L/usr/local/lib -laprutil-1 -lldap -llber -ldb-4.2 -lgdbm -lc -lexpat -L/usr/lib -L/usr/local/lib -L/usr/local/lib/db42
-L/usr/local/lib -lapr-1 -lcrypt -pthread
*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 18 subversion 1) configuration:
Platform:
osname=freebsd, osvers=10.0-rc3, archname=i386-freebsd-thread-multi-64int
uname='freebsd aloha 10.0-rc3 freebsd 10.0-rc3 #0 r259778: tue dec 24 04:35:46 utc 2013 root@snap.freebsd.org:usrobjusrsrcsysgeneric i386 '
config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.18/mach -Dprivlib=/usr/local/lib/perl5/5.18 -Dman3dir=/usr/local/lib/perl5/5.18/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.18/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.18 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.18/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.18/BSDPAN" -Doptimize=-O2 -pipe -fno-strict-aliasing -Ui_gdbm -Duse64bitint -Dusethreads=y -Dusemymalloc=n'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.18/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
optimize='-O2 -pipe -fno-strict-aliasing',
cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.18/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-pthread -Wl,-E -fstack-protector -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lcrypt -lutil
perllibs=-lm -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/local/lib/perl5/5.18/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared -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_PRESERVE_IVUV PERL_SAWAMPERSAND 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 freebsd
Compiled at Jan 17 2014 19:07:40
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/local/lib/perl5/5.18/BSDPAN
/usr/local/lib/perl5/site_perl/5.18/mach
/usr/local/lib/perl5/site_perl/5.18
/usr/local/lib/perl5/5.18/mach
/usr/local/lib/perl5/5.18
.
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by -e on Sat Jan 18 04:35:09 2014 GMT.
-------------8<---------- End Bug Report --------------8<----------