[MacPorts] #62665: py39-matplotlib Compiles But does NOT Link Properly on Lion

MacPorts noreply at macports.org
Sat Apr 10 15:35:24 UTC 2021


#62665: py39-matplotlib Compiles But does NOT Link Properly on Lion
----------------------------+------------------------
  Reporter:  RobK88         |      Owner:  reneeotten
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.4
Resolution:                 |   Keywords:  Lion
      Port:  py-matplotlib  |
----------------------------+------------------------

Comment (by RobK88):

 I see that a new version of py39-matplotlib was pushed to the Macport
 servers to attempt to address the libstdc++ / libc++ issue.
 Unfortunately, it still does not work on Lion.  (See below).

 As per Ken's suggestion, I will try building the port using clang-9.0 and
 let you know what happens.


 {{{
 $ port outdated
 The following installed ports are outdated:
 py39-docutils                  0.16_1 < 0.17_0
 py39-matplotlib                3.4.1_0 < 3.4.1_0  (C++ stdlib libstdc++ !=
 libc++)

 $ sudo port upgrade outdated

 --->  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.4.1/setup.cfg
 --->  Configuring py39-matplotlib
 --->  Building py39-matplotlib
 --->  Staging py39-matplotlib into destroot
 --->  Deactivating py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Uninstalling py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Computing dependencies for py39-matplotlib
 --->  Installing py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Activating py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  Found 1 broken port, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt: py39-matplotlib @3.4.1+cairo+webagg
 Continue? [Y/n]: Y
 --->  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.4.1/setup.cfg
 --->  Configuring py39-matplotlib
 --->  Building py39-matplotlib
 --->  Staging py39-matplotlib into destroot
 --->  Deactivating py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Uninstalling py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Computing dependencies for py39-matplotlib
 --->  Installing py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Activating py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  Found 1 broken port, determining rebuild order
 --->  Rebuilding in order
      py39-matplotlib @3.4.1 +cairo+webagg
 --->  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.4.1/setup.cfg
 --->  Configuring py39-matplotlib
 --->  Building py39-matplotlib
 --->  Staging py39-matplotlib into destroot
 --->  Deactivating py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Uninstalling py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Computing dependencies for py39-matplotlib
 --->  Installing py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Activating py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  Found 1 broken port, determining rebuild order
 --->  Rebuilding in order
      py39-matplotlib @3.4.1 +cairo+webagg
 --->  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.4.1/setup.cfg
 --->  Configuring py39-matplotlib
 --->  Building py39-matplotlib
 --->  Staging py39-matplotlib into destroot
 --->  Deactivating py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Uninstalling py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Computing dependencies for py39-matplotlib
 --->  Installing py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Activating py39-matplotlib @3.4.1_0+cairo+webagg
 --->  Cleaning py39-matplotlib
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 Error: Port py39-matplotlib is still broken after rebuilding it more than
 3 times.
 Error: Please run port -d -y rev-upgrade and use the output to report a
 bug.
 Error: rev-upgrade failed: Port py39-matplotlib still broken after
 rebuilding 3 times
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 --->  Some of the ports you installed have notes:
   py39-docutils has the following notes:
     To make the Python 3.9 version of docutils the one that is run when
 you execute the commands without a version suffix, e.g. 'rst2man', run:

     port select --set docutils py39-docutils
   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/tutorials/introductory/usage.html#backends
 $
 }}}

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


More information about the macports-tickets mailing list