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

MacPorts noreply at macports.org
Wed Jul 27 23:21:51 UTC 2022


#65555: py39-matplotlib 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-matplotlib  |
------------------------------+--------------------

Comment (by RobK88):

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

 See the ticket #62665

 It looks like you tried to fix the problem so one would not need to
 specify clang-9.0 when compiling on Lion but it looks like your fix did
 not work.

 {{{
 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/65555#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list