Date: Sun, 7 Dec 2003 11:51:30 -0600 (CST) From: Patrick Hartling <patrick@137.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60019: The ports devel/py-orbit2 and devel/py-omniorb conflict Message-ID: <20031207175130.6A2343A1B0@dsl.80.187.networkiowa.com> Resent-Message-ID: <200312071800.hB7I0ftO044827@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031207175130.6A2343A1B0>