[MacPorts] #64343: ledger @3.2.1_1: Could NOT find Boost (missing: python310) (was: ledger @3.2.1_1 configure failure)

MacPorts noreply at macports.org
Mon Jan 3 10:00:47 UTC 2022


#64343: ledger @3.2.1_1: Could NOT find Boost (missing: python310)
-------------------------+--------------------
  Reporter:  choralbari  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  ledger      |
-------------------------+--------------------

Comment (by ryandesign):

 Issue seems easy enough to reproduce. On my system:

 {{{
 -- Found Python: /opt/local/bin/python3.10 (found version "3.10.1") found
 components: Interpreter
 -- Found Python: /opt/local/bin/python3.10 (found version "3.10.1") found
 components: Interpreter Development Development.Module Development.Embed
 CMake Warning at /opt/local/share/cmake-3.22/Modules/FindBoost.cmake:2201
 (message):
   No header defined for python310; skipping header check (note: header-
 only
   libraries have no designated component)
 Call Stack (most recent call first):
   CMakeLists.txt:82 (find_package)


 CMake Error at
 /opt/local/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230
 (message):
   Could NOT find Boost (missing: python310) (found suitable version
 "1.76.0",
   minimum required is "1.49.0")
 Call Stack (most recent call first):
 /opt/local/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594
 (_FPHSA_FAILURE_MESSAGE)
   /opt/local/share/cmake-3.22/Modules/FindBoost.cmake:2360
 (find_package_handle_standard_args)
   CMakeLists.txt:82 (find_package)


 -- Configuring incomplete, errors occurred!
 }}}
 We need to tell the build to use python39. The port already appears to try
 to do that with `-DPYTHON_EXECUTABLE=${prefix}/bin/python${py_ver}` but I
 guess that's not enough.

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


More information about the macports-tickets mailing list