Opened 10 years ago

Closed 10 years ago

#43181 closed defect (fixed)

py34-gobject3: install fails during destroot, parent module ' ' not loaded, cannot perform relative import

Reported by: dbevans (David B. Evans) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py34-gobject3

Description

Failure from build log (attached):

:info:destroot  /usr/bin/install -c -m 644 __init__.py types.py module.py importer.py pygtkcompat.py docstring.py '/opt/local/var/macports/build/_opt_macports_trunk_dports_python_py-gobject3/py34-gobject3/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/gi'
:info:destroot Traceback (most recent call last):
:info:destroot   File "<string>", line 2, in <module>
:info:destroot   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/py_compile.py", line 6, in <module>
:info:destroot     import importlib._bootstrap
:info:destroot   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/importlib/__init__.py", line 35, in <module>
:info:destroot     import types
:info:destroot   File "/opt/local/var/macports/build/_opt_macports_trunk_dports_python_py-gobject3/py34-gobject3/work/pygobject-3.10.2/gi/types.py", line 28, in <module>
:info:destroot     from . import _gobject
:info:destroot SystemError: Parent module '' not loaded, cannot perform relative import
:info:destroot make[3]: *** [install-pygiPYTHON] Error 1
:info:destroot make[3]: Leaving directory `/opt/local/var/macports/build/_opt_macports_trunk_dports_python_py-gobject3/py34-gobject3/work/pygobject-3.10.2/gi'
:info:destroot make[2]: *** [install-am] Error 2

Attachments (1)

main.log (106.7 KB) - added by dbevans (David B. Evans) 10 years ago.
Build log showing failure

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by dbevans (David B. Evans)

Attachment: main.log added

Build log showing failure

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Have you reported this upstream? I assume it's going to happen on other distributions with python 3.4 aswell?

comment:2 Changed 10 years ago by neverpanic (Clemens Lang)

Nevermind, it seems to be fixed in 2.12.0.

Last edited 10 years ago by neverpanic (Clemens Lang) (previous) (diff)

comment:3 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.