Hi Virginia,

I'm trying to test a fix and I've built a package instance with the fix that I want to test.
I was looking at Rich's blog on how to do this:

That's getting a little dated now. Try the attached scripts and see if
they work for you. You'll need to uncomment the JUST_THESE_PKGS
line in start-import and adjust accordingly.


http://blogs.sun.com/richb/entry/instructions_for_testing_an_opensolaris
I followed the instructions and used the start import script. I'm seeing the following error:
bash-3.2$ make -e clobber
rm -f ksh-wrapper.o
rm -rf proto
rm -f ksh-wrapper
bash-3.2$ make -e 125/redist_import
if test -z "SUNWsmapi"; then \
       make clobber; \
fi
make BUILDID=125 redist_import
cc -g -v   -o ksh-wrapper ksh-wrapper.c
cp ksh-wrapper 125/ksh
./get_file_from_pkg.py /net/opensores.central/export/ws/vw130254/ON_build/packages/i386/nightly-nd/ /net/install.central/export/nv/x/125/Solaris_11/Product/SUNWcsr etc/nsswitch.files > 125/nsswitch.conf
Traceback (most recent call last):
 File "./get_file_from_pkg.py", line 86, in ?
   p = SolarisPackage(pkgpath)
File "/usr/lib/python2.4/vendor-packages/pkg/sysvpkg.py", line 185, in __init__
   self.pkginfo = self.readPkginfoFile()
File "/usr/lib/python2.4/vendor-packages/pkg/sysvpkg.py", line 232, in readPkginfoFile
   fp = file(self.pkgpath + "/pkginfo")
IOError: [Errno 2] No such file or directory: '/net/opensores.central/export/ws/vw130254/ON_build/packages/i386/nightly-nd//pkginfo'
*** Error code 1
make: Fatal error: Command failed for target `125/nsswitch.conf'
Current working directory /extrapool/vw130254/ips/ips_source/src/util/distro-import
*** Error code 1
make: Fatal error: Command failed for target `125/redist_import'


These are the variables I set:
export ROOT=/extrapool/vw130254/ips/ips_source/proto/root_i386
export PYTHONPATH=${ROOT}/usr/lib/python2.4/vendor-packages
export REPO=http://localhost:2005
export NONWOS_PKGS="/extrapool/vw130254/ips/repo/all /extrapool/vw130254/ips/repo/i386" export WOS_PKGS="/net/opensores.central/export/ws/vw130254/ON_build/packages/i386/nightly-nd/ /net/install.central/export/nv/x/125/Solaris_11/Product"
export JUST_THESE_PKGS="SUNWsmapi"


thanks,


#! /bin/ksh
export ROOT=/export/home/richb/pkg/bugs/test-2217/gate/proto/root_i386
export PYTHONPATH=${ROOT}/usr/lib/python2.4/vendor-packages
${ROOT}/usr/lib/pkg.depotd -d /tank/repo-2217 -p 22217 > errs.depotd 2>&1 &
#! /bin/ksh

export ROOT=/export/home/richb/pkg/bugs/test-2217/gate/proto/root_i386
export PYTHONPATH=${ROOT}/usr/lib/python2.4/vendor-packages
export REPO=http://localhost:22217/

export NONWOS_PKGS="/net/paradise/export/integrate_dock/nv/nv_osol1002_123/i386 
/net/paradise/export/integrate_dock/nv/nv_osol1002_123/all"
export WOS_PKGS=/net/netinstall.sfbay/export/nv/x/124/Solaris_11/Product/
#export JUST_THESE_PKGS="SUNWii SUNWmms SUNWrdc SUNWscm SUNWspsv SUNWpcmci 
SUNWsmbfs SUNWtpm SUNWxsvc"

(cd src/util/distro-import ;    \
        make -e clobber ;               \
        make -e 124/redist_import
) > errs.import 2>&1 &
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to