Re: Cygwin smoke

2003-02-25 Thread Abe Timmerman
Op een zonnige winterdag (Tuesday 25 February 2003 13:31), schreef alian:

[about problems with 'lib/warnings.t' on CygWin]
 PERLIO=perlio ./perl -Ilib lib/warnings.t
 ...
 ok 412
 ok 413
 ...
 EXPECTED:
 Insecure dependency in chdir while running with -T switch at - line 5.
 GOT:
 Insecure dependency in chdir while running with -T switch at - line 5.
 not ok 414

  I've bugged Schwern with such long time ago, but he didn't see where. So
  if you can supply the patch, I guess he would be willing to apply :)

 Here a solution for Test-Smoke-1.16_20, who can be found here:

 --- mktest.pl.orig  Tue Feb 25 13:08:12 2003
 +++ mktest.pl   Tue Feb 25 13:08:59 2003
 @@ -334,6 +334,7 @@
   if ( $perlio ne 'locale' ) {
   $ENV{PERLIO} = $perlio;
   is_win32 and $ENV{PERLIO} .=  :crlf;
 +$^O eq 'cygwin' and $ENV{PERLIO} .=  :crlf;

That doesn't look right to me. We are talking about one (1) test. 
I don't have (enough of) cygwin to check if 

$ PERLIO='perlio :crlf' make test

doesn't give more problems (as it should), than it takes away...

From running the above (well, t/harness) on Linux it feels there is an issue 
with PerlIO and Taint stuff:

Failed Test   Stat Wstat Total Fail  Failed  List of Failed
---
../lib/File/Compare.t   121   8.33%  12
io/tell.t   274  14.81%  10 25-27
op/magic.t  501   2.00%  24
op/taint.t 2062   0.97%  1 3
run/switcht.t   112  18.18%  2 4


   $ENV{LC_ALL} = 'C' if $force_c_locale;
   } else {
   $ENV{PERL_UNICODE} = 1;

 I presume that Cygwin build use a default value of perlio :crlf as make
 
  No.

Indeed it shouldn't.

Good luck,

Abe
-- 
I think that's the best choice: cygwin seems to be so weird regarding
this feature that we might as well be testing rand()...
   -- Jarkko Hietaniemi on p5p @ 2002-03-26



Re: Cygwin smoke

2003-02-25 Thread alian
I've a new w2000 at home, so I will use it for cygwin os and
uname -a?
$ uname -a
CYGWIN_NT-5.0 mercure 1.3.20(0.73/3/2) 2003-02-08 12:10 i686 unknown 
unknown Cygwin

Failures:

cygwin  [stdio/[EMAIL PROTECTED]
cygwin  [stdio/perlio]-DDEBUGGING [EMAIL PROTECTED]
cygwin  [stdio/[EMAIL PROTECTED] -Dusemultiplicity
cygwin[stdio/perlio]-DDEBUGGING [EMAIL PROTECTED]
  (cont) -Dusemultiplicity
lib/Test/Harness/t/strap-analyze.FAILED at test 2
lib/warnings.FAILED at test 414
../lib/Test/Harness/t/strap-analyzedubiousD. FAILED test 2
This failure are well known from HM Brand report:
http://www.alianwebserver.com/perl/smoke/smoke_db.cgi?os_fil=cygwinlast_smoke_fil=18500failure=1


Yep, and it's hard to trace where it *realy* hides, but it has to do with a
CRNL/NL mismatch. That's all. We would all be gratefull if you'd be able to
silence it :)
I think I find something ...
I find a shortcut to see them:
PERLIO=perlio ./perl -Ilib lib/warnings.t
...
ok 412
ok 413
...
EXPECTED:
Insecure dependency in chdir while running with -T switch at - line 5.
GOT:
Insecure dependency in chdir while running with -T switch at - line 5.
not ok 414
...
It's very strange as perlio is the default for perl-5.9 no ?
This can help to track the real bug the failure go avay with:
PERLIO=perlio :crlf ./perl -Ilib lib/warnings.t
So if a patch is done, I think this is with Test-Smoke that he must be done.
I presume that Cygwin build use a default value of perlio :crlf as make 
test didn't fail in command line without setting this var.
(Why perl didn't set $ENV{PERLIO} to his real value ?)

So in this case, I think we must use for cygwin smoke layers ('stdio', 
'perlio :crlf')  as for win32 smoke.

For add another comment, I think that use :crlf as default for cygwin is 
a bug. I use the env var CYGWIN=binmode, and see cr is not what I want. 
Gerrit what you think about this ?

Else I see in log file a lot of (like 200):
Use of uninitialized value in concatenation (.) or string at 
../lib/CGI.pm line 3459

Else I try to build with -Duseithreads, but no success. I see that 
nobody has send in past a result for this config.


If you've got spare time, please try. Cygwin has promised to support threads,
but it would also need time from the perl porters front.

In log, I've this:

t/op/getpid..FAILED at test 0
panic: MUTEX_INIT.
With lots of others.

[EMAIL PROTECTED] ~/perl/perl-current
$ gdb ./perl
(gdb) run -Ilib lib/Test/Harness/t/strap-analyze.t
Starting program: /home/alian/perl/perl-current/perl.exe -Ilib 
lib/Test/Harness/t/strap-analyze.t
panic: MUTEX_INIT.

Program received signal SIGSEGV, Segmentation fault.
0x1000b594 in S_my_exit_jump () from 
/home/alian/perl/perl-current/cygperl5_9_0.dll
(gdb) where
#0  0x1000b594 in S_my_exit_jump () from 
/home/alian/perl/perl-current/cygperl5_9_0.dll
#1  0x1000b4c3 in Perl_my_failure_exit () from 
/home/alian/perl/perl-current/cygperl5_9_0.dll
#2  0x10061e29 in Perl_vcroak () from 
/home/alian/perl/perl-current/cygperl5_9_0.dll


If someone need more info, I can send them, but I really I don't know 
how debug this and where start ! I can report regular smoke, but find 
why it's fail ...

HTH,
--
Alain BARBET


Re: Cygwin smoke

2003-02-25 Thread H.Merijn Brand
On Tue 25 Feb 2003 01:07, alian [EMAIL PROTECTED] wrote:
 I've a new w2000 at home, so I will use it for cygwin os and
  uname -a?
 
 $ uname -a
 CYGWIN_NT-5.0 mercure 1.3.20(0.73/3/2) 2003-02-08 12:10 i686 unknown 
 unknown Cygwin
 
 Failures:
 
 cygwin  [stdio/[EMAIL PROTECTED]
 cygwin  [stdio/perlio]-DDEBUGGING [EMAIL PROTECTED]
 cygwin  [stdio/[EMAIL PROTECTED] -Dusemultiplicity
 cygwin[stdio/perlio]-DDEBUGGING [EMAIL PROTECTED]
(cont) -Dusemultiplicity
  lib/Test/Harness/t/strap-analyze.FAILED at test 2
  lib/warnings.FAILED at test 414
 ../lib/Test/Harness/t/strap-analyzedubiousD. FAILED test 2
 
 
 This failure are well known from HM Brand report:
 http://www.alianwebserver.com/perl/smoke/smoke_db.cgi?os_fil=cygwinlast_smoke_fil=18500failure=1
  
  
  Yep, and it's hard to trace where it *realy* hides, but it has to do with a
  CRNL/NL mismatch. That's all. We would all be gratefull if you'd be able to
  silence it :)
 
 I think I find something ...
 I find a shortcut to see them:
 PERLIO=perlio ./perl -Ilib lib/warnings.t
 ...
 ok 412
 ok 413
 ...
 EXPECTED:
 Insecure dependency in chdir while running with -T switch at - line 5.
 GOT:
 Insecure dependency in chdir while running with -T switch at - line 5.
 not ok 414
 ...
 
 It's very strange as perlio is the default for perl-5.9 no ?

No, -Duseperlio is now default for Configure in perl-5.9, and -Uuseperlio is
unofficially unsupported

 This can help to track the real bug the failure go avay with:
 PERLIO=perlio :crlf ./perl -Ilib lib/warnings.t
 So if a patch is done, I think this is with Test-Smoke that he must be done.

I've bugged Schwern with such long time ago, but he didn't see where. So if
you can supply the patch, I guess he would be willing to apply :)

 I presume that Cygwin build use a default value of perlio :crlf as make 

No.

 test didn't fail in command line without setting this var.
 (Why perl didn't set $ENV{PERLIO} to his real value ?)

cygwin != win32. If you install cygwin in binmode, it should emulate `real'
unix, so hoop-jumps /should/ not be needed.

 So in this case, I think we must use for cygwin smoke layers ('stdio', 
 'perlio :crlf')  as for win32 smoke.

again, cygwin != win32, and let's hope it stays that way.

 For add another comment, I think that use :crlf as default for cygwin is 

agree

 a bug. I use the env var CYGWIN=binmode, and see cr is not what I want. 
 Gerrit what you think about this ?
 
 Else I see in log file a lot of (like 200):
 Use of uninitialized value in concatenation (.) or string at 
 ../lib/CGI.pm line 3459

Can you try Yitzchak's patch:

--- perl/lib/CGI.pm.origThu Jan 16 13:25:44 2003
+++ perl/lib/CGI.pm Wed Feb 19 13:35:50 2003
@@ -149,7 +149,7 @@
 # The path separator is a slash, backslash or semicolon, depending
 # on the paltform.
 $SL = {
-   UNIX='/', OS2='\\', EPOC='/',
+   UNIX='/', OS2='\\', EPOC='/', CYGWIN='/',
WINDOWS='\\', DOS='\\', MACINTOSH=':', VMS='/'
 }-{$OS};
 
End of Patch.

If that is OK, I'll submit. [ I've got no time currently to test myself ]

 Else I try to build with -Duseithreads, but no success. I see that 
 nobody has send in past a result for this config.
  
  
  If you've got spare time, please try. Cygwin has promised to support threads,
  but it would also need time from the perl porters front.
  
  
 In log, I've this:
 
 t/op/getpid..FAILED at test 0
 panic: MUTEX_INIT.
 With lots of others.
 
 [EMAIL PROTECTED] ~/perl/perl-current
 $ gdb ./perl
 (gdb) run -Ilib lib/Test/Harness/t/strap-analyze.t
 Starting program: /home/alian/perl/perl-current/perl.exe -Ilib 
 lib/Test/Harness/t/strap-analyze.t
 panic: MUTEX_INIT.
 
 Program received signal SIGSEGV, Segmentation fault.
 0x1000b594 in S_my_exit_jump () from 
 /home/alian/perl/perl-current/cygperl5_9_0.dll
 (gdb) where
 #0  0x1000b594 in S_my_exit_jump () from 
 /home/alian/perl/perl-current/cygperl5_9_0.dll
 #1  0x1000b4c3 in Perl_my_failure_exit () from 
 /home/alian/perl/perl-current/cygperl5_9_0.dll
 #2  0x10061e29 in Perl_vcroak () from 
 /home/alian/perl/perl-current/cygperl5_9_0.dll
 
 
 If someone need more info, I can send them, but I really I don't know 
 how debug this and where start ! I can report regular smoke, but find 
 why it's fail ...

-- 
H.Merijn BrandAmsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0  633 on HP-UX 10.20  11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro  WinCE 2.11.  Smoking perl CORE: [EMAIL PROTECTED]
http://archives.develooper.com/[EMAIL PROTECTED]/   [EMAIL PROTECTED]
send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org




Smoke [5.9.0] 18763 FAIL(F) netbsd 1.6 (i386/1 cpu)

2003-02-25 Thread alian
Automated smoke report for 5.9.0 patch 18763 on netbsd - 1.6 (i386/1 cpu)
  v1.16_14  using /usr/local/bin/gcc version 2.95.3 20010315 (release) 
(NetBSD nb3)
O = OK
F = Failure(s), extended report at the bottom
? = still running or test results not (yet) available
Build failures during:   - = unknown
c = Configure, m = make, t = make test-prep

 18763   Configuration (common) -Darchname=i386-netbsd
   -Dcc=/usr/local/bin/gcc [EMAIL PROTECTED]
---  --
O O O O
O O O O  -Duse64bitint
O O O O  -Dusemorebits
O O O O  -Duse64bitall -Duselongdouble
O O O O  -Duseshrplib
F F F F  -Duseithreads
F F F F  -Duseithreads -Duse64bitint
F F F F  -Duseithreads -Dusemorebits
F F F F  -Duseithreads -Duse64bitall -Duselongdouble
F F F F  -Duseithreads -Duseshrplib
| | | +- PERLIO = perlio -DDEBUGGING
| | +--- PERLIO = stdio  -DDEBUGGING
| +- PERLIO = perlio
+--- PERLIO = stdio

Summary: FAIL(F)


Failures:

netbsd  [stdio/[EMAIL PROTECTED]
  (cont) -Dcc=/usr/local/bin/gcc -Darchname=i386-netbsd
  (cont) -Duseithreads
netbsd  [stdio/perlio]-DDEBUGGING [EMAIL PROTECTED]
  (cont) -Dcc=/usr/local/bin/gcc -Darchname=i386-netbsd
  (cont) -Duseithreads
netbsd  [stdio/[EMAIL PROTECTED]
  (cont) -Dcc=/usr/local/bin/gcc -Darchname=i386-netbsd
  (cont) -Duseithreads -Duse64bitint
netbsd  [stdio/perlio]-DDEBUGGING [EMAIL PROTECTED]
  (cont) -Dcc=/usr/local/bin/gcc -Darchname=i386-netbsd
  (cont) -Duseithreads -Duse64bitint
netbsd  [stdio/[EMAIL PROTECTED]
  (cont) -Dcc=/usr/local/bin/gcc -Darchname=i386-netbsd
  (cont) -Duseithreads -Dusemorebits
netbsd  [stdio/perlio]-DDEBUGGING [EMAIL PROTECTED]
  (cont) -Dcc=/usr/local/bin/gcc -Darchname=i386-netbsd
  (cont) -Duseithreads -Dusemorebits
netbsd  [stdio/[EMAIL PROTECTED]
  (cont) -Dcc=/usr/local/bin/gcc -Darchname=i386-netbsd
  (cont) -Duseithreads -Duse64bitall -Duselongdouble
netbsd  [stdio/perlio]-DDEBUGGING [EMAIL PROTECTED]
  (cont) -Dcc=/usr/local/bin/gcc -Darchname=i386-netbsd
  (cont) -Duseithreads -Duse64bitall -Duselongdouble
netbsd  [stdio/[EMAIL PROTECTED]
  (cont) -Dcc=/usr/local/bin/gcc -Darchname=i386-netbsd
  (cont) -Duseithreads -Duseshrplib
netbsd  [stdio/perlio]-DDEBUGGING [EMAIL PROTECTED]
  (cont) -Dcc=/usr/local/bin/gcc -Darchname=i386-netbsd
  (cont) -Duseithreads -Duseshrplib
ext/POSIX/t/posixFAILED at test 10



Smoke [5.9.0] 18764 PASS solaris 2.8 (sun4/1 cpu)

2003-02-25 Thread Alain BARBET
Automated smoke report for 5.9.0 patch 18764 on solaris - 2.8 (sun4/1 cpu)
  v1.16_12  using /usr/local/bin/gcc version 2.95.3 20010315 (release)
O = OK
F = Failure(s), extended report at the bottom
? = still running or test results not (yet) available
Build failures during:   - = unknown
c = Configure, m = make, t = make test-prep

 18764   Configuration (common) -Dcc=/usr/local/bin/gcc
   [EMAIL PROTECTED]
---  --
O O O O
O O O O  -Duse64bitint
O O O O  -Duselongdouble
O O O O  -Dusemorebits
O O O O  -Duseithreads
O O O O  -Duseithreads -Duse64bitint
O O O O  -Duseithreads -Duselongdouble
O O O O  -Duseithreads -Dusemorebits
| | | +- PERLIO = perlio -DDEBUGGING
| | +--- PERLIO = stdio  -DDEBUGGING
| +- PERLIO = perlio
+--- PERLIO = stdio

Summary: PASS



Smoke [5.9.0] 18779 FAIL(F) linux 2.4.20-xfs (i686/1 cpu)

2003-02-25 Thread Jarkko Hietaniemi
Automated smoke report for 5.9.0 patch 18779 on linux - 2.4.20-xfs (i686/1 cpu)
  v1.16_15  using cc version 3.2.1 20020922 (prerelease)
O = OK
F = Failure(s), extended report at the bottom
? = still running or test results not (yet) available
Build failures during:   - = unknown
c = Configure, m = make, t = make test-prep

   18779 Configuration (common) none
 
O O O O
F F F F  -Duse64bitint
O O O O  -Dusethreads
| | | +- PERLIO = perlio -DDEBUGGING
| | +--- PERLIO = stdio  -DDEBUGGING
| +- PERLIO = perlio
+--- PERLIO = stdio

Summary: FAIL(F)


Failures:

linux   [stdio/perlio]-Duse64bitint
linux   [stdio/perlio]-DDEBUGGING -Duse64bitint
t/op/int.FAILED at test 6
../t/op/intFAILED test 6



MANIFEST did not declare ext/MIME/Base64/decode-base64
MANIFEST did not declare ext/MIME/Base64/decode-qp
MANIFEST did not declare ext/MIME/Base64/encode-base64
MANIFEST did not declare ext/MIME/Base64/encode-qp
MANIFEST did not declare lib/CPAN/ChangeLog
MANIFEST did not declare t/run/switchA.t


Smoke [5.9.0] 18779 PASS solaris 2.8 (sun4/1 cpu)

2003-02-25 Thread Jarkko Hietaniemi
Automated smoke report for 5.9.0 patch 18779 on solaris - 2.8 (sun4/1 cpu)
  v1.16_15  using /opt/SUNWspro/bin/cc version Sun WorkShop 6 update 2 C 
5.3 Patch 111679-09 2002/11/12
O = OK
F = Failure(s), extended report at the bottom
? = still running or test results not (yet) available
Build failures during:   - = unknown
c = Configure, m = make, t = make test-prep

   18779 Configuration (common) none
 
O O O O
O O O O  -Duse64bitint
O O O O  -Dusethreads
| | | +- PERLIO = perlio -DDEBUGGING
| | +--- PERLIO = stdio  -DDEBUGGING
| +- PERLIO = perlio
+--- PERLIO = stdio

Summary: PASS



MANIFEST did not declare ext/MIME/Base64/decode-base64
MANIFEST did not declare ext/MIME/Base64/decode-qp
MANIFEST did not declare ext/MIME/Base64/encode-base64
MANIFEST did not declare ext/MIME/Base64/encode-qp
MANIFEST did not declare lib/CPAN/ChangeLog
MANIFEST did not declare t/run/switchA.t


Smoke [5.9.0] 18779 PASS solaris 2.7 (sun4/1 cpu)

2003-02-25 Thread CPAN Tester'CPAN++ automate
Automated smoke report for 5.9.0 patch 18779 on solaris - 2.7 (sun4/1 cpu)
  v1.16_12  using /export/home/alb/bin/gcc -B/usr/ccs/bin/ version 2.95.3 
20010315 (release)
O = OK
F = Failure(s), extended report at the bottom
? = still running or test results not (yet) available
Build failures during:   - = unknown
c = Configure, m = make, t = make test-prep

 18779   Configuration (common) -Dcc=/export/home/alb/bin/gcc
   -B/usr/ccs/bin/ [EMAIL PROTECTED]
---  --
O O O O
O O O O  -Duse64bitint
O O O O  -Duseithreads
O O O O  -Duseithreads -Duse64bitint
| | | +- PERLIO = perlio -DDEBUGGING
| | +--- PERLIO = stdio  -DDEBUGGING
| +- PERLIO = perlio
+--- PERLIO = stdio

Summary: PASS