Shawn Walker wrote:
So, you're saying that if you perform these specific steps:

* rm -rf /export/home/pkg-solaris/repo-6941

* export ROOT=/export/home/richb/pkg/bugs/6941/gate/proto/root_i386
export PYTHONPATH=${ROOT}/usr/lib/python2.4/vendor-packages
${ROOT}/usr/lib/pkg.depotd --content-root=${ROOT}/usr/share/lib/pkg -d /export/home/pkg-solaris/repo-6941 -p 26941 > errs.depotd 2>&1 &

* then immediately publish to the depot

...you still see the error?

Apparently not any more. I just tried the following with the
very latest version of the pkg workspace code:

 $ mkdir sw-test
 $ cd sw-test
 $ hg clone ssh://[email protected]/hg/pkg/gate
 $ cd gate/src
 $ make -e; make -e install; make -e packages

I then added the two attached script files: start-depotd and start-import
into the gate directory. In one terminal window I ran

 $ cd .../sw-test/gate
 $ ./start-depotd

Once the package depot server was running, then in another terminal
window I ran:

 $ cd .../sw-test/gate
 $ ./start-import

The scripts are attempting to just publish the SUNWiscsi package
(from build #109).

Everything worked fine this time. Weird.


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

export ROOT=/export/home/richb/pkg/bugs/sw-test/gate/proto/root_i386
export PYTHONPATH=${ROOT}/usr/lib/python2.4/vendor-packages
export REPO=http://localhost:29999/
export WOS_PKGS=/export/home/pkg-solaris/WOS_Packages/x/109/Solaris_11/Product/
export JUST_THESE_PKGS="SUNWiscsi"

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

Reply via email to