Re: What is test.o?
On Wed, 12 Sep 2001, Doug MacEachern wrote: > On Thu, 13 Sep 2001, Gary Benson wrote: > > > Well, I moved it and it works properly now. I hope that you didn't spend > > too much time on it :-/ > > good news. not at all, i knew right away from past experience > MakeMaker was picking up a .c or .xs file you didn't mean it to, just > didn't know which one, diff against your Makefile revealed the culprit. Sweet.
Re: [Fwd: Cron /var/src/nightly/nightly2]
can you have cron run the tests with -v so we get verbose output? that way we can figure out where cgi is failing. thanks. -j On Wed, Sep 12, 2001 at 04:40:34PM -0700, Ian Holsman wrote: + + John.. + here is my 'ENV' which the test jobs are running with. + + Oh.. + mod_autoindex was breaking, but it is fixed now. + ..Ian
[Fwd: Cron /var/src/nightly/nightly2]
John.. here is my 'ENV' which the test jobs are running with. Oh.. mod_autoindex was breaking, but it is fixed now. ..Ian Original Message APACHE_TEST_NO_COLOR=1 BASH=/bin/sh BASH_VERSINFO=([0]="2" [1]="04" [2]="21" [3]="1" [4]="release" [5]="i386-redhat-linux-gnu") BASH_VERSION='2.04.21(1)-release' DIRSTACK=() EUID=500 GROUPS=() HOME=/home/iyh HOSTNAME=c1619481-a.almda1.sfba.home.com HOSTTYPE=i386 IFS=' ' LOGNAME=iyh MACHTYPE=i386-redhat-linux-gnu OLDPWD=/usr/local/src/nightly OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/local/src/nightly/httpd-2.0-install/bin:/usr/bin:/bin PIPESTATUS=([0]="0") PPID=18610 PS4='+ ' PWD=/usr/local/src/nightly/httpd-2.0-test SHELL=/bin/sh SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=2 TERM=dumb UID=500 _=PATH addlines=' 4' addpkgs='apr apr_util httpd_proxy httpd_test' addpkgs_name='apr apr-util httpd-proxy httpd-test' basepkgs=httpd-2.0 cfgopts='--enable-so --enable-shared --enable-maintainer-mode --enable-auth-anon --enable-auth-dbm --enable-auth-db --enable-auth-digest --enable-file-cache --enable-echo --enable-cache --enable-mime-magic --enable-cern-meta --enable-expires --enable-headers --enable-usertrack --enable-unique-id --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-dav --enable-info --enable-suexec --enable-cgi --enable-cgid --enable-dav-fs --enable-vhost-alias --enable-rewrite --enable-case-filter --enable-case-filter-in -prefix=/usr/local/src/nightly/httpd-2.0-install ' compressext=.tar.Z date=20010912155959 datenow='Wed Sep 12 16:08:29 PDT 2001' destdir=/usr/local/src/nightly/logs errfile=/usr/local/src/nightly/20010912155959.errlog fixlines=10 gzipext=.tar.gz indir=/usr/local/src/nightly/src installdir=/usr/local/src/nightly/httpd-2.0-install last_testoutfile=/usr/local/src/nightly/last.test_outlog [EMAIL PROTECTED] msg='running the test framework' msglines=14 nocfgopts='--enable-charset-lite --enable-disk-cache --with-tls=/usr --with-ssl=/usr --enable-ssl --enable-tls ' opsys='Linux 2.4.3-12smp' origdir=/usr/local/src/nightly outdir=httpd-2.0-nightly outfile=/usr/local/src/nightly/20010912155959.outlog pkgs='httpd-2.0 apr apr-util httpd-proxy httpd-test' psvr=:pserver:[EMAIL PROTECTED]:/home/cvspublic repdir=httpd_test serveroutfile=/usr/local/src/nightly/20010912155959.server_outlog tarname=httpd-2.0-nightly_20010912155959 testdir=httpd-2.0-test testerrfile=/usr/local/src/nightly/20010912155959.test_errlog [EMAIL PROTECTED] testoutfile=/usr/local/src/nightly/20010912155959.test_outlog thelink=http://cvs.apache.org/builds/httpd-proxy/logs/ zipext=.zip build2main=() { cp -R $indir/httpd-2.0 .; mv httpd-2.0 $outdir; return $? } build_apr=() { cp -R $indir/$repdir $outdir/srclib/; return $? } build_apr_util=() { cp -R $indir/apr-util $outdir/srclib/; return $? } build_httpd_proxy=() { mkdir $outdir/modules/proxy; cp -R $indir/httpd-proxy/module-2.0/* $outdir/modules/proxy; cp -R $indir/httpd-proxy/module-2.0/.[a-z]* $outdir/modules/proxy; cp $indir/httpd-proxy/docs/mod_proxy.html $outdir/docs/manual/mod; return $? } build_httpd_test=() { mkdir $testdir; cp -R $indir/httpd-test/perl-framework/* $testdir; return $? } emitmsg=() { echo $msg >>$errfile; echo $msg >>$outfile; return $? }
Re: What is test.o?
On Thu, 13 Sep 2001, Gary Benson wrote: > Well, I moved it and it works properly now. I hope that you didn't spend > too much time on it :-/ good news. not at all, i knew right away from past experience MakeMaker was picking up a .c or .xs file you didn't mean it to, just didn't know which one, diff against your Makefile revealed the culprit.
Re: What is test.o?
On Wed, 12 Sep 2001, Doug MacEachern wrote: > On Wed, 12 Sep 2001, Gary Benson wrote: > > > The makefile itself makes the directory, and puts a .exists file in it, > > but I don't know what it is trying to to do it or why. I've attached my > > makefile if you want to compare, or if you send me yours then I'll compare > > it instead... > > looks like there's a mod_random_chunk.c in your perl-framework/ directory? Yes, it's the one I made the other day. I moved it out of its own directory so it didn't get nailed when I ran cvs update. Well, I moved it and it works properly now. I hope that you didn't spend too much time on it :-/ Cheers, Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 85A8F78B ]
Re: What is test.o?
On Wed, 12 Sep 2001, Gary Benson wrote: > The makefile itself makes the directory, and puts a .exists file in it, > but I don't know what it is trying to to do it or why. I've attached my > makefile if you want to compare, or if you send me yours then I'll compare > it instead... looks like there's a mod_random_chunk.c in your perl-framework/ directory?
Re: [Fwd: FAILURE httpd-2.0 automated test log]
Yeah, it passes for me too, but I thought I'd mention it; you never know. Running from cron used to break the mod_env tests too, but I think I fixed that a while back. On Wed, 12 Sep 2001, john sachs wrote: > i just had cron run the cgi test and it passed for me. > > On Wed, Sep 12, 2001 at 03:33:57PM +0100, Gary Benson wrote: > + > + On Sat, 8 Sep 2001, Doug MacEachern wrote: > + > + > On 6 Sep 2001, Ian Holsman wrote: > + > > + > > 1. running modules/cgi from a cron job fails on certain tests. > + > > + > haven't looked into that, could be a permissions problem? > + > + or a problem with the fact that cron runs stuff with a very limited > + environment. Try running "/bin/sh -c set > /tmp/env" from a cron job... > + > [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 85A8F78B ]
Re: What is test.o?
On Wed, 12 Sep 2001, Doug MacEachern wrote: > On Wed, 12 Sep 2001, Gary Benson wrote: > > > rm -f blib/arch/auto/httpd-test/test.so > > LD_RUN_PATH="" gcc -shared test.o -o blib/arch/auto/httpd-test/test.so > > gcc: test.o: No such file or directory > > gcc: No input files > > make: *** [blib/arch/auto/httpd-test/test.so] Error 1 > > not seeing that here. do you have a test.c or test.xs file in that > directory by chance? actually, why is there any httpd-test directory > relative to perl-framework at all? The makefile itself makes the directory, and puts a .exists file in it, but I don't know what it is trying to to do it or why. I've attached my makefile if you want to compare, or if you send me yours then I'll compare it instead... Gary # This Makefile is for the httpd-test extension to perl. # # It was generated automatically by MakeMaker version # 5.45 (Revision: 1.222) from the contents of # Makefile.PL. Don't edit this file, edit Makefile.PL instead. # # ANY CHANGES MADE HERE WILL BE LOST! # # MakeMaker ARGV: () # # MakeMaker Parameters: # NAME => q[httpd-test] # VERSION => q[0.01] # clean => { FILES=>q[./t/htdocs/modules/rewrite/db.pl ./t/htdocs/modules/rewrite/numbers.pl ./t/htdocs/modules/rewrite/numbers2.pl ./t/htdocs/modules/cgi/bogus-perl.pl ./t/htdocs/modules/cgi/bogus1k.pl ./t/htdocs/modules/cgi/env.pl ./t/htdocs/modules/cgi/perl.pl ./t/htdocs/modules/cgi/perl_echo.pl t/TEST] } # --- MakeMaker post_initialize section: # --- MakeMaker const_config section: # These definitions are from config.sh (via /home/gary/temp/sh-inst.0006/lib/perl/Config.pm) # They may have been overridden via Makefile.PL or on the command line AR = ar CC = gcc CCCDLFLAGS = -fpic CCDLFLAGS = -rdynamic DLEXT = so DLSRC = dl_dlopen.xs LD = gcc LDDLFLAGS = -shared LDFLAGS = LIBC = /lib/libc-2.2.2.so LIB_EXT = .a OBJ_EXT = .o OSNAME = linux OSVERS = 2.4.2-2smp RANLIB = : SO = so EXE_EXT = FULL_AR = /usr/bin/ar # --- MakeMaker constants section: AR_STATIC_ARGS = cr NAME = httpd-test DISTNAME = httpd-test NAME_SYM = httpd_test VERSION = 0.01 VERSION_SYM = 0_01 XS_VERSION = 0.01 INST_BIN = blib/bin INST_EXE = blib/script INST_LIB = blib/lib INST_ARCHLIB = blib/arch INST_SCRIPT = blib/script PREFIX = /home/gary/temp/sh-inst.0006 INSTALLDIRS = site INSTALLPRIVLIB = $(PREFIX)/lib/perl INSTALLARCHLIB = $(PREFIX)/lib/perl INSTALLSITELIB = $(PREFIX)/lib/perl/site INSTALLSITEARCH = $(PREFIX)/lib/perl/site INSTALLBIN = $(PREFIX)/bin INSTALLSCRIPT = $(PREFIX)/bin PERL_LIB = /home/gary/temp/sh-inst.0006/lib/perl PERL_ARCHLIB = /home/gary/temp/sh-inst.0006/lib/perl SITELIBEXP = /home/gary/temp/sh-inst.0006/lib/perl/site SITEARCHEXP = /home/gary/temp/sh-inst.0006/lib/perl/site LIBPERL_A = libperl.a FIRST_MAKEFILE = Makefile MAKE_APERL_FILE = Makefile.aperl PERLMAINCC = $(CC) PERL_INC = /home/gary/temp/sh-inst.0006/lib/perl/CORE PERL = /home/gary/temp/sh-inst.0006/bin/perl FULLPERL = /home/gary/temp/sh-inst.0006/bin/perl FULL_AR = /usr/bin/ar VERSION_MACRO = VERSION DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\" XS_VERSION_MACRO = XS_VERSION XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\" PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc MAKEMAKER = /home/gary/temp/sh-inst.0006/lib/perl/ExtUtils/MakeMaker.pm MM_VERSION = 5.45 # FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle). # BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle) # ROOTEXT = Directory part of FULLEXT with leading slash (eg /DBD) !!! Deprecated from MM 5.32 !!! # PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar) # DLBASE = Basename part of dynamic library. May be just equal BASEEXT. FULLEXT = httpd-test BASEEXT = test DLBASE = $(BASEEXT) OBJECT = $(BASEEXT)$(OBJ_EXT) LDFROM = $(OBJECT) LINKTYPE = dynamic # Handy lists of source code files: XS_FILES= C_FILES = mod_random_chunk.c O_FILES = mod_random_chunk.o H_FILES = HTMLLIBPODS= HTMLSCRIPTPODS = MAN1PODS = MAN3PODS = HTMLEXT = html INST_MAN1DIR = blib/man1 INSTALLMAN1DIR = $(PREFIX)/man/man1 MAN1EXT = 1 INST_MAN3DIR = blib/man3 INSTALLMAN3DIR = $(PREFIX)/man/man3 MAN3EXT = 3 PERM_RW = 644 PERM_RWX = 755 # work around a famous dec-osf make(1) feature(?): makemakerdflt: all .SUFFIXES: .xs .c .C .cpp .cxx .cc $(OBJ_EXT) # Nick wanted to get rid of .PRECIOUS. I don't remember why. I seem to recall, that # some make implementations will delete the Makefile when we rebuild it. Because # we call false(1) when we rebuild it. So make(1) is not completely wrong when it # does so. Our milage may vary. # .PRECIOUS: Makefile# seems to be not necessary anymore .PHONY: all config static dynamic test linkext manifest # Where is the Config information that we are using/depend on CONFIGDEP = $(PERL_ARCHLIB)/Config.pm $(PERL_INC)/config.h # Where to put things: INST_LIBDIR = $(INST_LIB) INST_ARCHLIBDIR = $(INST_AR
Re: What is test.o?
On Wed, 12 Sep 2001, Gary Benson wrote: > rm -f blib/arch/auto/httpd-test/test.so > LD_RUN_PATH="" gcc -shared test.o -o blib/arch/auto/httpd-test/test.so > gcc: test.o: No such file or directory > gcc: No input files > make: *** [blib/arch/auto/httpd-test/test.so] Error 1 not seeing that here. do you have a test.c or test.xs file in that directory by chance? actually, why is there any httpd-test directory relative to perl-framework at all?
Re: [Fwd: FAILURE httpd-2.0 automated test log]
i just had cron run the cgi test and it passed for me. On Wed, Sep 12, 2001 at 03:33:57PM +0100, Gary Benson wrote: + + On Sat, 8 Sep 2001, Doug MacEachern wrote: + + > On 6 Sep 2001, Ian Holsman wrote: + > + > > 1. running modules/cgi from a cron job fails on certain tests. + > + > haven't looked into that, could be a permissions problem? + + or a problem with the fact that cron runs stuff with a very limited + environment. Try running "/bin/sh -c set > /tmp/env" from a cron job... +
What is test.o?
Hi guys, Since sometime on Friday something has changed which has broken my build in a strange way. It's now looking for a file called `test.o' which it doesn't attempt to build (as far as I can see). I'm no Perl wizard; can any of you guys hazard a guess as to what is going on? Gary [ Gary Benson, Red Hat Europe ][ [EMAIL PROTECTED] ][ GnuPG 60E8793A ] % perl Makefile.PL generating script/t/htdocs/modules/rewrite/db.pl generating script/t/htdocs/modules/rewrite/numbers.pl generating script/t/htdocs/modules/rewrite/numbers2.pl generating script/t/htdocs/modules/cgi/bogus-perl.pl generating script/t/htdocs/modules/cgi/bogus1k.pl generating script/t/htdocs/modules/cgi/env.pl generating script/t/htdocs/modules/cgi/perl.pl generating script/t/htdocs/modules/cgi/perl_echo.pl generating script...t/TEST Checking if your kit is complete... Looks good Writing Makefile for Apache::Test Writing Makefile for httpd-test % make make[1]: Entering directory `/home/gary/work/httpd-test/perl-framework/Apache-Test' cp lib/Apache/TestHarness.pm ../blib/lib/Apache/TestHarness.pm cp lib/Bundle/ApacheTest.pm ../blib/lib/Bundle/ApacheTest.pm cp lib/Apache/TestRunPerl.pm ../blib/lib/Apache/TestRunPerl.pm cp lib/Apache/TestUtil.pm ../blib/lib/Apache/TestUtil.pm cp lib/Apache/TestSort.pm ../blib/lib/Apache/TestSort.pm cp lib/Apache/TestServer.pm ../blib/lib/Apache/TestServer.pm cp lib/Apache/TestPerlDB.pm ../blib/lib/Apache/TestPerlDB.pm cp lib/Apache/TestConfigParse.pm ../blib/lib/Apache/TestConfigParse.pm cp lib/Apache/TestConfigPerl.pm ../blib/lib/Apache/TestConfigPerl.pm cp lib/Apache/TestConfigC.pm ../blib/lib/Apache/TestConfigC.pm cp lib/Apache/TestRun.pm ../blib/lib/Apache/TestRun.pm cp lib/Apache/TestConfig.pm ../blib/lib/Apache/TestConfig.pm cp lib/Apache/Test.pm ../blib/lib/Apache/Test.pm cp lib/Apache/TestRequest.pm ../blib/lib/Apache/TestRequest.pm cp lib/Apache/TestHandler.pm ../blib/lib/Apache/TestHandler.pm cp lib/Apache/TestMM.pm ../blib/lib/Apache/TestMM.pm cp lib/Apache/TestTrace.pm ../blib/lib/Apache/TestTrace.pm Manifying ../blib/man3/Bundle::ApacheTest.3 Manifying ../blib/man3/Apache::Test.3 Manifying ../blib/man3/Apache::TestTrace.3 Manifying ../blib/man3/Apache::TestUtil.3 make[1]: Leaving directory `/home/gary/work/httpd-test/perl-framework/Apache-Test' Running Mkbootstrap for httpd-test () chmod 644 test.bs rm -f blib/arch/auto/httpd-test/test.so LD_RUN_PATH="" gcc -shared test.o -o blib/arch/auto/httpd-test/test.so gcc: test.o: No such file or directory gcc: No input files make: *** [blib/arch/auto/httpd-test/test.so] Error 1
Re: [Fwd: FAILURE httpd-2.0 automated test log]
On Sat, 8 Sep 2001, Doug MacEachern wrote: > On 6 Sep 2001, Ian Holsman wrote: > > > 1. running modules/cgi from a cron job fails on certain tests. > > haven't looked into that, could be a permissions problem? or a problem with the fact that cron runs stuff with a very limited environment. Try running "/bin/sh -c set > /tmp/env" from a cron job...