Date: Thu, 25 Mar 2004 00:07:11 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 292 ************************************************** Wednesday 24 March 2004 Number 292 ************************************************** Subjects for today 1 Using UX2BS behind a firewall : John Poltorak 2 Re: bad Perl results : Sebastian Wittmeier" 3 Re: bad Perl results : John Poltorak 4 Re: bad Perl results : John Poltorak 5 Re: Installation behind proxy : J. Ulbts" 6 Re: bad Perl results : Dave and Natalie" 7 Re: bad Perl results : John Poltorak 8 Re: bad Perl results : Dave and Natalie" 9 Re: bad Perl results : John Poltorak 10 Re: Using UX2BS behind a firewall : Sebastian Wittmeier" 11 Re: bad Perl results : Dave Saville" 12 Re: bad Perl results : Sebastian Wittmeier" 13 Re: Using UX2BS behind a firewall : John Poltorak 14 Re: bad Perl results : John Poltorak 15 Re: bad Perl results : John Poltorak 16 Re: Installation behind proxy : Michael Zolk 17 retrieval of symlinks fails : Sebastian Wittmeier" 18 Re: retrieval of symlinks fails : John Poltorak 19 Re: retrieval of symlinks fails : Sebastian Wittmeier" 20 Re: Installation behind proxy : Dave and Natalie" 21 Re: Installation behind proxy : John Poltorak **= Email 1 ==========================** Date: Tue, 23 Mar 2004 14:09:06 +0000 From: John Poltorak Subject: Using UX2BS behind a firewall I've made some changes to UX2BS to allow people behind a firewall to use it. I'd like to know if it works... If you are behind a firewall you will need to uncomment the SET WGETRC line in \unixos2\lib\ux2_local.cmd and change \etc\.wgetrc to suit your requirements. I have a feeling that when WGET uses a proxy server it returns different response codes which might suggest the WGET retrieval has failed even though it has succeeded. If anyone is clued up on WGET codes I'd be interested in knowing whether it does make any difference using it in this way. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Tue, 23 Mar 2004 15:10:52 +0100 (CET) From: "Sebastian Wittmeier" Subject: Re: bad Perl results On Tue, 23 Mar 2004 11:12:26 +0000, John Poltorak wrote: >Did you mean to build 5.8.0? The current UX2BS builds 5.8.3, although >there is an available patch which I ought to include. >How did you install it? Strange. I did everything according to the manual on http://os2ports.com/sections/ux2bs: downloaded http://os2ports.com/ftp/pub/unixos2/ux2bs/build_system/install/ux2bs_ins t.cmd which in turn rsynced with os2ports.com I:\ports\aux-tools\build.table contains the line perl;;http://www.cpan.org/src/perl-5.8.0.tar.gz;;;. Sebastian _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Tue, 23 Mar 2004 14:27:18 +0000 From: John Poltorak Subject: Re: bad Perl results On Tue, Mar 23, 2004 at 03:10:52PM +0100, Sebastian Wittmeier wrote: > On Tue, 23 Mar 2004 11:12:26 +0000, John Poltorak wrote: > > >Did you mean to build 5.8.0? The current UX2BS builds 5.8.3, although > >there is an available patch which I ought to include. > > >How did you install it? > > Strange. I did everything according to the manual on > http://os2ports.com/sections/ux2bs: That is out of date. You should run this:- wget ftp://unixos2: at 213.152.37.92/pub/unixos2/build_system/lib/ux2_bootstrap.cmd and then ux2_bootstrap > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Tue, 23 Mar 2004 14:34:02 +0000 From: John Poltorak Subject: Re: bad Perl results On Tue, Mar 23, 2004 at 11:12:26AM +0000, John Poltorak wrote: > On Tue, Mar 23, 2004 at 12:02:28PM +0100, Sebastian Wittmeier wrote: > > Hi, > > I reinstalled UX2bs on another machine and had many failures: > > How did you install it? > > > > Failed 27/726 test scripts, 96.28% okay. 389/68742 subtests failed, > > > I will sort them out the next days. > > It is Perl 5.8.0., it should work better! > > Did you mean to build 5.8.0? The current UX2BS builds 5.8.3, although > there is an available patch which I ought to include. Anyone picking up UX2BS now should get the patch included. I've just built Perl 5.8.3 with the following test results:- Failed 6/867 test scripts, 99.31% okay. 15/78819 subtests failed, 99.98% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- .../ext/Time/HiRes/t/HiRes.t 25 1 4.00% 8 .../lib/Tie/File/t/09_gen_rs.t 13 3328 59 18 30.51% 51-59 io/layers.t 31 3 9.68% 29-31 lib/os2_base.t 1 256 19 1 5.26% 8 lib/os2_process_kid.t ?? ?? % ?? op/magic.t 53 1 1.89% 6 67 tests and 640 subtests skipped. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Tue, 23 Mar 2004 16:14:17 +0100 (CET) From: "J. Ulbts" Subject: Re: Installation behind proxy Hi John! On Sun, 21 Mar 2004 19:25:48 +0000, John Poltorak wrote: >What I think I will do is create a /etc/.wgetrc with the three options >above and add the line:- >set WGETRC=%ETC%\.wgetrc >to the optional file ux2_local.cmd for those that are behind a firewall. > >Unfortunately when I test this, WGET appears to retrieve files correctly >but return a different response code which cause the build script to fail >and stop with the error msg 'retrieval failed'. I've never fully got a Jup, that's the problem I and some other person on this list has reported several times when we reinstalled UX2BS. I've also tested it. The only way around it seems to be a retry, but the last time I modified the build.sh it didn't work here (maybe a incorrect setting). I haven't look deeper into it. NAT Firewall with ISDNPM 3.03 running here (LOOSEFTPPORT setup)! >handle on WGET response codes and would be interested to know whether >anyone else sees the same error, or is it just some error which I have >introduced? No, it's no new error! Kind Regards, Juergen Ulbts (Germany) _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Tue, 23 Mar 2004 07:50:24 -0800 From: "Dave and Natalie" Subject: Re: bad Perl results On Tue, 23 Mar 2004 14:34:02 +0000, John Poltorak wrote: > >Anyone picking up UX2BS now should get the patch included. I've just built >Perl 5.8.3 with the following test results:- > > >Failed 6/867 test scripts, 99.31% okay. 15/78819 subtests failed, 99.98% okay. >Failed Test Stat Wstat Total Fail Failed List of Failed >------------------------------------------------------------------------------- >../ext/Time/HiRes/t/HiRes.t 25 1 4.00% 8 >../lib/Tie/File/t/09_gen_rs.t 13 3328 59 18 30.51% 51-59 >io/layers.t 31 3 9.68% 29-31 >lib/os2_base.t 1 256 19 1 5.26% 8 >lib/os2_process_kid.t ?? ?? % ?? >op/magic.t 53 1 1.89% 6 >67 tests and 640 subtests skipped. Just reinstalled last night. Everything went smooth with these Perl results Failed 5/867 test scripts, 99.42% okay. 28/79051 subtests failed, 99.96% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- lib/os2_base.t 1 256 19 1 5.26% 8 lib/os2_process.t 12 3072 232 12 5.17% 113 122 126 130 138 174 178 185 190 200 210 214 lib/os2_process_kid.t 232 13 5.60% 113 122 126 130 138 149 154 164 174 185 190 200 210 op/magic.t 53 1 1.89% 6 op/stat.t 78 1 1.28% 44 67 tests and 630 subtests skipped. .... Mon Mar 22 21:05:54 GMT 2004 elapsed time: 10693 secs end Is this time from before or after you applied the patch? Actually I already had Perl 5.8.3 here so I guess I didn't have the patch installed. Dave _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Tue, 23 Mar 2004 16:00:30 +0000 From: John Poltorak Subject: Re: bad Perl results On Tue, Mar 23, 2004 at 07:50:24AM -0800, Dave and Natalie wrote: > On Tue, 23 Mar 2004 14:34:02 +0000, John Poltorak wrote: > > > > >Anyone picking up UX2BS now should get the patch included. I've just built > >Perl 5.8.3 with the following test results:- > > > > > >Failed 6/867 test scripts, 99.31% okay. 15/78819 subtests failed, 99.98% okay. > >Failed Test Stat Wstat Total Fail Failed List of Failed > >------------------------------------------------------------------------------- > >../ext/Time/HiRes/t/HiRes.t 25 1 4.00% 8 > >../lib/Tie/File/t/09_gen_rs.t 13 3328 59 18 30.51% 51-59 > >io/layers.t 31 3 9.68% 29-31 > >lib/os2_base.t 1 256 19 1 5.26% 8 > >lib/os2_process_kid.t ?? ?? % ?? > >op/magic.t 53 1 1.89% 6 > >67 tests and 640 subtests skipped. > > Just reinstalled last night. Everything went smooth with these Perl results > Failed 5/867 test scripts, 99.42% okay. 28/79051 subtests failed, 99.96% okay. > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > lib/os2_base.t 1 256 19 1 5.26% 8 > lib/os2_process.t 12 3072 232 12 5.17% 113 122 126 130 138 174 > 178 185 190 200 210 214 > lib/os2_process_kid.t 232 13 5.60% 113 122 126 130 138 149 > 154 164 174 185 190 200 > 210 > op/magic.t 53 1 1.89% 6 > op/stat.t 78 1 1.28% 44 > 67 tests and 630 subtests skipped. The same one's keep popping up over and over again and we don't seem to be able to get rid of them... IlyaZ says it ought to pass all tests, so I'd like to know why these tests keep failing. > Is this time from before or after you applied the patch? Actually I already had Perl 5.8.3 here so I guess I didn't have the patch installed. I only added the patch a few hours ago. > Dave -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Tue, 23 Mar 2004 08:10:41 -0800 From: "Dave and Natalie" Subject: Re: bad Perl results On Tue, 23 Mar 2004 16:00:30 +0000, John Poltorak wrote: > >> Is this time from before or after you applied the patch? Actually I already had Perl 5.8.3 here so I guess I didn't have the patch installed. > >I only added the patch a few hours ago. What was the URL of the patch again? I guess I should add it. Dave _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Tue, 23 Mar 2004 16:26:37 +0000 From: John Poltorak Subject: Re: bad Perl results On Tue, Mar 23, 2004 at 08:10:41AM -0800, Dave and Natalie wrote: > On Tue, 23 Mar 2004 16:00:30 +0000, John Poltorak wrote: > > > > >> Is this time from before or after you applied the patch? Actually I already had Perl 5.8.3 here so I guess I didn't have the patch installed. > > > >I only added the patch a few hours ago. > > What was the URL of the patch again? I guess I should add it. The patch needed changing slightly to work with the work directory used in UX2BS. If you did an RSYNC refresh with my site, you shoud get it. Don't ask me how to do an RSYNC refresh - I've forgotten :-)... If anyone can remember the syntax, could you post the command? > Dave -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Tue, 23 Mar 2004 18:42:33 +0100 (CET) From: "Sebastian Wittmeier" Subject: Re: Using UX2BS behind a firewall Hi John, the /etc/.wgetrc file is always active! even without SET WGETRC!!! Probably because it is situated in the standard etc directory. So the download fails, because wget looks for a nonexisting proxy. Sebastian _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Tue, 23 Mar 2004 17:53:08 +0000 (GMT) From: "Dave Saville" Subject: Re: bad Perl results On Tue, 23 Mar 2004 16:00:30 +0000, John Poltorak wrote: >The same one's keep popping up over and over again and we don't seem to be >able to get rid of them... IlyaZ says it ought to pass all tests, so I'd >like to know why these tests keep failing. And I would *love* to know *if* IZ's released binaries actually do :-) -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Tue, 23 Mar 2004 19:03:58 +0100 (CET) From: "Sebastian Wittmeier" Subject: Re: bad Perl results On Tue, 23 Mar 2004 14:27:18 +0000, John Poltorak wrote: >On Tue, Mar 23, 2004 at 03:10:52PM +0100, Sebastian Wittmeier wrote: >> Strange. I did everything according to the manual on >> http://os2ports.com/sections/ux2bs: >That is out of date. You should run this:- Would you correct the information on this webpage? Sebastian _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Tue, 23 Mar 2004 18:48:01 +0000 From: John Poltorak Subject: Re: Using UX2BS behind a firewall On Tue, Mar 23, 2004 at 06:42:33PM +0100, Sebastian Wittmeier wrote: > Hi John, > the /etc/.wgetrc file is always active! even without SET WGETRC!!! > Probably because it is situated in the standard etc directory. > So the download fails, because wget looks for a nonexisting proxy. Oops! Sorry about that. I've renamed .wgetrc as wgetrc and set the variable accordingly. > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Tue, 23 Mar 2004 18:49:36 +0000 From: John Poltorak Subject: Re: bad Perl results On Tue, Mar 23, 2004 at 05:53:08PM +0000, Dave Saville wrote: > On Tue, 23 Mar 2004 16:00:30 +0000, John Poltorak wrote: > > >The same one's keep popping up over and over again and we don't seem to be > >able to get rid of them... IlyaZ says it ought to pass all tests, so I'd > >like to know why these tests keep failing. > > And I would *love* to know *if* IZ's released binaries actually do > :-) I'm sure they do, but only on his own environment ;-)... > -- > Regards > > Dave Saville -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Tue, 23 Mar 2004 18:55:26 +0000 From: John Poltorak Subject: Re: bad Perl results On Tue, Mar 23, 2004 at 07:03:58PM +0100, Sebastian Wittmeier wrote: > On Tue, 23 Mar 2004 14:27:18 +0000, John Poltorak wrote: > >On Tue, Mar 23, 2004 at 03:10:52PM +0100, Sebastian Wittmeier wrote: > > >> Strange. I did everything according to the manual on > >> http://os2ports.com/sections/ux2bs: > >That is out of date. You should run this:- > > Would you correct the information on this webpage? I don't have access to it, but I'll see if I can get it changed. > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Tue, 23 Mar 2004 21:26:24 +0100 From: Michael Zolk Subject: Re: Installation behind proxy On Tue, Mar 23, 2004 at 04:14:17PM +0100, J. Ulbts wrote: > On Sun, 21 Mar 2004 19:25:48 +0000, John Poltorak wrote: > >Unfortunately when I test this, WGET appears to retrieve files correctly > >but return a different response code which cause the build script to fail > >and stop with the error msg 'retrieval failed'. I've never fully got a > > Jup, that's the problem I and some other person on this list has reported several times when we reinstalled UX2BS. > I've also tested it. The only way around it seems to be a retry, but the last time I modified the build.sh it didn't work here (maybe a incorrect setting). > I haven't look deeper into it. I had the same problem, even without using a proxy or a firewall. I only skimmed the available documentation, but it seems that neither the texinfo documentation nor the online manual at http://www.gnu.org/software/wget/manual/wget-1.8.1/wget.html mentions return codes. Maybe asking on the wget mailing list about this is your best bet? Michael -- http://www.borashop.de _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Tue, 23 Mar 2004 22:44:40 +0100 (CET) From: "Sebastian Wittmeier" Subject: retrieval of symlinks fails Hi, wget -N ftp://invisible-island.net/byacc/byacc.tar.gz fails with the error symlinks not support wget -N --retr-symlinks ftp://invisible-island.net/byacc/byacc.tar.gz works John, could you add the option --retr-symlinks, please? Sebastian _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 18 ==========================** Date: Tue, 23 Mar 2004 22:00:28 +0000 From: John Poltorak Subject: Re: retrieval of symlinks fails On Tue, Mar 23, 2004 at 10:44:40PM +0100, Sebastian Wittmeier wrote: > Hi, > wget -N ftp://invisible-island.net/byacc/byacc.tar.gz > fails with the error symlinks not support Why does that happen? The usual command line is:- wget -q -Nc -t 1 -P $REPOSITORY $URL This works well for me, even at the site above - I just tried it and didn't get the error above. Which WGET are you using? > wget -N --retr-symlinks ftp://invisible-island.net/byacc/byacc.tar.gz > works > > John, could you add the option --retr-symlinks, please? Actually, I was thinking of setting WGET_PARMS in ux2_local.cmd and incorporating this variable into the WGET line in build.sh. This would allow people to add whatever options they needed to WGET. > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 19 ==========================** Date: Tue, 23 Mar 2004 23:13:00 +0100 (CET) From: "Sebastian Wittmeier" Subject: Re: retrieval of symlinks fails On Tue, 23 Mar 2004 22:00:28 +0000, John Poltorak wrote: >The usual command line is:- > >wget -q -Nc -t 1 -P $REPOSITORY $URL > >This works well for me, even at the site above - I just tried it and >didn't get the error above. Which WGET are you using? both 1.8.1 and 1.9 and only with the above site, when I use -N without --retr-symlinks I have ISDN with eCSCoNet without firewall Sebastian _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 20 ==========================** Date: Tue, 23 Mar 2004 22:16:53 -0800 From: "Dave and Natalie" Subject: Re: Installation behind proxy On Tue, 23 Mar 2004 21:26:24 +0100, Michael Zolk wrote: >I had the same problem, even without using a proxy or a firewall. I only >skimmed the available documentation, but it seems that neither the texinfo >documentation nor the online manual at >http://www.gnu.org/software/wget/manual/wget-1.8.1/wget.html >mentions return codes. Maybe asking on the wget mailing list about this is >your best bet? You could always look at the source. A quick look finds this block in url.c from wget-1.9 at line 619 static char *parse_errors[] = { #define PE_NO_ERROR 0 N_("No error"), #define PE_UNSUPPORTED_SCHEME 1 N_("Unsupported scheme"), #define PE_EMPTY_HOST 2 N_("Empty host"), #define PE_BAD_PORT_NUMBER 3 N_("Bad port number"), #define PE_INVALID_USER_NAME 4 N_("Invalid user name"), #define PE_UNTERMINATED_IPV6_ADDRESS 5 N_("Unterminated IPv6 numeric address"), #define PE_IPV6_NOT_SUPPORTED 6 N_("IPv6 addresses not supported"), #define PE_INVALID_IPV6_ADDRESS 7 N_("Invalid IPv6 numeric address") }; There may be more Dave _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 21 ==========================** Date: Wed, 24 Mar 2004 11:40:03 +0000 From: John Poltorak Subject: Re: Installation behind proxy On Tue, Mar 23, 2004 at 10:16:53PM -0800, Dave and Natalie wrote: > On Tue, 23 Mar 2004 21:26:24 +0100, Michael Zolk wrote: > > >I had the same problem, even without using a proxy or a firewall. I only > >skimmed the available documentation, but it seems that neither the texinfo > >documentation nor the online manual at > >http://www.gnu.org/software/wget/manual/wget-1.8.1/wget.html > >mentions return codes. Maybe asking on the wget mailing list about this is > >your best bet? > > You could always look at the source. A quick look finds this block in url.c from wget-1.9 at line 619 > static char *parse_errors[] = { > There may be more Is there any way to print the return code from within a shell script use you would do with 'say RC' using REXX? > Dave -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs