[MacPorts] #65554: py39-zopfli is using libstdc++ (this installation is configured to use libc++)

MacPorts noreply at macports.org
Wed Jul 27 23:24:11 UTC 2022


#65554: py39-zopfli is using libstdc++ (this installation is configured to use
libc++)
--------------------------+--------------------
  Reporter:  RobK88       |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.2
Resolution:               |   Keywords:  lion
      Port:  py39-zopfli  |
--------------------------+--------------------

Comment (by RobK88):

 I just remembered the workaround to this problem. When compiling on Lion,
 you can often workaround the error by compiling using the clang-9.0
 compiler.

 See the ticket #62665

 I was able to get py39-zopfli to compile against libc++ when I specified
 the clang-9.0 compiler.  See below.

 bash-3.2$ sudo port uninstall py39-matplotlib
 --->  Deactivating py39-matplotlib @3.5.2_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Uninstalling py39-matplotlib @3.5.2_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 bash-3.2$
 bash-3.2$ sudo port clean py39-matplotlib
 --->  Cleaning py39-matplotlib
 bash-3.2$
 bash-3.2$ sudo port install py39-matplotlib configure.compiler=macports-
 clang-9.0
 --->  Computing dependencies for py39-zopfli
 --->  Fetching distfiles for py39-zopfli
 --->  Verifying checksums for py39-zopfli
 --->  Extracting py39-zopfli
 --->  Configuring py39-zopfli
 --->  Building py39-zopfli
 --->  Staging py39-zopfli into destroot
 --->  Unable to uninstall py39-zopfli @0.2.1_0, the following ports depend
 on it:
 --->    py39-fonttools @4.34.4_0+lxml+unicode+woff
 Warning: Uninstall forced.  Proceeding despite dependencies.
 --->  Deactivating py39-zopfli @0.2.1_0
 --->  Cleaning py39-zopfli
 --->  Uninstalling py39-zopfli @0.2.1_0
 --->  Cleaning py39-zopfli
 --->  Computing dependencies for py39-zopfli
 --->  Installing py39-zopfli @0.2.1_0
 --->  Activating py39-zopfli @0.2.1_0
 --->  Cleaning py39-zopfli
 --->  Computing dependencies for py39-matplotlib
 --->  Fetching distfiles for py39-matplotlib
 --->  Verifying checksums for py39-matplotlib
 --->  Extracting py39-matplotlib
 --->  Applying patches to py39-matplotlib
 Warning: reinplace s|^cairo=False|cairo=True| didn't change anything in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 matplotlib/py39-matplotlib/work/matplotlib-3.5.2/mplsetup.cfg
 --->  Configuring py39-matplotlib
 --->  Building py39-matplotlib
 --->  Staging py39-matplotlib into destroot
 --->  Installing py39-matplotlib @3.5.2_0+cairo+webagg
 --->  Activating py39-matplotlib @3.5.2_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 --->  Some of the ports you installed have notes:
   py39-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/stable/users/explain/backends.html
 bash-3.2$

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


More information about the macports-tickets mailing list