ports/60019: The ports devel/py-orbit2 and devel/py-omniorb conflict

Patrick Hartling patrick at 137.org
Sun Dec 7 18:02:06 UTC 2003


>Number:         60019
>Category:       ports
>Synopsis:       The ports devel/py-orbit2 and devel/py-omniorb conflict
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 07 10:00:40 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Hartling
>Release:        FreeBSD 5.2-BETA i386
>Organization:
>Environment:
System: FreeBSD dsl.80.187.networkiowa.com 5.2-BETA FreeBSD 5.2-BETA #42: Thu Dec 4 07:55:12 CST 2003 root at dsl.80.187.networkiowa.com:/usr/obj/usr/src/sys/HOME i386

Any FreeBSD installation where ORBit2 and omniORB can be installed will
exhibit this behavior.  These libraries are required by the ports in
question.
>Description:
The ports devel/py-orbit2 and devel/py-omniorb both install files named
CORBA.py and PortableServer.py into %%PYTHON_SITELIBDIR%%.  In my limited
experience with CORBA programming with Python, this can lead to issues
where the wrong CORBA implementation is used.  PyORBit documentation
says to use the following Python code:

import ORBit, CORBA

If omniORBpy is installed after PyORBit, the 'import CORBA' bit references
the omniORBpy version of the file, not the PyORBit version.  In omniORBpy,
the documentation says to use this:

from omniORB import CORBA

Problems with using 'from' aside, I think this would work even when
PyORBit is installed, but this import technique is not an option for
people wanting to use PyORBit due to its design.

I do not know how critical this is and whether applications using PyORBit
fail if omniORBpy's CORBA.py is installed on top of PyORBit's.  I can say
that I have been using gDesklets successfully for a few weeks now even
though PyORBit's CORBA.py and PortableServer.py files had been overwritten.

>How-To-Repeat:
Install devel/py-orbit2 and then install devel/py-omniorb to blow away
the PyORBit files.  Swap the installation steps to wipe out omniORBpy's
files.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list