Python's deploy directory missing
"Shprentz, Joel [C] " <[email protected]> Tue, 8 Oct 2002 17:34:50 -0400
| Newsgroups | gmane.comp.sysutils.ark.devel |
|---|---|
| Message-ID | <FF1CE445E882D51195420008C7861BA904D698BA@WSHX01> |
One of the last basic packages to build is Python (which depends on
openssl, which depends on Perl, ...). All of the prerequisites were
complete, so I expected this build to be easy. Wrong.
I typed
% ark package reveal --verbose --use-deps=max python--2.2.1 < /dev/null
and watched ark happily untar, link, configure, compile, and link more
files. When prompted I typed my password for sudo. Ark created many
more symbolic links and then stopped with this complaint:
OSError: [Errno 2] No such file or directory:
'/usr/local/.-ark-deploy/python--2.2.1'
True: /usr/local/.-ark-deploy/python--2.2.1 did not exist. Why not? I
looked back through my log and found this anomaly in the <mkdir-deploy>
results:
already in
progress:/sys/ark-state/package/python--2.2.1/mkdir-deploy--sparc-solaris8.x
ml
When I looked, mkdir-deploy--sparc-solaris8.xml was missing from the
/sys/ark-state/package/python--2.2.1 directory.
What about the other deploy directory, /our/.-ark-deploy/python--2.2.1?
It was created during the <install-bits> method.
Something seems odd here. I'll think about it overnight. Meanwhile,
for the curious, here is the interesting part of my log:
% ark package reveal --verbose --use-deps=max python--2.2.1 < /dev/null
[Much output omitted]
> mkdir-deploy on python--2.2.1 ( not done before )
[FROM: param unlink_ok - sidai:package/python [v 1.1.1.2],
code - sidai:package/ALL [v 1.1.1.3],
valprop privileges - gateway:package/usr-local [? +
2002.10.02 16:13.40] ]
>> host: gold; ***as user root***; %%%as group root%%% [for hosts:
sparc-solaris8]
already in
progress:/sys/ark-state/package/python--2.2.1/mkdir-deploy--sparc-solaris8.x
ml
> host-linkfarm on python--2.2.1 ( not done before )
[FROM: code - sidai:package/ALL [v 1.1.1.3] ]
>> host: gold [for hosts: sparc-solaris8]
PKG_PROTO_HOST=sparc-solaris8
LNDIR=/our/bin/lndir -ignorelinks
LNDIR_BOOT=/workspace/arusha/sidai/ark-prereq-utils/lndir.sh
MKDIR_P=/bin/mkdir -p
+ cd /sys/ark-builds/python--2.2.1
[Ark configures, builds, and installs Python.]
> reveal-bits on python--2.2.1 ( not done before )
[FROM: constraint - done reveal for package PyXML,
code - sidai:package/ALL [v 1.1.1.3],
valprop privileges - gateway:package/usr-local [? +
2002.10.02 16:13.40] ]
>> host: gold; ***as user root***; %%%as group root%%%
> reveal on python--2.2.1 ( not done before )
[FROM: code - sidai:package/ALL [v 1.1.1.3] ]
>> host: gold (nothing to run)
Password:
+ /our/.-ark-deploy/arkbase/share/ark/arkcmd package reveal-bits --verbose
--hosts=. --use-deps=none --redo --dont-record-action python--2.2.1
> reveal-bits on python--2.2.1 ( --redo said so )
[FROM: constraint - done reveal for package PyXML,
code - sidai:package/ALL [v 1.1.1.3],
valprop privileges - gateway:package/usr-local [? +
2002.10.02 16:13.40] ]
>> host: gold; ***as user root***; %%%as group root%%%
/bin/ln -s /our/.-ark-deploy/python--2.2.1/bin/pydoc /our/bin/pydoc
[Ark makes many symbolic links.]
/bin/ln -s /our/.-ark-deploy/python--2.2.1/include/python2.2/pyconfig.h
/our/include/python2.2/pyconfig.h
failing code:<<
import os,sys
VERBOSE='-v'
PRETEND=''
KEEP_GOING=''
HARD_UNDO=''
os.environ['PATH']='/usr/local/bin:/usr/local/bin:/usr/ccs/bin:/usr/bin:/bin
:/usr/sbin:/sbin:/our/bin' # don't leave PATH to chance!
os.umask(002) # so we don't pick up something random from ssh/rsh
PKG_BUILD_DIR='/sys/ark-builds/python--2.2.1'
PKG_DEPLOY_DIRS=['/our/.-ark-deploy/python--2.2.1','/usr/local/.-ark-deploy/
python--2.2.1']
OK = thing.sidaiReveal(run_host)
>>
Traceback (most recent call last):
File "/our/.-ark-deploy/arkbase/share/ark/ark/thing.py", line 1883, in go
exec use_code
File "<string>", line 12, in ?
File "/our/.-ark-deploy/arkbase/share/ark/ark/package.py", line 611, in
sidaiReveal
do_sidai_reveal(stuff_to_reveal,diff_only=diff_only)
File "/our/.-ark-deploy/arkbase/share/ark/ark/package.py", line 977, in
do_sidai_reveal
os.chdir(deploy_dir) # t, and so on, are relative paths
OSError: [Errno 2] No such file or directory:
'/usr/local/.-ark-deploy/python--2.2.1'
gold%
script done on Tue 08 Oct 2002 05:08:12 PM EDT
--
Joel Shprentz
National Imagery and Mapping Agency
Mailstop N-17
Washington Navy Yard, Building 213
1200 First Street, SE
Washington, DC 20303-0001
202-685-3534
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf