[MacPorts] #69534: Trace mode does not fully hide python modules

MacPorts noreply at macports.org
Tue Mar 19 04:52:03 UTC 2024


#69534: Trace mode does not fully hide python modules
------------------------------+----------------------
  Reporter:  ryandesign       |      Owner:  (none)
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  base             |    Version:  2.9.1
Resolution:                   |   Keywords:
      Port:  py39-setuptools  |
------------------------------+----------------------

Comment (by ryandesign):

 Replying to [comment:4 jmroot]:
 > if it works without trace mode whether or not py39-importlib-metadata is
 installed, which seems to be the case,

 Yes I agree:

 {{{
 % sudo port deactivate py39-importlib-metadata
 Note: It is not recommended to uninstall/deactivate a port that has
 dependents as it breaks the dependents.
 The following ports will break:
  py39-build @1.0.3_0
  py39-sphinx @7.2.6_0
 Continue? [y/N]: y
 Warning: Deactivate forced.  Proceeding despite dependencies.
 --->  Deactivating py39-importlib-metadata @7.0.2_0
 --->  Cleaning py39-importlib-metadata
 % sudo port build py39-libxml2
 --->  Computing dependencies for py39-libxml2
 --->  Fetching distfiles for py39-libxml2
 --->  Verifying checksums for py39-libxml2
 --->  Extracting py39-libxml2
 --->  Applying patches to py39-libxml2
 --->  Configuring py39-libxml2
 --->  Building py39-libxml2
 % sudo port clean py39-libxml2
 --->  Cleaning py39-libxml2
 %
 % sudo port activate py39-importlib-metadata
 --->  Computing dependencies for py39-importlib-metadata
 --->  Activating py39-importlib-metadata @7.0.2_0
 --->  Cleaning py39-importlib-metadata
 % sudo port build py39-libxml2
 --->  Computing dependencies for py39-libxml2
 --->  Fetching distfiles for py39-libxml2
 --->  Verifying checksums for py39-libxml2
 --->  Extracting py39-libxml2
 --->  Applying patches to py39-libxml2
 --->  Configuring py39-libxml2
 --->  Building py39-libxml2
 % sudo port clean py39-libxml2
 --->  Cleaning py39-libxml2
 %
 % sudo port -t build py39-libxml2
 --->  Computing dependencies for py39-libxml2
 --->  Fetching distfiles for py39-libxml2
 --->  Verifying checksums for py39-libxml2
 --->  Extracting py39-libxml2
 Warning: The following existing file was hidden from the build system by
 trace mode:
   /private/var/select/sh
 --->  Applying patches to py39-libxml2
 Warning: The following existing file was hidden from the build system by
 trace mode:
   /private/var/select/sh
 --->  Configuring py39-libxml2
 --->  Building py39-libxml2
 Warning: The following existing files were hidden from the build system by
 trace mode:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/importlib_metadata/__init__.py
   /private/var/select/sh
 Error: Failed to build py39-libxml2: command execution failed
 Error: See /opt/local/var/macports/logs/_Volumes_Shared_macports-
 ports_python_py-libxml2/py39-libxml2/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port py-libxml2 failed
 }}}

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


More information about the macports-tickets mailing list