[Pkg-ime-devel] Bug#754670: ibus: FTBFS: if python-gi-dev is installed

Osamu Aoki osamu at debian.org
Sun Jul 20 06:18:53 UTC 2014


Hi,

I can reproduce this FTBFS bug. (libpcrc3 and related packages are at
hold with testing version)

| dh_install --fail-missing -X.la
| dh_install: usr/lib/python2.7/dist-packages/gi/overrides/IBus.py exists in debian/tmp but is not installed to anywhere
| dh_install: usr/lib/python2.7/dist-packages/gi/overrides/IBus.pyo exists in debian/tmp but is not installed to anywhere
| dh_install: usr/lib/python2.7/dist-packages/gi/overrides/IBus.pyc exists in debian/tmp but is not installed to anywhere
| dh_install: usr/lib/python3/dist-packages/gi/overrides/IBus.py exists in debian/tmp but is not installed to anywhere
| dh_install: usr/lib/python3/dist-packages/gi/overrides/__pycache__/IBus.cpython-34.pyc exists in debian/tmp but is not installed to anywhere
| dh_install: usr/lib/python3/dist-packages/gi/overrides/__pycache__/IBus.cpython-34.pyo exists in debian/tmp but is not installed to anywhere

Removing --fail-missing maybe a short term fix but what are these files
in gi/overrides directories are for.  IBus.py has:

| from gi.repository import GObject
| 
| from ..overrides import override
| 
| # for newer pygobject: https://bugzilla.gnome.org/show_bug.cgi?id=686828
| # from ..module import get_introspection_module
| # IBus = get_introspection_module('IBus')
| from ..importer import modules
| IBus = modules['IBus']._introspection_module
| 

As I see SPEC file of FEDORA, when this is generated, it makes some
extra package to store the result:

| %if %with_python2_override_pkg
| %package py2override
| Summary:        IBus python2 override library
| Group:          System Environment/Libraries
| Requires:       %{name}-libs%{?_isa}   = %{version}-%{release}
| # Owner of %%python2_sitearch/gi/overrides
| Requires:       pygobject3-base
| 
| %description py2override
| This is a python2 override library for IBus. The python files override
| some functions in gobject-introspection.
| %endif
...

In debian speak, this is something like ibus-py2override package.

I have no idea if this is required by some packages on Debian.  So far,
I have not seen one.  Does any one have idea?

Also, overrides under python3 side are not packaged.

Changwoo, do you have any use for installing thise files?

Regards,

Osamu



More information about the Pkg-ime-devel mailing list