The only way I can see to hit that error is if a file isn't either bz2 or 7zip'd. Why that's happening though, I don't know.

Brock

Glenn Lagasse wrote:
I'm running build 107 with a copy of the pkg gate with the in107 tag
revision.  I'm trying to do a redist_import and getting the following
error:

cat 107/vnc-config.xml >
proto/var/svc/manifest/system/xvm/vnc-config.xml
cat 107/x11-server.xml >
proto/var/svc/manifest/application/x11/x11-server.xml
./get_file_from_pkg.py /export/wos/107/SUNWcsd etc/driver_aliases | \
./driver_names.py
107:106:105:104:103:102:101a:101:100a:99:98:97:96:95:94:93:92:91:90:89:88:87:86:85:84:83:82:81:80:79b:78:77:76:75a:73:72:71:00
\
107/redist_cluster > proto/etc/driver_aliases
Traceback (most recent call last):
  File "./get_file_from_pkg.py", line 93, in ?
    for f in bundle:
  File
"/usr/lib/python2.4/vendor-packages/pkg/bundle/SolarisPackageDirBundle.py",
line 64, in __iter__
    for ci in cf:
UnboundLocalError: local variable 'cf' referenced before assignment
./get_file_from_pkg.py /export/wos/107/SUNWcsd etc/name_to_major | \
./driver_names.py
107:106:105:104:103:102:101a:101:100a:99:98:97:96:95:94:93:92:91:90:89:88:87:86:85:84:83:82:81:80:79b:78:77:76:75a:73:72:71:00
\
107/redist_cluster > proto/etc/name_to_major
Traceback (most recent call last):
  File "./get_file_from_pkg.py", line 93, in ?
    for f in bundle:
  File
"/usr/lib/python2.4/vendor-packages/pkg/bundle/SolarisPackageDirBundle.py",
line 64, in __iter__
    for ci in cf:
UnboundLocalError: local variable 'cf' referenced before assignment
./get_file_from_pkg.py  /export/wos/107/SUNWcsr etc/nsswitch.files >
proto/etc/nsswitch.conf
Traceback (most recent call last):
  File "./get_file_from_pkg.py", line 93, in ?
    for f in bundle:
  File
"/usr/lib/python2.4/vendor-packages/pkg/bundle/SolarisPackageDirBundle.py",
line 64, in __iter__
    for ci in cf:
UnboundLocalError: local variable 'cf' referenced before assignment
*** Error code 1
make: Fatal error: Command failed for target `proto/etc/nsswitch.conf'
Current working directory
/export/home/glagasse/repo/pkg_107/src/util/distro-import
*** Error code 1
make: Fatal error: Command failed for target `107/redist_import'

I'm merely doing make -e 107/redist_import.  I've got:

# environment for import
export WOS_PKGS=/export/wos/107
export NONWOS_PKGS="/export/nonwos/107/all /export/nonwos/107/i386"
#export TEST_PKGS=/space/dock/test_pkgs
export TEST_PKGS=""
export REPO=http://localhost:10023
export JUST_THESE_PKGS=
export PATH=$PATH:/opt/SUNWspro/bin

set in my environment.  Am I missing something here?

Thanks,


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to