[MacPorts] #60576: Error: rev-upgrade failed: Error rebuilding boost-numpy

MacPorts noreply at macports.org
Sat May 30 18:06:07 UTC 2020


#60576: Error: rev-upgrade failed: Error rebuilding boost-numpy
----------------------------+--------------------
  Reporter:  BeastOfBodmin  |      Owner:  (none)
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:  invalid        |   Keywords:
      Port:  boost-numpy    |
----------------------------+--------------------

Comment (by BeastOfBodmin):

 Replying to [comment:9 kencu]:
 > You see how you have boost installed with +python27? That's the issue.
 It comes from some previous version of boost you installed.
 >
 > If you do this:
 > {{{
 > sudo port -f uninstall boost
 > sudo port -v install boost
 > }}}
 > you will then pick up the new default variants for boost, which are now
 +python38.
 > {{{
 > $ port info boost
 > boost @1.71.0_2 (devel)
 > Sub-ports:            boost-numpy
 > Variants:             clang10, clang33, clang34, clang37, clang50,
 clang60,
 >                       clang70, clang80, clang90, cmake_scripts, debug,
 mpich,
 >                       mpich_devel, [+]no_single, [+]no_static, openmpi,
 >                       openmpi_devel, python27, python35, python36,
 python37,
 >                       [+]python38, regex_match_extra, universal
 >
 > }}}
 >
 > If you, for some reason, want to standardize on a different python
 version, you would have to manually force it by specifying a different
 python version.

 Uninstall/ reinstall worked.

 But why did it complain only when I upgraded to python 3.8.3 from 3.8.2?

 Maybe I installed 3.8.2 at or before 2.7, and I had to force 2.7 for some
 other packages. So it only came to light when I upgraded py3.

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


More information about the macports-tickets mailing list