Re: [oi-dev] Update IPS from https://github.com/everycity/pkg5/tree/ec-py27-ec-zones

2015-06-04 Thread Alexander Pyhalov

Hi.

Igor Kozhukhov писал 04.06.2015 20:35:

I think, tests should be updated to use gcc as build compiler.
About another failed tests - will be better try to update python to 
2.7.9

and check it again with python2.7 as primary python.



I've fixed tests which depended on Sun Studio.


If you can use new pkg5 now with both python 2.6  2.7 - it is fine 
with

transition period and update env to use python2.7 as primary.
It¹s not easy and need additional work.
Also - it is not easy try to switch pkg5 to use python2.7 by one Œpkg
update¹ - I think you need identify some temporary steps or probably
through additional repo/publisher.

I did some updates with manual override some files on local build env 
and

re-install final packages over.
But I did it in zone, where I no need to check/to use beadm.

And congrats with fantastic work! :)


What difficulties do you see with IPS update? I have one test VM running 
it. It uses python2.6 (as it is the default python), but also has 
python2.7.
I don't want to ditch python2.6 parts for now. At least until illumos is 
not python2.7-only.


Why did you have to do manual overrides?

---
System Administrator of Southern Federal University Computer Center



___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Update IPS from https://github.com/everycity/pkg5/tree/ec-py27-ec-zones

2015-06-04 Thread Igor Kozhukhov
Hi Alexander, All,

I think, tests should be updated to use gcc as build compiler.
About another failed tests - will be better try to update python to 2.7.9
and check it again with python2.7 as primary python.

If you can use new pkg5 now with both python 2.6  2.7 - it is fine with
transition period and update env to use python2.7 as primary.
It¹s not easy and need additional work.
Also - it is not easy try to switch pkg5 to use python2.7 by one Œpkg
update¹ - I think you need identify some temporary steps or probably
through additional repo/publisher.

I did some updates with manual override some files on local build env and
re-install final packages over.
But I did it in zone, where I no need to check/to use beadm.

And congrats with fantastic work! :)

--
Best regards,
Igor Kozhukhov


On 04/06/15 19:35, Alexander Pyhalov a...@rsu.ru wrote:

Hello.

I'm working on IPS update now. I used
https://github.com/everycity/pkg5/tree/ec-py27-ec-zones for reference to
leverage great Igor work on updating IPS for EveryCity.

Branch with new IPS is here:
https://github.com/pyhalov/pkg5/tree/oi-updates

Note, that you'll need python2.6 IPS modules for now to compile
illumos-gate or oi-userland, and python 2.6 IPS bits are mostly working,
however pkg.depotd suggests using rather fresh Python2.7 (=2.7.9).
Routine operations works for both python2.6 and 2.7.
You will have to compile libbe with python2.7 to be able to use boot
environments with Python (we provide library/python-2/libbe-27 in
oi-userland).

As executables don't meniton explicit python version, pkgdepend can't
generate correct IPS dependencies for them and it should be done
manually (included in update).


Test resulsts are the following. All usual operations, as
installing/updating packages work. ipkg zones work. IPS now knows about
linked images and using -r switch you can make recursive operations on
base system and zones.

# Ran 1045 tests in 10496.098s - skipped 8 tests.
Skipped tests:
cli.t_pkgdep.py TestPkgdepBasics.test_bug_12697: Test Skipped: No
suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', '$CC'].
  Try setting $CC to a validcompiler.
cli.t_pkgdep.py TestPkgdepBasics.test_bug_15843: Test Skipped: No
suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', '$CC'].
  Try setting $CC to a validcompiler.
cli.t_pkgdep.py TestPkgdepBasics.test_bug_17808: Test Skipped: No
suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', '$CC'].
  Try setting $CC to a validcompiler.
cli.t_pkgdep.py TestPkgdepBasics.test_elf_dependency_tags: Test Skipped:
No suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc',
'$CC'].  Try setting $CC to a validcompiler.
cli.t_pkgdep.py TestPkgdepBasics.test_elf_warning: Test Skipped: No
suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', '$CC'].
  Try setting $CC to a validcompiler.
