Date: Fri, 01 May 2020 10:45:45 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 246084] graphics/py-mcomix: unbreak with non-default python Message-ID: <bug-246084-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246084 Bug ID: 246084 Summary: graphics/py-mcomix: unbreak with non-default python Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: shoesoft@gmx.net Flags: maintainer-feedback?(shoesoft@gmx.net) CC: shoesoft@gmx.net Created attachment 213984 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213984&action= =3Dedit v1 Upstream supports down to Python 3.5 but the port fails to build with anyth= ing but 3.7. After fixing py35 and py36 work fine but py38 only builds but fail= s to run. $ poudriere testport -j 113i386 graphics/py-mcomix@py38 [...] =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: %%PYTHON_SITELIBDIR%%/mcomix/__pycache__/__init__.cpython-38.pyc Error: Orphaned: %%PYTHON_SITELIBDIR%%/mcomix/__pycache__/about_dialog.cpython-38.pyc Error: Orphaned: %%PYTHON_SITELIBDIR%%/mcomix/__pycache__/anime_tools.cpython-38.pyc [...] =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: %%PYTHON_SITELIBDIR%%/mcomix/__pycache__/__init__.cpython-37.pyc Error: Missing: %%PYTHON_SITELIBDIR%%/mcomix/__pycache__/about_dialog.cpython-37.pyc Error: Missing: %%PYTHON_SITELIBDIR%%/mcomix/__pycache__/anime_tools.cpython-37.pyc [...] $ pkg install py38-mcomix $ mcomix foo.jpg Traceback (most recent call last): File "/usr/local/bin/mcomix", line 33, in <module> mcomix.run.run() File "/usr/local/lib/python3.8/site-packages/mcomix/run.py", line 118, in= run from gi.repository import Gdk, GdkPixbuf, Gtk, GLib File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 655, in _load_unlocked File "<frozen importlib._bootstrap>", line 618, in _load_backward_compati= ble File "/usr/local/lib/python3.8/site-packages/gi/importer.py", line 145, in load_module importlib.import_module('gi.repository.' + dep.split("-")[0]) File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 655, in _load_unlocked File "<frozen importlib._bootstrap>", line 618, in _load_backward_compati= ble File "/usr/local/lib/python3.8/site-packages/gi/importer.py", line 145, in load_module importlib.import_module('gi.repository.' + dep.split("-")[0]) File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 655, in _load_unlocked File "<frozen importlib._bootstrap>", line 618, in _load_backward_compati= ble File "/usr/local/lib/python3.8/site-packages/gi/importer.py", line 145, in load_module importlib.import_module('gi.repository.' + dep.split("-")[0]) File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 655, in _load_unlocked File "<frozen importlib._bootstrap>", line 618, in _load_backward_compati= ble File "/usr/local/lib/python3.8/site-packages/gi/importer.py", line 146, in load_module dynamic_module =3D load_overrides(introspection_module) File "/usr/local/lib/python3.8/site-packages/gi/overrides/__init__.py", l= ine 125, in load_overrides override_mod =3D importlib.import_module(override_package_name) File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/local/lib/python3.8/site-packages/gi/overrides/GLib.py", line = 86, in <module> class _VariantCreator(object): File "/usr/local/lib/python3.8/site-packages/gi/overrides/GLib.py", line = 89, in _VariantCreator 'b': GLib.Variant.new_boolean, File "/usr/local/lib/python3.8/site-packages/gi/module.py", line 221, in __getattr__ wrapper =3D metaclass(name, bases, dict_) TypeError: 'StructMeta' object is not iterable --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246084-7788>