Re: py-ovirt-engine-sdk - Help needed with port

2012-10-26 Thread Jiri B
On Mon, Oct 22, 2012 at 10:12:27AM -0400, Jiri B wrote:
 On Mon, Oct 22, 2012 at 08:06:28AM +0200, Remi Pointel wrote:
   systrace: deny user: me, prog: /usr/local/bin/python2.7, pid: 
   2592(0)[32248], policy: /usr/bin/make, filters: 240, syscall: 
   native-fswrite(10), filename: 
   /usr/local/lib/python2.7/email/mime/__init__.pyc
   systrace: deny user: me, prog: /usr/local/bin/python2.7, pid: 
   2592(0)[32248], policy: /usr/bin/make, filters: 240, syscall: 
   native-fswrite(5), filename: 
   /usr/local/lib/python2.7/email/mime/__init__.pyc

  I don't know why, but I have this error when I use the python package.
  If I installed the python from ports (which is exactly the same version), 
  it works fine and I don't have the error.
  
  Could you test if it's the same for you ?

The systrace related behavior doesn't exists when using python-2.7.3p1 built
from ports.

j.

+++ Fri Oct 26 20:13:16 CEST 2012
===  Checking files for py-ovirt-engine-sdk-3.1.0.4
`/data/01/pobj/distfiles/ovirt-engine-sdk-3.1.0.4.tar.gz' is up to date.
 (SHA256) ovirt-engine-sdk-3.1.0.4.tar.gz: OK
=== py-ovirt-engine-sdk-3.1.0.4 depends on: python-=2.7,2.8 - python-2.7.3p1
=== py-ovirt-engine-sdk-3.1.0.4 depends on: py-setuptools-* - 
py-setuptools-0.6.11p4v0
===  Verifying specs: python2.7 python2.7
===  found python2.7.0.0
===  Extracting for py-ovirt-engine-sdk-3.1.0.4
===  Patching for py-ovirt-engine-sdk-3.1.0.4
===  Configuring for py-ovirt-engine-sdk-3.1.0.4
===  Building for py-ovirt-engine-sdk-3.1.0.4
running build
running build_py
creating /data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib
creating /data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk
copying src/ovirtsdk/__init__.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk
copying src/ovirtsdk/api.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk
creating 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/infrastructure
copying src/ovirtsdk/infrastructure/__init__.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/infrastructure
copying src/ovirtsdk/infrastructure/brokers.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/infrastructure
copying src/ovirtsdk/infrastructure/common.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/infrastructure
copying src/ovirtsdk/infrastructure/connectionspool.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/infrastructure
copying src/ovirtsdk/infrastructure/contextmanager.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/infrastructure
copying src/ovirtsdk/infrastructure/errors.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/infrastructure
copying src/ovirtsdk/infrastructure/proxy.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/infrastructure
copying src/ovirtsdk/infrastructure/threadpool.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/infrastructure
creating 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/utils
copying src/ovirtsdk/utils/__init__.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/utils
copying src/ovirtsdk/utils/comperator.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/utils
copying src/ovirtsdk/utils/filterhelper.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/utils
copying src/ovirtsdk/utils/ordereddict.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/utils
copying src/ovirtsdk/utils/parsehelper.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/utils
copying src/ovirtsdk/utils/reflectionhelper.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/utils
copying src/ovirtsdk/utils/searchhelper.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/utils
copying src/ovirtsdk/utils/urlhelper.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/utils
creating 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/web
copying src/ovirtsdk/web/__init__.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/web
copying src/ovirtsdk/web/connection.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/web
creating 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/xml
copying src/ovirtsdk/xml/__init__.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/xml
copying src/ovirtsdk/xml/params.py - 
/data/01/pobj/py-ovirt-engine-sdk-3.1.0.4/ovirt-engine-sdk/lib/ovirtsdk/xml
===  Faking installation for py-ovirt-engine-sdk-3.1.0.4
running build
running build_py
running install
running install_lib
creating 

Re: py-ovirt-engine-sdk - Help needed with port

2012-10-22 Thread Remi Pointel
On Sun, 21 Oct 2012 14:31:18 -0400
Jiri B ji...@devio.us wrote:

 Hi,
 
 I'm preparing a port of pythong binding for oVirt Engine[1]
 but I'm strugging with some systrace and egg issues.
 
 This is somehow beyond my python understandings for now.
 
 systrace: deny user: me, prog: /usr/local/bin/python2.7, pid: 2592(0)[32248], 
 policy: /usr/bin/make, filters: 240, syscall: native-fswrite(10), filename: 
 /usr/local/lib/python2.7/email/mime/__init__.pyc
 systrace: deny user: me, prog: /usr/local/bin/python2.7, pid: 2592(0)[32248], 
 policy: /usr/bin/make, filters: 240, syscall: native-fswrite(5), filename: 
 /usr/local/lib/python2.7/email/mime/__init__.pyc


Hello,

do you use the python package or do you install it from ports ?
I don't know why, but I have this error when I use the python package.
If I installed the python from ports (which is exactly the same version), it 
works fine and I don't have the error.

Could you test if it's the same for you ?

Thanks,

Remi.



Re: py-ovirt-engine-sdk - Help needed with port

2012-10-22 Thread Stuart Henderson
On 2012/10/22 10:12, Jiri B wrote:
 Any tip what I could do to tell my port not to write
 under WRKSRC during fake? See below...

see MODPY_BADEGGS



Re: py-ovirt-engine-sdk - Help needed with port

2012-10-22 Thread Stuart Henderson
On 2012/10/22 04:42, Juan Francisco Cantero Hurtado wrote:
 On Sun, Oct 21, 2012 at 02:31:18PM -0400, Jiri B wrote:
  Hi,
  
  I'm preparing a port of pythong binding for oVirt Engine[1]
  but I'm strugging with some systrace and egg issues.
  
  This is somehow beyond my python understandings for now.
  
  systrace: deny user: me, prog: /usr/local/bin/python2.7, pid: 
  2592(0)[32248], policy: /usr/bin/make, filters: 240, syscall: 
  native-fswrite(10), filename: 
  /usr/local/lib/python2.7/email/mime/__init__.pyc
  systrace: deny user: me, prog: /usr/local/bin/python2.7, pid: 
  2592(0)[32248], policy: /usr/bin/make, filters: 240, syscall: 
  native-fswrite(5), filename: 
  /usr/local/lib/python2.7/email/mime/__init__.pyc
  
 
 Ignore it. The warning is common with python ports.

that doesn't mean it's correct...



Re: py-ovirt-engine-sdk - Help needed with port

2012-10-22 Thread Juan Francisco Cantero Hurtado
On Mon, Oct 22, 2012 at 03:45:15PM +0100, Stuart Henderson wrote:
 On 2012/10/22 04:42, Juan Francisco Cantero Hurtado wrote:
  On Sun, Oct 21, 2012 at 02:31:18PM -0400, Jiri B wrote:
   Hi,
   
   I'm preparing a port of pythong binding for oVirt Engine[1]
   but I'm strugging with some systrace and egg issues.
   
   This is somehow beyond my python understandings for now.
   
   systrace: deny user: me, prog: /usr/local/bin/python2.7, pid: 
   2592(0)[32248], policy: /usr/bin/make, filters: 240, syscall: 
   native-fswrite(10), filename: 
   /usr/local/lib/python2.7/email/mime/__init__.pyc
   systrace: deny user: me, prog: /usr/local/bin/python2.7, pid: 
   2592(0)[32248], policy: /usr/bin/make, filters: 240, syscall: 
   native-fswrite(5), filename: 
   /usr/local/lib/python2.7/email/mime/__init__.pyc
   
  
  Ignore it. The warning is common with python ports.
 
 that doesn't mean it's correct...

Yep, I reported this error a months ago. I meant the problem isn't in
his port :)

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



Re: py-ovirt-engine-sdk - Help needed with port

2012-10-22 Thread Jiri B
On Mon, Oct 22, 2012 at 03:44:40PM +0100, Stuart Henderson wrote:
 On 2012/10/22 10:12, Jiri B wrote:
  Any tip what I could do to tell my port not to write
  under WRKSRC during fake? See below...
 
 see MODPY_BADEGGS

This didn't work for this port as this bad egg is not
in WRKBUILD (as defined in python.port.mk) but WRKBUILD/src ;)

OK, anyway, got it.

Thanks.

j.



Re: py-ovirt-engine-sdk - Help needed with port

2012-10-21 Thread Juan Francisco Cantero Hurtado
On Sun, Oct 21, 2012 at 02:31:18PM -0400, Jiri B wrote:
 Hi,
 
 I'm preparing a port of pythong binding for oVirt Engine[1]
 but I'm strugging with some systrace and egg issues.
 
 This is somehow beyond my python understandings for now.
 
 systrace: deny user: me, prog: /usr/local/bin/python2.7, pid: 2592(0)[32248], 
 policy: /usr/bin/make, filters: 240, syscall: native-fswrite(10), filename: 
 /usr/local/lib/python2.7/email/mime/__init__.pyc
 systrace: deny user: me, prog: /usr/local/bin/python2.7, pid: 2592(0)[32248], 
 policy: /usr/bin/make, filters: 240, syscall: native-fswrite(5), filename: 
 /usr/local/lib/python2.7/email/mime/__init__.pyc
 

Ignore it. The warning is common with python ports.

-- 
Juan Francisco Cantero Hurtado http://juanfra.info