Program "omniidl" not work under Python 2.5, it not find their back-end. Under Python 2.4 work correct. Reproducible: Always Steps to Reproduce: 1. With installed and active python2.5: # omniidl -bpython __ANY_IDL_FILE__.idl Actual Results: omniidl: Could not import back-end 'python' omniidl: Maybe you need to use the -p option? omniidl: (The error was 'No module named python') -- and the file is not "compiled" Expected Results: -- no error messages and "compiled" files. Patch for fix this problem: --- omniORB-4.1.3.ebuild 2009-03-05 18:00:59.000000000 +0100 +++ omniORB-4.1.3-r1.ebuild 2009-03-05 18:00:50.000000000 +0100 @@ -5,7 +5,7 @@ inherit python eutils DESCRIPTION="A robust, high-performance CORBA 2 ORB" -SRC_URI="mirror://sourceforge/omniorb/${PF}.tar.gz" +SRC_URI="mirror://sourceforge/omniorb/${P}.tar.gz" HOMEPAGE="http://omniorb.sourceforge.net/" IUSE="ssl" @@ -25,6 +25,14 @@ -e 's/^CDEBUGFLAGS.*/CDEBUGFLAGS = $(OPTCFLAGS)/' \ mk/beforeauto.mk.in \ mk/platforms/i586_linux_2.0*.mk || die "sed failed" + + python_version + if [ ${PYVER} = '2.5' ] ; then + einfo "Changed for python 2.5" + sed -i -e 's|return my_import("omniidl_be." + name)|return my_import("omniidl_be/" + name)|g' \ + src/tool/omniidl/python/omniidl/main.py || die "sed main.py failed" + + fi } src_compile() {
Created attachment 184039 [details, diff] the same patch as file
Reassigning to maintainer.
Cannot reproduce this, is there an upstream bug or did you create the fix yourself?
OK, reproduced in a chroot. Weird that with python 2.6 it seems to work again. Still, got any more information about the patch and the state of this at upstream?
In 4.1.4-r1 the python dep was raised to 2.6 where it just works.