Opened 2 years ago

Closed 2 years ago

#65600 closed defect (fixed)

py-poppler-qt5: fails to find the appropriate SDK for Big Sur and Monterey

Reported by: JJHelly Owned by: dliessi (Davide Liessi)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: mascguy (Christopher Nielsen)
Port: py-poppler-qt5

Description (last modified by mascguy (Christopher Nielsen))

Failure building py-poppler-qt5, similar to other Qt5 ports:

:info:build Querying qmake about your Qt installation...
:info:build /opt/local/libexec/qt5/bin/qmake -query
:info:build These bindings will be built: Poppler-Qt5.
:info:build Generating the Poppler-Qt5 bindings...
:info:build Generating the .pro file for the popplerqt5 module...
:info:build Generating the top-level .pro file...
:info:build Generating the Makefiles...
:info:build /opt/local/libexec/qt5/bin/qmake -recursive python-poppler-qt5.pro
:info:build sip-build-3.10: '/opt/local/libexec/qt5/bin/qmake -recursive python-poppler-qt5.pro' failed returning 3
:info:build Project ERROR: Could not resolve SDK Path for 'macosx12' using --show-sdk-path
:info:build Command failed:  cd "work/python-poppler-qt5-21.1.0" && sip-build-3.10 --qmake /opt/local/libexec/qt5/bin/qmake --verbose
:info:build Exit code: 1
:error:build Failed to build py310-poppler-qt5: command execution failed

Change History (5)

comment:1 Changed 2 years ago by dliessi (Davide Liessi)

Reference to the same problem with py-pyqt5: https://trac.macports.org/ticket/65410.

This ticket should be assigned to me, but I do not have the permission to do it.

comment:2 Changed 2 years ago by dliessi (Davide Liessi)

I have just opened a PR with the fix: https://github.com/macports/macports-ports/pull/15773

comment:3 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Owner: set to dliessi
Status: newassigned

comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)

Description: modified (diff)
Keywords: frescobaldi Poppler-Qt5 removed
Port: py-poppler-qt5 added; Poppler-Qt5 removed
Summary: Related to #65410: py310-poppler-qt5 : Don't know where to add use_xcode yes for this part of the frescobaldi buildpy-poppler-qt5: fails to find the appropriate SDK for Big Sur and Monterey

comment:5 Changed 2 years ago by dliessi (Davide Liessi)

Resolution: fixed
Status: assignedclosed

In 5730a6db0518c48afd518d64c90c0cc2086160a9/macports-ports (master):

py-poppler-qt5: use_xcode when py-pyqt5 uses it

Closes: #65600

Note: See TracTickets for help on using tickets.