>From mike_s Mon Aug 20 23:18:47 2007

>Of course after I bfu'd todays bits and kicked off some builds
>of the ccd bits, at least one x86 build died in the way you describe.
>That ain't good. I thought I had built it quite recently, though the
>tcl/tk upgrade probably stopped me a bit - what build did you build
>on?

So I went and looked at what the top build is doing, and before it
goes wacky it does this:

---
Install the executable in this directory [/usr/local/bin]: The file 
/opt/sfw/bin does not exist.  Please try again.
Install the executable in this directory [/usr/local/bin]: The file 
/opt/sfw/man/man1 does not exist.  Please try again.
Install the executable in this directory [/usr/local/bin]: The file 1 does not 
exist.  Please try again.
Install the executable in this directory [/usr/local/bin]: The file man does 
not exist.  Please try again.
Install the executable in this directory [/usr/local/bin]: The file 
/usr/local/bin does not exist.  Please try again.
---

and so on. 

Note that it first complains about /opt/sfw bits - and indeed in the preset
response file fed to Configure those are the last responses to its questions,
which it eats thinking we're still answering the directory question. And
unfortunately it's the first one that is the problem - I indeed tried
to build on a machine that did not have /opt/sfw installed already. And
sadly that means we spin as getans wants to verify files/directories
really do exist, and apparently does not deal well with EOF, which
is what fills up /tmp since that's where dmake is storing make output.

Now we don't really need it to do that verification for us, as it's
not being built and installed on the same machine. Luckily there's
a way to preload without going through the interactive step.

Hmm we also seem to have an unused 'patch' file there that should
be deleted.

Anyway here's the diffs that seems a bit better. Of course I'm not
sure that's enough for you, as I think this means you don't have
the ccd packages installed in /opt/sfw and some other part of the
build may well break without them. But anyway...

{mike_s:snakeoil:48} svn status -q
D      patch
A      defaults
M      Makefile.sfw
D      response

Index: patch
===================================================================
--- patch       (revision 134)
+++ patch       (working copy)
@@ -1,21 +0,0 @@
-*** ./top-3.5.1/Configure.orig Sun Oct 23 00:10:51 2005
---- ./top-3.5.1/Configure      Sun Oct 23 00:11:17 2005
-***************
-*** 70,77 ****
-     set NominalTopn = 18
-     set delay       = 5
-     set TableSize   = 0
-!    set bindir      = /usr/local/bin
-!    set mandir      = /usr/local/man/man1
-     set manext      = 1
-     set mansty      = man
-     set nodefaults  = 1
---- 70,77 ----
-     set NominalTopn = 18
-     set delay       = 5
-     set TableSize   = 0
-!    set bindir      = /opt/sfw/bin
-!    set mandir      = /opt/sfw/man/man1
-     set manext      = 1
-     set mansty      = man
-     set nodefaults  = 1
Index: defaults
===================================================================
--- defaults    (revision 0)
+++ defaults    (revision 0)
@@ -0,0 +1,19 @@
+set module = 'sunos5'
+set LoadMax = '5.0'
+set topn = '15'
+set NominalTopn = '18'
+set delay = '5'
+set owner = 'root'
+set group = 'sys'
+set mode = '711'
+set random = '1'
+set TableSize = '80537'
+set bindir = '/opt/sfw/bin'
+set mandir = '/opt/sfw/man/man1'
+set manext = '1'
+set mansty = 'man'
+set Cmdshell = '/bin/sh'
+set Cmdcc = 'gcc'
+set Cmdawk = 'awk'
+set Cmdinstall = '/usr/ucb/install'
+set cdefs = '-O'
Index: Makefile.sfw
===================================================================
--- Makefile.sfw        (revision 134)
+++ Makefile.sfw        (working copy)
@@ -42,9 +42,11 @@
        $(SH) ./install-sfw
 
 $(VER)/config.status: $(VER)/Configure
-       (cd $(VER); cat ../response | env \
+       (cd $(VER); \
+           cp ../defaults .defaults; \
+           env \
            MAKE=gmake \
-           ./Configure)
+           ./Configure sunos5)
        touch $(VER)/config.status
 
 $(VER)/Configure: $(VER).tar.gz
Index: response
===================================================================
--- response    (revision 134)
+++ response    (working copy)
@@ -1,20 +0,0 @@
-sunos5
-yes
-/bin/sh
-awk
-gcc
-/usr/ucb/install
--O
-5.0
-15
-18
-5
-yes
-80537
-root
-sys
-711
-/opt/sfw/bin
-/opt/sfw/man/man1
-1
-man

Reply via email to