[MacPorts] #60166: zim 0.72.0 install fails

MacPorts noreply at macports.org
Mon Mar 9 00:45:19 UTC 2020


#60166: zim 0.72.0 install fails
---------------------+--------------------
  Reporter:  vitorn  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  zim     |
---------------------+--------------------

Comment (by vitorn):

 I tried also upgrading Zim on my MacBook Air, and although there was no
 error message during the upgrade, Zim throws an error (must be an
 interface) when I try to run from the command line.  Note that Zim was not
 upgraded, the problem arose because of some other port.

 Output from port upgrade:

 {{{
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.6.2 installed,
 MacPorts base version 2.6.2 downloaded.
 --->  Updating the ports tree
 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated
 }}}
 {{{
 --->  Computing dependencies for pcre
 --->  Fetching archive for pcre
 --->  Attempting to fetch pcre-8.44_0.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/pcre
 --->  Attempting to fetch pcre-8.44_0.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/pcre
 --->  Installing pcre @8.44_0
 --->  Cleaning pcre
 --->  Computing dependencies for pcre
 --->  Deactivating pcre @8.43_0
 --->  Cleaning pcre
 --->  Activating pcre @8.44_0
 --->  Cleaning pcre
 --->  Computing dependencies for xorg-xcb-proto
 --->  Fetching archive for xorg-xcb-proto
 --->  Attempting to fetch xorg-xcb-
 proto-1.14_0+python37.darwin_19.noarch.tbz2 from
 https://packages.macports.org/xorg-xcb-proto
 --->  Attempting to fetch xorg-xcb-
 proto-1.14_0+python37.darwin_19.noarch.tbz2.rmd160 from
 https://packages.macports.org/xorg-xcb-proto
 --->  Installing xorg-xcb-proto @1.14_0+python37
 --->  Cleaning xorg-xcb-proto
 --->  Computing dependencies for xorg-xcb-proto
 --->  Deactivating xorg-xcb-proto @1.13_2+python37
 --->  Cleaning xorg-xcb-proto
 --->  Activating xorg-xcb-proto @1.14_0+python37
 --->  Cleaning xorg-xcb-proto
 --->  Computing dependencies for xorg-libxcb
 --->  Fetching archive for xorg-libxcb
 --->  Attempting to fetch xorg-
 libxcb-1.14_0+python37.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/xorg-libxcb
 --->  Attempting to fetch xorg-
 libxcb-1.14_0+python37.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/xorg-libxcb
 --->  Installing xorg-libxcb @1.14_0+python37
 --->  Cleaning xorg-libxcb
 --->  Computing dependencies for xorg-libxcb
 --->  Deactivating xorg-libxcb @1.13.1_0+python37
 --->  Cleaning xorg-libxcb
 --->  Activating xorg-libxcb @1.14_0+python37
 --->  Cleaning xorg-libxcb
 --->  Computing dependencies for python38
 --->  Fetching archive for python38
 --->  Attempting to fetch python38-3.8.2_0.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/python38
 --->  Attempting to fetch python38-3.8.2_0.darwin_19.x86_64.tbz2.rmd160
 from https://packages.macports.org/python38
 --->  Installing python38 @3.8.2_0
 --->  Activating python38 @3.8.2_0
 --->  Cleaning python38
 --->  Computing dependencies for py38-setuptools
 --->  Fetching archive for py38-setuptools
 --->  Attempting to fetch py38-setuptools-43.0.0_0.darwin_19.noarch.tbz2
 from https://packages.macports.org/py38-setuptools
 --->  Attempting to fetch
 py38-setuptools-43.0.0_0.darwin_19.noarch.tbz2.rmd160 from
 https://packages.macports.org/py38-setuptools
 --->  Installing py38-setuptools @43.0.0_0
 --->  Activating py38-setuptools @43.0.0_0
 --->  Cleaning py38-setuptools
 --->  Computing dependencies for py38-beaker
 --->  Fetching archive for py38-beaker
 --->  Attempting to fetch py38-beaker-1.11.0_0.darwin_19.noarch.tbz2 from
 https://packages.macports.org/py38-beaker
 --->  Attempting to fetch
 py38-beaker-1.11.0_0.darwin_19.noarch.tbz2.rmd160 from
 https://packages.macports.org/py38-beaker
 --->  Installing py38-beaker @1.11.0_0
 --->  Activating py38-beaker @1.11.0_0
 --->  Cleaning py38-beaker
 --->  Computing dependencies for py38-markupsafe
 --->  Fetching archive for py38-markupsafe
 --->  Attempting to fetch py38-markupsafe-1.1.1_0.darwin_19.x86_64.tbz2
 from https://packages.macports.org/py38-markupsafe
 --->  Attempting to fetch
 py38-markupsafe-1.1.1_0.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/py38-markupsafe
 --->  Installing py38-markupsafe @1.1.1_0
 --->  Activating py38-markupsafe @1.1.1_0
 --->  Cleaning py38-markupsafe
 --->  Computing dependencies for py38-mako
 --->  Fetching archive for py38-mako
 --->  Attempting to fetch py38-mako-1.1.2_0.darwin_19.noarch.tbz2 from
 https://packages.macports.org/py38-mako
 --->  Attempting to fetch py38-mako-1.1.2_0.darwin_19.noarch.tbz2.rmd160
 from https://packages.macports.org/py38-mako
 --->  Installing py38-mako @1.1.2_0
 --->  Activating py38-mako @1.1.2_0
 --->  Cleaning py38-mako
 --->  Computing dependencies for py38-markdown
 --->  Fetching archive for py38-markdown
 --->  Attempting to fetch py38-markdown-3.2.1_0.darwin_19.noarch.tbz2 from
 https://packages.macports.org/py38-markdown
 --->  Attempting to fetch
 py38-markdown-3.2.1_0.darwin_19.noarch.tbz2.rmd160 from
 https://packages.macports.org/py38-markdown
 --->  Installing py38-markdown @3.2.1_0
 --->  Activating py38-markdown @3.2.1_0
 --->  Cleaning py38-markdown
 --->  Computing dependencies for gobject-introspection
 --->  Fetching archive for gobject-introspection
 --->  Attempting to fetch gobject-
 introspection-1.58.3_3.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/gobject-introspection
 --->  Attempting to fetch gobject-
 introspection-1.58.3_3.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/gobject-introspection
 --->  Installing gobject-introspection @1.58.3_3
 --->  Cleaning gobject-introspection
 --->  Computing dependencies for gobject-introspection
 --->  Deactivating gobject-introspection @1.58.3_2
 --->  Cleaning gobject-introspection
 --->  Activating gobject-introspection @1.58.3_3
 --->  Cleaning gobject-introspection
 --->  Computing dependencies for atk
 --->  Fetching archive for atk
 --->  Attempting to fetch atk-2.34.1_0.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/atk
 --->  Attempting to fetch atk-2.34.1_0.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/atk
 --->  Installing atk @2.34.1_0
 --->  Cleaning atk
 --->  Computing dependencies for atk
 --->  Deactivating atk @2.28.1_0
 --->  Cleaning atk
 --->  Activating atk @2.34.1_0
 --->  Cleaning atk
 --->  Computing dependencies for at-spi2-core
 --->  Fetching archive for at-spi2-core
 --->  Attempting to fetch at-spi2-core-2.34.0_0.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/at-spi2-core
 --->  Attempting to fetch at-
 spi2-core-2.34.0_0.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/at-spi2-core
 --->  Installing at-spi2-core @2.34.0_0
 --->  Cleaning at-spi2-core
 --->  Computing dependencies for at-spi2-core
 --->  Deactivating at-spi2-core @2.28.0_1
 --->  Cleaning at-spi2-core
 --->  Activating at-spi2-core @2.34.0_0
 --->  Cleaning at-spi2-core
 --->  Computing dependencies for at-spi2-atk
 --->  Fetching archive for at-spi2-atk
 --->  Attempting to fetch at-spi2-atk-2.34.2_0.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/at-spi2-atk
 --->  Attempting to fetch at-
 spi2-atk-2.34.2_0.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/at-spi2-atk
 --->  Installing at-spi2-atk @2.34.2_0
 --->  Cleaning at-spi2-atk
 --->  Computing dependencies for at-spi2-atk
 --->  Deactivating at-spi2-atk @2.26.2_1
 --->  Cleaning at-spi2-atk
 --->  Activating at-spi2-atk @2.34.2_0
 --->  Cleaning at-spi2-atk
 --->  Fetching archive for fftw-3
 --->  Attempting to fetch fftw-3-3.3.8_1.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/fftw-3
 --->  Attempting to fetch fftw-3-3.3.8_1.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/fftw-3
 --->  Installing fftw-3 @3.3.8_1
 --->  Cleaning fftw-3
 --->  Deactivating fftw-3 @3.3.8_0
 --->  Cleaning fftw-3
 --->  Activating fftw-3 @3.3.8_1
 --->  Cleaning fftw-3
 --->  Computing dependencies for gdk-pixbuf2
 --->  Fetching archive for gdk-pixbuf2
 --->  Attempting to fetch gdk-pixbuf2-2.40.0_0+x11.darwin_19.x86_64.tbz2
 from https://packages.macports.org/gdk-pixbuf2
 --->  Attempting to fetch gdk-
 pixbuf2-2.40.0_0+x11.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/gdk-pixbuf2
 --->  Installing gdk-pixbuf2 @2.40.0_0+x11
 --->  Cleaning gdk-pixbuf2
 --->  Computing dependencies for gdk-pixbuf2
 --->  Deactivating gdk-pixbuf2 @2.36.12_0+x11
 --->  Cleaning gdk-pixbuf2
 --->  Activating gdk-pixbuf2 @2.40.0_0+x11
 --->  Cleaning gdk-pixbuf2
 --->  Computing dependencies for mesa
 --->  Fetching archive for mesa
 --->  Attempting to fetch
 mesa-17.1.6_2+osmesa+python27.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/mesa
 --->  Attempting to fetch
 mesa-17.1.6_2+osmesa+python27.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/mesa
 --->  Installing mesa @17.1.6_2+osmesa+python27
 --->  Cleaning mesa
 --->  Computing dependencies for mesa
 --->  Deactivating mesa @17.1.6_1+osmesa+python27
 --->  Cleaning mesa
 --->  Activating mesa @17.1.6_2+osmesa+python27
 --->  Cleaning mesa
 --->  Computing dependencies for gtk3
 --->  Fetching archive for gtk3
 --->  Attempting to fetch gtk3-3.24.14_1+x11.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/gtk3
 --->  Attempting to fetch gtk3-3.24.14_1+x11.darwin_19.x86_64.tbz2.rmd160
 from https://packages.macports.org/gtk3
 --->  Installing gtk3 @3.24.14_1+x11
 --->  Cleaning gtk3
 --->  Computing dependencies for gtk3
 --->  Deactivating gtk3 @3.24.14_0+x11
 --->  Cleaning gtk3
 --->  Activating gtk3 @3.24.14_1+x11
 --->  Cleaning gtk3
 --->  Computing dependencies for py37-cairo
 --->  Fetching archive for py37-cairo
 --->  Attempting to fetch
 py37-cairo-1.19.1_0+quartz+x11.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/py37-cairo
 --->  Attempting to fetch
 py37-cairo-1.19.1_0+quartz+x11.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/py37-cairo
 --->  Installing py37-cairo @1.19.1_0+quartz+x11
 --->  Cleaning py37-cairo
 --->  Computing dependencies for py37-cairo
 --->  Deactivating py37-cairo @1.19.0_0+quartz+x11
 --->  Cleaning py37-cairo
 --->  Activating py37-cairo @1.19.1_0+quartz+x11
 --->  Cleaning py37-cairo
 --->  Computing dependencies for py37-mako
 --->  Fetching archive for py37-mako
 --->  Attempting to fetch py37-mako-1.1.2_0.darwin_19.noarch.tbz2 from
 https://packages.macports.org/py37-mako
 --->  Attempting to fetch py37-mako-1.1.2_0.darwin_19.noarch.tbz2.rmd160
 from https://packages.macports.org/py37-mako
 --->  Installing py37-mako @1.1.2_0
 --->  Cleaning py37-mako
 --->  Computing dependencies for py37-mako
 --->  Deactivating py37-mako @1.1.1_0
 --->  Cleaning py37-mako
 --->  Activating py37-mako @1.1.2_0
 --->  Cleaning py37-mako
 --->  Computing dependencies for py37-tornado
 --->  Fetching archive for py37-tornado
 --->  Attempting to fetch py37-tornado-6.0.4_0.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/py37-tornado
 --->  Attempting to fetch
 py37-tornado-6.0.4_0.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/py37-tornado
 --->  Installing py37-tornado @6.0.4_0
 --->  Cleaning py37-tornado
 --->  Computing dependencies for py37-tornado
 --->  Deactivating py37-tornado @6.0.3_0
 --->  Cleaning py37-tornado
 --->  Activating py37-tornado @6.0.4_0
 --->  Cleaning py37-tornado
 --->  Computing dependencies for py37-matplotlib
 --->  Fetching archive for py37-matplotlib
 --->  Attempting to fetch
 py37-matplotlib-3.2.0_0+cairo+webagg.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/py37-matplotlib
 --->  Attempting to fetch
 py37-matplotlib-3.2.0_0+cairo+webagg.darwin_19.x86_64.tbz2.rmd160 from
 https://packages.macports.org/py37-matplotlib
 --->  Installing py37-matplotlib @3.2.0_0+cairo+webagg
 --->  Cleaning py37-matplotlib
 --->  Computing dependencies for py37-matplotlib
 --->  Deactivating py37-matplotlib @3.1.3_1+cairo+webagg
 --->  Cleaning py37-matplotlib
 --->  Activating py37-matplotlib @3.2.0_0+cairo+webagg
 --->  Cleaning py37-matplotlib
 --->  Computing dependencies for py37-sip
 --->  Fetching archive for py37-sip
 --->  Attempting to fetch py37-sip-4.19.21_1.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/py37-sip
 --->  Attempting to fetch py37-sip-4.19.21_1.darwin_19.x86_64.tbz2.rmd160
 from https://packages.macports.org/py37-sip
 --->  Installing py37-sip @4.19.21_1
 --->  Cleaning py37-sip
 --->  Computing dependencies for py37-sip
 --->  Deactivating py37-sip @4.19.21_0
 --->  Cleaning py37-sip
 --->  Activating py37-sip @4.19.21_1
 --->  Cleaning py37-sip
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 --->  Some of the ports you installed have notes:
   py37-matplotlib has the following notes:
     The default backend is the interactive Mac OS X backend. Different
 backends
     can be specified using the ~/.matplotlib/matplotlibrc file. More
 details
     regarding backends can be found in the matplotlib FAQ:

 https://matplotlib.org/tutorials/introductory/usage.html#backends
   py37-sip has the following notes:
     py37-sip is available under a PSF license with one addition:

         4. Licensee may not use SIP to generate Python bindings for any C
 or
            C++ library for which bindings are already provided by
 Riverbank.

     GPL-2 or GPL-3 licenses are also available. For details see
     /opt/local/share/doc/py37-sip/LICENSE [-GPL2 -GPL3]
   python38 has the following notes:
     To make this the default Python or Python 3 (i.e., the version run by
 the
     'python' or 'python3' commands), run one or both of:

         sudo port select --set python python38
         sudo port select --set python3 python38
 }}}

 Output from calling zim from the command line:
 {{{
 % zim

 ** (zim:3105): WARNING **: 12:33:52.676: Failed to load shared library
 '@rpath/libatk-1.0.0.dylib' referenced by the typelib:
 dlopen(@rpath/libatk-1.0.0.dylib, 9): image not found
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/zim",
 line 40, in <module>
     import zim.main
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/zim/main/__init__.py", line 31, in <module>
     from zim.notebook import Notebook, Path, \
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/zim/notebook/__init__.py", line 38, in <module>
     from .info import NotebookInfo, NotebookInfoList, \
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/zim/notebook/info.py", line 18, in <module>
     from .notebook import NotebookConfig, _resolve_relative_config
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/zim/notebook/notebook.py", line 17, in <module>
     import zim.templates
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/zim/templates/__init__.py", line 61, in <module>
     from zim.templates.functions import build_template_functions
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/zim/templates/functions.py", line 24, in <module>
     from zim.formats.html import html_encode
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/zim/formats/__init__.py", line 79, in <module>
     from zim.plugins import PluginManager
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/zim/plugins/__init__.py", line 45, in <module>
     from zim.actions import hasaction
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/zim/actions.py", line 36, in <module>
     PRIMARY_MODIFIER_MASK = _get_modifier_mask()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/zim/actions.py", line 31, in _get_modifier_mask
     from gi.repository import Gtk
   File "<frozen importlib._bootstrap>", line 983, in _find_and_load
   File "<frozen importlib._bootstrap>", line 967, in
 _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
   File "<frozen importlib._bootstrap>", line 638, in
 _load_backward_compatible
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gi/importer.py", line 146, in load_module
     dynamic_module = load_overrides(introspection_module)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gi/overrides/__init__.py", line 125, in load_overrides
     override_mod = importlib.import_module(override_package_name)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/__init__.py",
 line 127, in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gi/overrides/Gtk.py", line 119, in <module>
     class Widget(Gtk.Widget):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gi/module.py", line 182, in __getattr__
     interfaces = tuple(interface for interface in
 get_interfaces_for_object(info)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gi/module.py", line 105, in get_interfaces_for_object
     interfaces.append(getattr(module, name))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gi/module.py", line 221, in __getattr__
     wrapper = metaclass(name, bases, dict_)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/gi/types.py", line 256, in __init__
     register_interface_info(cls.__info__.get_g_type())
 TypeError: must be an interface

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60166#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list