Opened 15 years ago

Closed 15 years ago

#22508 closed defect (fixed)

py26-macholib 1.2.1: missing run dependency on py26-modulegraph

Reported by: raphael@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: haspatch Cc: jmroot (Joshua Root), jyrkiwahlstedt,
Port: py26-macholib

Description

py26-macholib installs the tool macho_standalone that needs modulegraph:

> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/macho_standalone
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/macho_standalone", line 8, in <module>
    load_entry_point('macholib==1.2.1', 'console_scripts', 'macho_standalone')()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 318, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 2221, in load_entry_point
    return ep.load()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/macho_standalone.py", line 6, in <module>
    from macholib.MachOStandalone import MachOStandalone
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/MachOStandalone.py", line 8, in <module>
    from macholib.MachOGraph import MachOGraph, MissingMachO
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/MachOGraph.py", line 17, in <module>
    from macholib.MachO import MachO
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/MachO.py", line 15, in <module>
    from macholib.util import fileview
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/util.py", line 12, in <module>
    from modulegraph.util import *
ImportError: No module named modulegraph.util
Exit 1

A patch is attached. This run dependency should be added to all macholib ports.

Attachments (1)

patch-Portfile.diff (373 bytes) - added by raphael@… 15 years ago.

Download all attachments as: .zip

Change History (2)

Changed 15 years ago by raphael@…

Attachment: patch-Portfile.diff added

comment:1 Changed 15 years ago by jmroot (Joshua Root)

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