cli.t_pkgdep.py TestPkgdepBasics.test_output: Test Skipped: No suitable
Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', '$CC'].  Try
setting $CC to a validcompiler.
cli.t_pkgdep.py TestPkgdepBasics.test_relative_run_path: Test Skipped:
No suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc',
'$CC'].  Try setting $CC to a validcompiler.
cli.t_pkg_help.py TestPkgHelp.test_help_character_encoding: Test
Skipped: The test system must have the ja_JP.eucJP locale installed to
run this test.

FAILED (successes=1036, failures=8, errors=1, mismatches=9)

==
BASELINE MISMATCH: The following results didn't match the baseline.
--
api.t_pkg_api_install.py TestPkgApiInstall.test_ipkg_out_of_date: fail
cli.t_pkgdep.py TestPkgdepBasics.test_PEP_3149: fail
cli.t_pkgdep.py TestPkgdepBasics.test_bug_13059: fail
cli.t_pkgdep.py TestPkgdepBasics.test_multiple_run_paths: fail
cli.t_pkgdep.py TestPkgdepBasics.test_python_combinations: error
cli.t_pkg_install.py TestPkgInstallUpgrade.test_upgrade1: fail
cli.t_pkgrecv.py TestPkgrecvMulti.test_2_recv_compare: fail
cli.t_pkg_info.py TestPkgInfoBasics.test_ranked: fail
cli.t_fix.py TestFix.test_06_download: fail
cli.t_pkg_linked.py TestPkgLinkedScale.test_li_scale: fail
--

Mismatches are related to the following.

1) api.t_pkg_api_install.py TestPkgApiInstall.test_ipkg_out_of_date
This one also fails on our current IPS.


MISMATCH FAIL (expected: pass)#
# .---Failure Information---
# | 
__
_
# | Start:   api.t_pkg_api_install.py
TestPkgApiInstall.test_ipkg_out_of_date
# |   Make sure that packaging system out-of-date testing works.
# | 
__
_
# | $ echo '#!/usr/bin/python [+5 lines...]'  \
# | /tmp/ips.test.4335/0/smf_cmds/usr/bin/svcprop
# | image 0 selected: 

Re: [oi-dev] Update IPS from https://github.com/everycity/pkg5/tree/ec-py27-ec-zones

2015-06-04 Thread Lou Picciano
Super work, Alexander. Thanks for this. 

(goes off to try...) 

Lou Picciano 

- Original Message -

From: Alexander Pyhalov a...@rsu.ru 
To: OpenIndiana Developer mailing list oi-dev@openindiana.org, Dan 
McDonald dan...@omniti.com 
Sent: Thursday, June 4, 2015 12:35:19 PM 
Subject: [oi-dev] Update IPS from 
https://github.com/everycity/pkg5/tree/ec-py27-ec-zones 

Hello. 

I'm working on IPS update now. I used 
https://github.com/everycity/pkg5/tree/ec-py27-ec-zones for reference to 
leverage great Igor work on updating IPS for EveryCity. 

Branch with new IPS is here: https://github.com/pyhalov/pkg5/tree/oi-updates 

Note, that you'll need python2.6 IPS modules for now to compile 
illumos-gate or oi-userland, and python 2.6 IPS bits are mostly working, 
however pkg.depotd suggests using rather fresh Python2.7 (=2.7.9). 
Routine operations works for both python2.6 and 2.7. 
You will have to compile libbe with python2.7 to be able to use boot 
environments with Python (we provide library/python-2/libbe-27 in 
oi-userland). 

As executables don't meniton explicit python version, pkgdepend can't 
generate correct IPS dependencies for them and it should be done 
manually (included in update). 


Test resulsts are the following. All usual operations, as 
installing/updating packages work. ipkg zones work. IPS now knows about 
linked images and using -r switch you can make recursive operations on 
base system and zones. 

