#66521 closed defect (fixed)

qbs-docs @1.23.0: destroot failure

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jobor (Jörg Bornemann)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc:
Port: qbs-docs

Description

qbs-docs fails to destroot:

https://build.macports.org/builders/ports-13_x86_64-builder/builds/5022/steps/install-port/logs/stdio

-- Found Python3: /opt/local/bin/python3.11 (found version "3.11.1") found components: Interpreter 
-- Could NOT find PY_lxml (missing: PY_LXML) 
-- Could NOT find PY_bs4 (missing: PY_BS4) 
CMake Warning at cmake/QbsDocumentation.cmake:166 (message):
  Cannot import lxml and bs4 python modules.  Qbs documentation will not be
  built.
Error: No files have been installed in the destroot directory!

The port declares dependencies on python 3.10 and modules but cmake has found and tried to use python 3.11, for which the modules were not installed.

Modify the configuration process so that python 3.10 is always used, even if python 3.11 is installed.

Change History (1)

comment:1 Changed 11 months ago by Ivan Komissarov <abbapoh@…>

Resolution: fixed
Status: assignedclosed

In 1a25ad1bed58341e8f3dcf79a7d4ac2e86bb060a/macports-ports (master):

qbs-docs: Fix python version

fixes: #66521

Note: See TracTickets for help on using tickets.