Padraig O'Briain wrote:
Is there a list of what python 2.6 related packages I need to install to get it working?

When I tried to run pkg I get ImportError on OpenSSL.crypto.

I don't know. When I get a situation like this, I run:

 $ pkg search -r <missing-thing>

It will then return a list of packages that contain the missing-thing.

In this case you will need to install SUNWpython26-pyopenssl



On 11/20/09 12:50, Rich Burridge wrote:
Padraig O'Briain wrote:
The patch does not apply cleanly to the gate. I went back to revision 1506 and it does apply to that revision.

I merged with HEAD yesterday morning. Guess I'll have to merge with HEAD
at least one more time, before I can check this in.

Do I need to install some other packages to get it to build?
My attempt to build ended with the following:

cd . && /bin/sh /export/home/padraig/rich/src/extern/ldtp-1.7.1/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
downloading Mako
checksumming Mako
unpacking Mako
installing Mako
Traceback (most recent call last):
 File "setup.py", line 1, in <module>
   from setuptools import setup, find_packages
ImportError: No module named setuptools

You'll need to install SUNWpython26-setuptools

install failed and returned 1.
Command was: python2.6 setup.py install --root=/export/home/padraig/rich/proto/root_i386 --install-lib=usr/lib/python2.6/vendor-packages --install-data=usr/lib/python2.6/vendor-packages
*** Error code 1
make: Fatal error: Command failed for target `install'



On 11/19/09 17:04, Rich Burridge wrote:
Hi,

Looking for a code review for the fixes for

 10485 move pkg(5) to Python 2.6
 http://defect.opensolaris.org/bz/show_bug.cgi?id=10485

 10482 upgrade to cherrypy 3.1.2
 http://defect.opensolaris.org/bz/show_bug.cgi?id=10482

11836 shebang line for python modules should be python version-agnostic
 http://defect.opensolaris.org/bz/show_bug.cgi?id=11836

11950 ldtp used by pkg build process not setup to easily use Python 2.6
 http://defect.opensolaris.org/bz/show_bug.cgi?id=11950

 11989 pkg python dependency analysis tests fail
 http://defect.opensolaris.org/bz/show_bug.cgi?id=11989


Webrev is at:

 http://cr.opensolaris.org/~richb/pkg-10485-v1/


Thanks to Danek who did most of the hard work here. I just
carried on where he left off.

I've run the test suite for both x86 and SPARC.

The only mismatch I'm seeing is:

FAIL: cli.t_pkg_install.py TestPkgInstallObsolete.test_remove_renamed

As a sanity check, I just checked out the latest pkg sources and compiled them, and I'm still seeing that test fail. I'll chat with Danek and Bart
about it.

While I'm waiting for the review, I'll also run a few more tests including
an image-update.

If the GUI folks would be good enough to test out the gate.patch
file in the webrev, and give their applications more extensive
testing, that would be very much appreciated.

Thanks.

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


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

Reply via email to