develooper Front page | perl.perl5.porters | Postings from July 2002

Re: [ID 20020623.023] make test for 5.8.0-RC1 has 3 failures on FreeBSD

From:
Alexandros Manoussakis
Date:
July 13, 2002 15:21
Subject:
Re: [ID 20020623.023] make test for 5.8.0-RC1 has 3 failures on FreeBSD
Message ID:
Pine.OSF.4.44.0207131816490.6355-100000@kobayashi.ini.cmu.edu
Right on, I was on NFS, great catch! Compiling and running make test in
/var/tmp passed all tests with no problems. Do the tests need to be
tweaked so they run on NFS too you think? perl-5.6.1 tests ok on NFS.

By the way, is perl-5.8.0 supposed to work on FreeBSD with threads
enabled?
Compilation fails on all my systems unless I remove -pthread and use
linuxthreads instead. Is that the best way to do it on FreeBSD ?

Thanks again!

Alex

Here's the compilation errors (with -Dusethreads -Duseithreads)

gcc -pthread -Wl,-E  -L/usr/local/lib -o miniperl  miniperlmain.o opmini.o libperl.a -lm -lc_r -lcrypt -lutil
libperl.a(util.o): In function `Perl_my_popen_list':
util.o(.text+0x2806): undefined reference to `__pthread_sleep'
util.o(.text+0x29b7): undefined reference to `__pthread_read'
libperl.a(util.o): In function `Perl_my_popen':
util.o(.text+0x2b9e): undefined reference to `__pthread_sleep'
util.o(.text+0x2dd3): undefined reference to `__pthread_read'
libperl.a(util.o): In function `Perl_my_fork':
util.o(.text+0x2ef1): undefined reference to `__pthread_fork'
libperl.a(util.o): In function `Perl_wait4pid':
util.o(.text+0x3173): undefined reference to `__pthread_waitpid'


On 13 Jul 2002, Slaven Rezic wrote:

> Alexandros Manoussakis <amm2@ini.cmu.edu> writes:
>
> > I don't have any 4.6-RELEASE, and I'm still seeing the exact same error
> > messages with perl-5.8.0-RC2 on FreeBSD 4.5-RELEASE, and 4.5-STABLE
> >
>
> All three failures seem to be related to filesystem problems. Are you
> using NFS or a plain FFS filesystem? Do you run the tests as root or a
> normal user?
>
> Regards,
> 	Slaven
>
> > Alex
> >
> > On Fri, 12 Jul 2002, Nicholas Clark wrote:
> >
> > > On Wed, Jun 19, 2002 at 08:24:18PM -0400, Alexandros M Manoussakis wrote:
> > > > Compiling perl-5.8.0-RC1 on a FreeBSD 4.6-PRERELEASE gives me
> > > > 3 tests failures during "make test".
> > > >
> > > > b/ExtUtils/t/Command...............#     Failed test (../lib/ExtUtils/t/Command.t at line 104)
> > > > #     '456'
> > > > #         <=
> > > > #     '1'
> > > > # mtime == 1024531111, should be 1024530655
> > > > FAILED at test 10
> > > >
> > > > lib/ExtUtils/t/Mkbootstrap...........#     Failed test (../lib/ExtUtils/t/Mkbootstrap.t at line 87)
> > > > #                   ''
> > > > #     doesn't match '(?-xism:Unable to open dasboot\.bs)'
> > > > FAILED at test 8
> > > >
> > > >
> > > > lib/ExtUtils/t/Packlist..............#     Failed test (../lib/ExtUtils/t/Packlist.t at line 98)
> > > > #                   ''
> > > > #     doesn't match '(?-xism:Can't open file)'
> > > > FAILED at test 17
> > > >
> > > > I have no trouble compiling/testing 5.6.1 on the same machine
> > > > I also tried 5.8.0-RC1 on FreeBSD 4.5-RELEASE, and it didn't have the
> > > > first failure but had the other 2 (MkBootstrap and Packlist)
> > > > What could be the problem?
> > >
> > > I've no idea. I've not seen any problems with the current development
> > > source (post RC2) on FreeBSD 4.6 on three different systems. If your system
> > > is now on 4.6-RELEASE have you been able to rebuild and retest perl? If so,
> > > do you still see the same problem?
> > >
> > > Nicholas Clark
> > > --
> > > Even better than the real thing:	http://nms-cgi.sourceforge.net/
> > >
> >
> >
> >
>
> --
> Slaven Rezic - slaven.rezic@berlin.de
>
>     tksm - Perl/Tk program for searching and replacing in multiple files
>     http://ptktools.sourceforge.net/#tksm
>




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About