# Ran 1045 tests in 10496.098s - skipped 8 tests. 
Skipped tests: 
cli.t_pkgdep.py TestPkgdepBasics.test_bug_12697: Test Skipped: No 
suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', '$CC']. 
Try setting $CC to a validcompiler. 
cli.t_pkgdep.py TestPkgdepBasics.test_bug_15843: Test Skipped: No 
suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', '$CC']. 
Try setting $CC to a validcompiler. 
cli.t_pkgdep.py TestPkgdepBasics.test_bug_17808: Test Skipped: No 
suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', '$CC']. 
Try setting $CC to a validcompiler. 
cli.t_pkgdep.py TestPkgdepBasics.test_elf_dependency_tags: Test Skipped: 
No suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', 
'$CC']. Try setting $CC to a validcompiler. 
cli.t_pkgdep.py TestPkgdepBasics.test_elf_warning: Test Skipped: No 
suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', '$CC']. 
Try setting $CC to a validcompiler. 
cli.t_pkgdep.py TestPkgdepBasics.test_output: Test Skipped: No suitable 
Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', '$CC']. Try 
setting $CC to a validcompiler. 
cli.t_pkgdep.py TestPkgdepBasics.test_relative_run_path: Test Skipped: 
No suitable Sun Studio compiler found. Tried: ['/usr/bin/cc', 'cc', 
'$CC']. Try setting $CC to a validcompiler. 
cli.t_pkg_help.py TestPkgHelp.test_help_character_encoding: Test 
Skipped: The test system must have the ja_JP.eucJP locale installed to 
run this test. 

FAILED (successes=1036, failures=8, errors=1, mismatches=9) 

== 
BASELINE MISMATCH: The following results didn't match the baseline. 
-- 
api.t_pkg_api_install.py TestPkgApiInstall.test_ipkg_out_of_date: fail 
cli.t_pkgdep.py TestPkgdepBasics.test_PEP_3149: fail 
cli.t_pkgdep.py TestPkgdepBasics.test_bug_13059: fail 
cli.t_pkgdep.py TestPkgdepBasics.test_multiple_run_paths: fail 
cli.t_pkgdep.py TestPkgdepBasics.test_python_combinations: error 
cli.t_pkg_install.py TestPkgInstallUpgrade.test_upgrade1: fail 
cli.t_pkgrecv.py TestPkgrecvMulti.test_2_recv_compare: fail 
cli.t_pkg_info.py TestPkgInfoBasics.test_ranked: fail 
cli.t_fix.py TestFix.test_06_download: fail 
cli.t_pkg_linked.py TestPkgLinkedScale.test_li_scale: fail 
-- 

Mismatches are related to the following. 

1) api.t_pkg_api_install.py TestPkgApiInstall.test_ipkg_out_of_date 
This one also fails on our current IPS. 


MISMATCH FAIL (expected: pass)# 
# .---Failure Information--- 
# | 
___ 
# | Start: api.t_pkg_api_install.py 
TestPkgApiInstall.test_ipkg_out_of_date 
# | Make sure that packaging system out-of-date testing works. 
# | 
___ 
# | $ echo '#!/usr/bin/python [+5 lines...]'  \ 
# | /tmp/ips.test.4335/0/smf_cmds/usr/bin/svcprop 
# | image 0 selected: /tmp/ips.test.4335/0/image0 
# | setup: api.t_pkg_api_install.TestPkgApiInstall.test_ipkg_out_of_date 
# | creating 1 repo(s) 
# | publishers: ['test'] 
# | debug_features: [] 
# | prep_depot: set depot port 12001 
# | prep_depot: set depot repository /tmp/ips.test.4335/0/repo_contents1 
# | prep_depot: set depot log to /tmp/ips.test.4335/0/depot_logfile1 
# | created repository /tmp/ips.test.4335/0/repo_contents1 
# | $ echo 'tmp/baz'  

Re: [oi-dev] Update IPS from https://github.com/everycity/pkg5/tree/ec-py27-ec-zones

2015-06-04 Thread Alexander Pyhalov

Dan McDonald писал 04.06.2015 20:46:

This looks like great progress.  Am I right in understanding that
you've also merge with upstream Oracle bits of a very recent vintage?



Igor has done this recently, I've sucked in his updates, so not 
directly, but yes, it's more up-to-date with Oracle IPS.



I do see some todo items at least for me:

1.) Get python2.7 working as the default python for OmniOS.  (This
will be a hard problem, as hard as the gcc51 upgrade I'm doing now.)



Yes, I also have this aim, but I expect rather big amount of work.

---
System Administrator of Southern Federal University Computer Center



___
oi-dev mailing list
oi-dev@openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev