Re: some try-ark suggestions

<[email protected]> Mon, 11 Jun 2001 17:52:40 -0500 (CDT)
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
Jonathan:

   Date: Mon, 11 Jun 2001 22:29:50 +0100
   From: Jonathan Hogg <[email protected]>

   Now here is where it gets interesting. The LNDIR field has a dependancy 
   on ark-prereq-utils. Since we're running ark in "--use-deps=max" mode, it 
   should be trying to follow this. This is where I noticed something 
   suspicious in your output:

   >doesn't apply: ark-prereq-utils reveal slicker

   The dependency appears to be getting skipped, and the most suspicious 
   thing is the 'slicker' mention. Since that's a glasli1 machine, I'm 
   guessing that you shouldn't be seeing mention of it. I'm not exactly sure 
   where it's coming from.

   I grep'ed for slicker in the sample1 team and found:

   ./host/slicker.xml: . Name   : slicker.xml
   ./host/slicker.xml:<host name="slicker" xml-version="1">
   ./team.xml:     you will need to prepare a your-team/host/slicker.xml
   ./team.xml:<solo-host>slicker</solo-host>
   ./webpages/try-ark1.htma:which will look very much like the one we 
   supplied for `slicker'

   I'm not sure what you've changed with your own team, but if you've not 
   changed this then it won't work. Perhaps we've failed in the 
   documentation or something here. You should have a 'host/<mumble>.xml' 
   file for your test host. Then you need to edit the '<solo-host>' tag to 
   point to this host.

Checking:

[berto@localhost myteam1]$ pwd
/home/berto/ark/ark/myteam1

[berto@localhost myteam1]$ find . -type f -exec grep -l slicker {} \;
./host/CVS/Entries
./host/slicker.xml
./host/localhost.xml
./host/localhost.xml~
./host/slicker.xmla
./team.xml
./webpages/try-ark1.htma
./team.xml.orig

[berto@localhost myteam1]$ grep slicker host/localhost.xml
 . Name   : slicker.xml

[berto@localhost myteam1]$ grep slicker host/slicker.xmla
Binary file host/slicker.xmla matches

[berto@localhost myteam1]$ grep slicker team.xml
     you will need to prepare a your-team/host/slicker.xml

[berto@localhost myteam1]$ grep solo-host team.xml
<solo-host>localhost</solo-host>
<solo-host-type>linux</solo-host-type>

After weeding out the inconsequential files, the only remaining references
to slicker are within comments.  As you can see, I've set solo-host correctly
(I think).

   Let us know what we've missed.

Aha!  You have missed something!  I made my host/localhost.xml file by
cp'ing host/slicker.xml WHILE LEAVING THE LATTER FILE STILL IN PLACE.

On a hunch, I mv'ed the host/slicker* files off to a tmp directory, then:

[apologies for the length of what follows]

-------------------------------------------------------------------------------

[berto@localhost myteam1]$ try-ark/try-ark | tee /tmp/junk5

try-ark/try-ark: warning: this script may be overly paranoid and, um, wrong...
CVS:
CVS:

> src-linkfarm on ark-site-gen ( not done before )
[ [u'<param name="LNDIR" from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml', u'<param name="PKG_TEAM" from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml', u'<param name="PKG_NAME1" from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml', u'<param name="PKG_NAME2" from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml', u'<param name="PKG_ARK_SRC_LOC1" from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml', u'<param name="PKG_ARK_SRC_LOC2" from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml', u'code from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml'] ]
>> to be run on localhost for localhost [ALL]

> pre-build on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [linux]

> mkdir-build on ark-prereq-utils ( not done before )
[ [u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [linux]

> get-source on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ark-only-source.xml'] ]
>> (nothing to run) [ALL]

> assemble-source on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ark-only-source.xml'] ]
>> (nothing to run) [ALL]

> src-linkfarm on ark-prereq-utils ( not done before )
[ [u'<param name="LNDIR" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="PKG_TEAM" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="PKG_NAME" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ark-only-source.xml', u'<param name="PKG_ARK_SRC_LOC" from: /home/berto/ark/ark/sidai/package/ark-only-source.xml', u'code from: /home/berto/ark/ark/sidai/package/ark-only-source.xml'] ]
>> to be run on localhost for localhost [ALL]

> patch on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> mkdir-install on ark-prereq-utils ( not done before )
[ [u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKGS_INSTALL_DIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKG_ID" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [linux]

> mkdir-deploy-build on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [linux]

> host-linkfarm on ark-prereq-utils ( not done before )
[ [u'<param name="LNDIR" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [linux]

> configure on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [linux]

> depend on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [linux]

> compile on ark-prereq-utils ( not done before )
[ [u'<param name="cc" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="cppflags" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="cflags" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="ldflags" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MAKE" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="Makefile" from: /home/berto/ark/ark/sidai/package/ALL/usr/bin/gcc -c -O2 -fstrict-aliasing lndir.c
/usr/bin/gcc -o lndir -O2 -fstrict-aliasing lndir.o
Nothing to be done for make check
[ -d /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils ] || /bin/mkdir -p /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils
[ -d /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils/bin     ] || /bin/mkdir -p /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils/bin
for i in ersh lndir  ; do /bin/cp -p $i /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils/bin && /bin/chmod +x /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils/bin/$i ; done
:
[ -d /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils/man/man1     ] || /bin/mkdir -p /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils/man/man1
/bin/cp -p lndir.man /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils/man/man1/lndir.1
./
./bin/
./bin/ersh
./bin/lndir
./man/
./man/man1/
./man/man1/lndir.1
.xml', u'<param name="cxx" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cxxflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="in_dir" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="target" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="extra_make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [linux]

> check on ark-prereq-utils ( not done before )
[ [u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="EGREP" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MAKE" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="target" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="Makefile" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="in_dir" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="pre_check_eval" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="extra_make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [linux]

> build on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [linux]

> pre-install-bits on ark-prereq-utils ( not done before )
[ [u'<param name="prefix" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [linux]

> install-bits on ark-prereq-utils ( not done before )
[ [u'<param name="cc" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="cppflags" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="cflags" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="ldflags" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MAKE" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="Makefile" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="TOUCH" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cxx" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cxxflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="prefix" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="in_dir" from: /home/berto/ark/ark/sid!
 
 ai/package/ALL.xml', u'<param name="pre_install_eval" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="target" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="extra_make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [linux]

> post-install-bits on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [linux]

> create-golden-copy on ark-prereq-utils ( not done before )
[ [u'<param name="prefix" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="TAR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="TOUCH" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKGS_INSTALL_DIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKG_ID" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [linux]

> create-manifest on ark-prereq-utils ( not done bef/home/berto/ark/ark/ARK/arkbase/ark:
/home/berto/ark/ark/ARK/arkbase/ark/tests:
/home/berto/ark/ark/ARK/arkbase/ark/tests/world1:
/home/berto/ark/ark/ARK/arkbase/ark/tests/world1/team1:
/home/berto/ark/ark/ARK/arkbase/ark/tests/world1/team1/host:
/home/berto/ark/ark/ARK/arkbase/ark/tests/world1/team1/package:
../src/ark:
../../src/ark/tests:
../../../src/ark/tests/world1:
../../../../src/ark/tests/world1/team1:
../../../../../src/ark/tests/world1/team1/host:
../../../../../src/ark/tests/world1/team1/package:
/bin/rm -f Makefile
./ark-site-gen < Makefile.in > Makefile ;	\
if [ $? = 0 ] ; then 				\
    /bin/chmod 444 Makefile ; exit 0 ;		\
else						\
    /bin/rm -f Makefile ; exit 1 ;			\
fi
ore )
[ [u'<param name="MD5SUM" from: /home/berto/ark/ark/sidai/package/ark-prereq-utils.xml', u'<param name="FIND" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="XARGS" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="GNU_FINDUTILS" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKGS_INSTALL_DIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKGS_STATE_DIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKG_ID" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [linux]

> check-install on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [linux]

> install on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [linux]

> deploy-bits on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [localhost]
/home/berto/ark/ark/try-ark/our -- currently: install ; intended: symlink
/bin/ln -s /home/berto/ark/ark/try-ark/ark-install-linux/ark-prereq-utils /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils

> deploy on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [localhost]

> reveal-bits on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [localhost]
/bin/mkdir -p /home/berto/ark/ark/try-ark/our/bin
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils/bin/ersh /home/berto/ark/ark/try-ark/our/bin/ersh
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils/bin/lndir /home/berto/ark/ark/try-ark/our/bin/lndir
/bin/mkdir -p /home/berto/ark/ark/try-ark/our/man/man1
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/ark-prereq-utils/man/man1/lndir.1 /home/berto/ark/ark/try-ark/our/man/man1/lndir.1

> reveal on ark-prereq-utils ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [localhost]

> patch on ark-site-gen ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> mkdir-install on ark-site-gen ( not done before )
[ [u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKGS_INSTALL_DIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKG_ID" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> mkdir-deploy-build on ark-site-gen ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> host-linkfarm on ark-site-gen ( not done before )
[ [u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="LNDIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> configure on ark-site-gen ( not done before )
[ [u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml', u'<param name="MAKE" from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml', u'code from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml'] ]
>> to be run on localhost for localhost [ALL]

> depend on ark-site-gen ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> compile on ark-site-gen ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml'] ]
>> (nothing to run) [ALL]

> check on ark-site-gen ( not done before )
/bin/rm -f  -r /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase
/bin/mkdir    /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase
/bin/mkdir    /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/ark
for f in DPyGetOpt.py normalDate.py ark/__init__.py ark/db.py ark/template.py ark/xmlfile.py ; do			\
    /bin/rm -f /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/$f ;		\
    /bin/cp -p ./$f /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/$f ;	\
done
set -e; 							\
for f in arkcmd ark/control.py ark/error.py ark/utils.py ; do					\
    /bin/rm -f /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/$f ;				\
    echo $f ... ;						\
    ./ark-site-gen < ./$f > /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/$f ;	\
done ;								\
for f in arkcmd ; do				\
    /bin/chmod +x /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/$f ;				\
done
arkcmd ...
ark/control.py ...
ark/error.py ...
ark/utils.py ...
set -e; 					\
for thing in team package host thing ; do		\
    /bin/rm -f /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/ark/$thing.py ;	\
    echo $thing ... ;				\
    if [ -r ./ark/$thing.py ] ; then  \
	./ark-site-gen < ./ark/$thing.py > /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/ark/$thing.py ; \
    else					\
	./ark-site-gen --thing-module=$thing > /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/ark/$thing.py ; \
    fi ;					\
done
team ...
package ...
host ...
thing ...
/bin/rm -f /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/Makefile
./ark-site-gen --makefile DPyGetOpt.py normalDate.py ark/__init__.py ark/db.py ark/template.py ark/xmlfile.py arkcmd ark/control.py ark/error.py ark/utils.py ark/team.py ark/package.py ark/host.py ark/thing.py > /home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/Makefile
./
/home/berto/ark/ark/try-ark/ark-gen-pkg/arkbase/ark:
[ [u'code from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml'] ]
>> (nothing to run) [ALL]

> build on ark-site-gen ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> pre-install-bits on ark-site-gen ( not done before )
[ [u'<param name="prefix" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> install-bits on ark-site-gen ( not done before )
[ [u'<param name="make_args" from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml', u'<param name="prefix" from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml', u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MAKE" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="Makefile" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="TOUCH" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cc" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cxx" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cppflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cxxflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="ldflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param n!
 
 ame="in_dir" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="pre_install_eval" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="target" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="extra_make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> post-install-bits on ark-site-gen ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> create-golden-copy on ark-site-gen ( not done before )
[ [u'<param name="prefix" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="TAR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="TOUCH" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKGS_INSTALL_DIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKG_ID" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> create-manifest on ark-site-gen ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ark-site-gen.xml'] ]
>> (nothing to run) [ALL]

> check-install on ark-site-gen ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> install on ark-site-gen ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> src-linkfarm on arkbase ( not done before )
[ ['<param name="PKG_ID" from: /home/berto/ark/ark/myteam1/package/arkbase.xml', u'<param name="LNDIR" from: /home/berto/ark/ark/sidai/package/ark-generated.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ark-generated.xml', u'<param name="GEN_PKG_SRC_LOC" from: /home/berto/ark/ark/sidai/package/ark-generated.xml', u'code from: /home/berto/ark/ark/sidai/package/ark-generated.xml'] ]
>> to be run on localhost for localhost [ALL]

> patch on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> mkdir-install on arkbase ( not done before )
[ [u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKGS_INSTALL_DIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKG_ID" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for../src/ark:
make: Nothing to be done for `all'.
no such target check
 localhost [ALL]

> mkdir-deploy-build on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> host-linkfarm on arkbase ( not done before )
[ [u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="LNDIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> configure on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> depend on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> compile on arkbase ( not done before )
[ [u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MAKE" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="Makefile" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cc" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cxx" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cppflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cxxflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="ldflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="in_dir" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="target" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="extra_make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/!
 
 berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> check on arkbase ( not done before )
[ [u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="EGREP" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MAKE" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="target" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="Makefile" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="in_dir" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="pre_check_eval" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="extra_make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> build on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> pre-install-bits on arkbase ( not done before )
[ [u'<param name="prefix" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> install-bits on arkbase ( not done before )
[ [u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MAKE" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="Makefile" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="TOUCH" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cc" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cxx" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cppflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="cxxflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="ldflags" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="prefix" from: /ho[ -d /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/bin ] || /bin/mkdir -p /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/bin
/bin/rm -f /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/bin/ark
echo '#! /bin/sh' > /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/bin/ark
echo 'exec /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/arkcmd ${1+"$@"}'              >> /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/bin/ark
chmod 755 /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/bin/ark
/bin/rm -f -r /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark
/bin/mkdir -p /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark
set -e ; 				\
for f in DPyGetOpt.py normalDate.py ark/__init__.py ark/db.py ark/template.py ark/xmlfile.py arkcmd ark/control.py ark/error.py ark/utils.py ark/team.py ark/package.py ark/host.py ark/thing.py ; do 		\
    /bin/cp -p $f /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/$f ;		\
done
./
./bin/
./bin/ark
./share/
./share/ark/
./share/ark/ark/
./share/ark/ark/__init__.py
./share/ark/ark/db.py
./share/ark/ark/template.py
./share/ark/ark/xmlfile.py
./share/ark/ark/control.py
./share/ark/ark/error.py
./share/ark/ark/utils.py
./share/ark/ark/team.py
./share/ark/ark/package.py
./share/ark/ark/host.py
./share/ark/ark/thing.py
./share/ark/DPyGetOpt.py
./share/ark/normalDate.py
./share/ark/arkcmd
me/berto/ark/ark/sidai/package/ALL.xml', u'<param name="in_dir" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="pre_install_eval" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="target" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="extra_make_args" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> post-install-bits on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> create-golden-copy on arkbase ( not done before )
[ [u'<param name="prefix" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="TAR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="TOUCH" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKGS_INSTALL_DIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKG_ID" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> create-manifest on arkbase ( not done before )
[ [u'<param name="FIND" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="XARGS" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="GNU_FINDUTILS" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="MD5SUM" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKGS_INSTALL_DIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKGS_STATE_DIR" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKG_PROTO_HOST" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'<param name="PKG_ID" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [ALL]

> check-install on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> install on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [ALL]

> deploy-bits on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [localhost]
/home/berto/ark/ark/try-ark/our -- currently: install ; intended: symlink
/bin/ln -s /home/berto/ark/ark/try-ark/ark-install-ALL/arkbase /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase

> deploy on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [localhost]

> reveal-bits on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [localhost]
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/bin/ark /home/berto/ark/ark/try-ark/our/bin/ark
/bin/mkdir -p /home/berto/ark/ark/try-ark/our/share/ark
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/DPyGetOpt.py /home/berto/ark/ark/try-ark/our/share/ark/DPyGetOpt.py
/bin/mkdir -p /home/berto/ark/ark/try-ark/our/share/ark/ark
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark/__init__.py /home/berto/ark/ark/try-ark/our/share/ark/ark/__init__.py
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark/control.py /home/berto/ark/ark/try-ark/our/share/ark/ark/control.py
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark/db.py /home/berto/ark/ark/try-ark/our/share/ark/ark/db.py
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark/error.py /home/berto/ark/ark/try-ark/our/share/ark/ark/error.py
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark/host.py /home/berto/ark/ark/try-ark/our/share/ark/ark/host.py
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark/package.py /home/berto/ark/ark/try-ark/our/share/ark/ark/package.py
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark/team.py /home/berto/ark/ark/try-ark/our/share/ark/ark/team.py
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark/template.py /home/berto/ark/ark/try-ark/our/share/ark/ark/template.py
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark/thing.py /home/berto/ark/ark/try-ark/our/share/ark/ark/thing.py
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark/utils.py /home/berto/ark/ark/try-ark/our/share/ark/ark/utils.py
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/ark/xmlfile.py /home/berto/ark/ark/try-ark/our/share/ark/ark/xmlfile.py
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/arkcmd /home/berto/ark/ark/try-ark/our/share/ark/arkcmd
/bin/ln -s /home/berto/ark/ark/try-ark/ark-deploy-host1/arkbase/share/ark/normalDate.py /home/berto/ark/ark/try-ark/our/share/ark/normalDate.py

> reveal on arkbase ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [localhost]
file doesn't exist: /usr/local/src/gzip-1.3.tar

> pre-build on gzip--1.3 ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (nothing to run) [linux]

> mkdir-build on gzip--1.3 ( not done before )
[ [u'<param name="MKDIR_P" from: /home/berto/ark/ark/sidai/package/ALL.xml', u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> to be run on localhost for localhost [linux]

> get-source on gzip--1.3 ( not done before )
[ [u'code from: /home/berto/ark/ark/sidai/package/ALL.xml'] ]
>> (message only) [ALL]
get-source: ToDo ToDo ToDo

> assemble-source on gzip--1.3 ( not done before )
[ [u'<param name="TAR" from: /home/berto/ark/ark/sidai/package/gzip.xml', u'<param name="PKG_TAR_FILE" from: /home/berto/ark/ark/sidai/package/gzip.xml', u'<param name="PKG_VERSION" from: /home/berto/ark/ark/sidai/package/gzip.xml', u'<param name="PKG_UNPACK_DIR" from: /home/berto/ark/ark/sidai/package/gzip.xml', u'code from: /home/berto/ark/ark/sidai/package/gzip.xml'] ]
>> to be run on localhost for localhost [ALL]

-------------------------------------------------------------------------------

Sorry for the length, but does the above output look "correct"?

My wild guess is that there might be some sort of looping mechanism that
attempts to process both host/localhost.xml and host/slicker.xml and indeed
any other .xml file in the host directory other than ALL.xml.

So, I'm finally feeling warm and fuzzy!

Also fuzzy minded.  It's really not clear what, if anything, I've really
accomplished here.  The "Test drive with try-ark" section doesn't make this
clear.  Where exactly now am I supposed to look?  I confess that it's been
several weeks since I read through all the Web pages, so I may have
forgotten something.

I mean to say, the "Test drive with try-ark" section should say something
like

    Once try-ark really gets going, it will build/install/deploy/reveal
    the (real) packages in myteam1/package/*.xml for your one-host site. 

    Now go to the ... directory.  See the ... file(s)?  This shows ...
    ...

    Consider now trying this variant...

Or something like that.

More checking:

[root@localhost try-ark]# pwd
/home/berto/ark/ark/try-ark

[root@localhost try-ark]# find . -name gzip\* -o -name rsync\* -print

On the face of it, I still haven't achieved true joy, have I?

Note that I've not yet upgraded to Will's latest check-ins.  Despite my very
bad summer head cold, I'll see about doing that this evening.

Berto

-------------------------------------------------------------------------------
Robert Osterlund, Unix Systems Manager                [email protected]
Grad School of Business, U of Chicago                       phone: 773/702-8898
1101 E. 58th Street, #309, Chicago, IL 60637, USA             fax: 773/702-0233