Date: Sun, 18 Apr 2004 00:07:32 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 305 ************************************************** Saturday 17 April 2004 Number 305 ************************************************** Subjects for today 1 Re: Too many open files : James Moe 2 Re: Any success? : Anton Monroe 3 Re: Any success? : John Poltorak 4 Re: Any success? : Anton Monroe 5 Re: Too many open files : Rodney Pont" 6 Re: Too many open files : John Poltorak 7 Re: What needs porting? : Dave and Natalie" 8 Groff v1.19 : John Poltorak **= Email 1 ==========================** Date: Fri, 16 Apr 2004 10:11:14 -0700 From: James Moe Subject: Re: Too many open files Rodney Pont wrote: > l:/bin/sh ../config/mkinstalldirs /usr/local/bin > l:/bin/sh: cannot fork - try again Yep, that's the problem I was talking about. That is what occurs when too many /bin/sh are running simultaneously. From another message you showed make -n install "$MAKEPARM" > $1.mk4 I suggest make -n "$MAKEPARM" > tmp.cmd then running tmp.cmd. John also mentioned increasing the number of file handles for emx by setting emxopt: SET EMXOPT=-h2048 or SET EMXOPT=-h8192 It may help. -- jimoe at sohnen-moe dot com _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Fri, 16 Apr 2004 12:42:28 -0500 From: Anton Monroe Subject: Re: Any success? On Fri, Apr 16, 2004 at 10:40:49AM +0100, John Poltorak wrote: > I'm glad to see you up and running again. Maybe you can help get PINFO to > build... Pinfo and Rsync are the first things I am going to try. But like I said earlier, the only programming I know much about is DOS Basic. If you need any help with that... > Did PDKSH build correctly? Yes, the only error in the log was: install.exe sh.exe M:/usr/bin/sh.exe install.exe -m 644 sh.1 M:/usr/share/man/man1/sh.1 make: [install] Error 1 (ignored) Since it was ignored, I assume it is harmless. The Gawk and Perl logs were the only ones from build.lst that had errors. Of course, things kinda went to hell after that because Perl was missing. Oh, another one that looks harmless, from ux2bs_install.log: inflating: M:/unixos2/posix2/lib/stcExt.lib inflating: M:/unixos2/posix2/README (40 bytes EAs) unzip: cannot find either M:/unixos2/archives/baseline/Xprog440.zip or M:/unixos2/archives/baseline/Xprog440.zip.zip. Leaving baseline_inst ux2bs_install.log is in /unixos2/lib/, would it be better to save it in /unixos2/logs/ with the other log files? build.sh contains this: if wget -Nc -t 1 -P $REPOSITORY $URL; then : else echo retrieval failed exit 1 fi But when wget failed to retrieve byacc.tar.gz, the script continued until I got the "archive $ARCHIVEFILE does not appear to have extracted correctly" message. Hey, I just discovered the ux2_clean.cmd! I've been doing that manually when I want to start over, and I always forget "emxload -q" until it's too late. Anton _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Fri, 16 Apr 2004 19:35:10 +0100 From: John Poltorak Subject: Re: Any success? On Fri, Apr 16, 2004 at 12:42:28PM -0500, Anton Monroe wrote: > On Fri, Apr 16, 2004 at 10:40:49AM +0100, John Poltorak wrote: > > I'm glad to see you up and running again. Maybe you can help get PINFO to > > build... > > Pinfo and Rsync are the first things I am going to try. But like I said > earlier, the only programming I know much about is DOS Basic. If you > need any help with that... > > > Did PDKSH build correctly? > > Yes, the only error in the log was: > install.exe sh.exe M:/usr/bin/sh.exe > install.exe -m 644 sh.1 M:/usr/share/man/man1/sh.1 > make: [install] Error 1 (ignored) > > Since it was ignored, I assume it is harmless. I get that, but haven't fully investigated it yet. > The Gawk and Perl logs > were the only ones from build.lst that had errors. Of course, things > kinda went to hell after that because Perl was missing. Yes, Perl is pretty crucial to the build system itself, as it is used by Autoconf, so most of the subsequent apps won't build. I really ought to put a halt to the process if the Perl build fails. > > Oh, another one that looks harmless, from ux2bs_install.log: > inflating: M:/unixos2/posix2/lib/stcExt.lib > inflating: M:/unixos2/posix2/README (40 bytes EAs) > unzip: cannot find either M:/unixos2/archives/baseline/Xprog440.zip or M:/unixos2/archives/baseline/Xprog440.zip.zip. The Xprog zip file hasn't been included yet. > Leaving baseline_inst > > ux2bs_install.log is in /unixos2/lib/, would it be better to save it in > /unixos2/logs/ with the other log files? At the time that this log file is created the logs directory hasn't been created so it just gets dumped in the current directory. > build.sh contains this: > if wget -Nc -t 1 -P $REPOSITORY $URL; then > : > else > echo retrieval failed > exit 1 > fi > > But when wget failed to retrieve byacc.tar.gz, the script continued > until I got the "archive $ARCHIVEFILE does not appear to have extracted > correctly" message. I think WGET did not fail. It's the updated contents of the archive that have caused the problem. An updated build.table should solve that. > Hey, I just discovered the ux2_clean.cmd! I've been doing that manually > when I want to start over, and I always forget "emxload -q" until it's > too late. Yes, I did that too many times myself - that's why I created the cleanup program. > > Anton -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Fri, 16 Apr 2004 14:06:04 -0500 From: Anton Monroe Subject: Re: Any success? On Fri, Apr 16, 2004 at 07:35:10PM +0100, John Poltorak wrote: > > build.sh contains this: > > if wget -Nc -t 1 -P $REPOSITORY $URL; then > > : > > else > > echo retrieval failed > > exit 1 > > fi > > > > But when wget failed to retrieve byacc.tar.gz, the script continued > > until I got the "archive $ARCHIVEFILE does not appear to have extracted > > correctly" message. > > I think WGET did not fail. It's the updated contents of the archive that > have caused the problem. Wget failed, in that it didn't download the file. I suppose it doesn't think that skipping symlinks is a failure, so it returns an exit code of 0. It's not a problem in this case and there's not much you can do about it, other than be aware that Wget's exit codes aren't always reliable. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Fri, 16 Apr 2004 19:37:25 +0100 (BST) From: "Rodney Pont" Subject: Re: Too many open files On Fri, 16 Apr 2004 10:51:52 +0100, John Poltorak wrote: >How much stuff do you have running on your system? I've tried it with nothing but the background stuff for TCP/IP and Peer running. >Maybe add this to ux2_local.cmd:- > >SET EMXOPT=-h2048 > >and increase it to 8192 if it doesn't do the trick. No change and an env after running shows EMXOPT=-h8192 so it's picked it up. You said you define %repository% as a network drive. How do I do that so that the install knows where it is? All I've got at installation time is the bootstrap and I don't see anywhere to define it in there. Regards - Rodney Pont E-mail by PMMail - listm4 at infohitsystems.ltd.uk really weird out of context words courtesy of PMMail's spellchecker _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Fri, 16 Apr 2004 23:00:52 +0100 From: John Poltorak Subject: Re: Too many open files On Fri, Apr 16, 2004 at 07:37:25PM +0100, Rodney Pont wrote: > You said you define %repository% as a network drive. How do I do that > so that the install knows where it is? All I've got at installation > time is the bootstrap and I don't see anywhere to define it in there. Just run:- set repository=n:/archives in the session in which you intend to run ux2_bootstrap. > Regards - Rodney Pont > E-mail by PMMail - listm4 at infohitsystems.ltd.uk -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Fri, 16 Apr 2004 20:11:28 -0800 From: "Dave and Natalie" Subject: Re: What needs porting? On Thu, 15 Apr 2004 14:08:47 +0100, John Poltorak wrote: >> > I just gave it a try and get some sort of weird error when running make:- >> > make[2]: Entering directory `U:/unixos2/workdir/pinfo-0.6.8/po' >> > make[2]: *** No rule to make target `all'. Stop. >> > make[2]: Leaving directory `U:/unixos2/workdir/pinfo-0.6.8/po' >> > make[1]: *** [all-recursive] Error 1 >> John, try renaming xgettext.exe and rerunning configure and see how far you get. Dave _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Sat, 17 Apr 2004 12:31:05 +0100 From: John Poltorak Subject: Groff v1.19 The latest version of GROFF (1.19) came out a few weeks ago, and I've just tried building it using UX2BS and it was pretty successful straight out of the box with no patches and changes to the build environment once build.table had been amended to point at the latest release. One error I found in the logs related to being unable to exec troff, but a troff.exe does get built and will run, so I'm not sure what the nature of the error is. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs