[MacPorts] #53199: py35-pyqt5 fail to build
MacPorts
noreply at macports.org
Mon Jan 2 21:31:06 UTC 2017
#53199: py35-pyqt5 fail to build
----------------------+------------------------
Reporter: dmarteau | Owner:
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 2.3.5
Keywords: | Port: py35-pyqt5
----------------------+------------------------
py35-pyqt5 build fail with the following error (debug mode):
{{{
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-pyqt5/py35-
pyqt5/work/PyQt5_gpl-5.6" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5
configure.py -q /opt/local/libexec/qt5/bin/qmake --verbose --confirm-
license --sip=/opt/local
/bin/sip-3.5
--dbus=/opt/local/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m
/dbus-1.0 --designer-
plugindir=/opt/local/libexec/qt5/plugins/designer/Py35Qt5 --qml-
plugindir=/opt
/local/libexec/qt5/plugins/Py35Qt5 --disable=QtWebKit
--disable=QtWebKitWidgets
--disable=QtWebEngineCore --disable=QtWebEngineWidgets
QMAKE_MACOSX_DEPLOYMENT_TARGET=10.9
QMAKE_CXXFLAGS-=-stdlib=libc++ QMAKE_LFLAGS-=-stdlib=libc++
QMAKE_CXXFLAGS+=-stdlib=libc++
QMAKE_LFLAGS+=-stdlib=libc++ --spec=macx-clang
Exit code: 1
Error: org.macports.configure for port py35-pyqt5 returned: configure
failure: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: configure failure: command execution failed
while executing
"portconfigure::configure_main org.macports.configure"
("eval" body line 1)
invoked from within
"eval $procedure $targetname"
}}}
After investigation, the command that fail is the invocation from
configure.py of sip-3.5 with the '-f' options (warning are errors):
{{{
/opt/local/bin/sip-3.5 -w -t WS_MACX -t Qt_5_6_2 -B Qt_6_0_0 -o -P -a
QtCore.api -y QtCore.pyi -c ...
}}}
The command fail with the following error:
{{{
sip: Deprecation warning:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
pyqt5/py35-pyqt5/work/PyQt5_gpl-5.6/sip/QtCore/QtCoremod.sip:23: %Module
version numbers are deprecated and ignored
}}}
Removing the -f option or fixing the 'version' argument of the %Module
directive in QtCoremod.sip fix the build.
OSX version: 10.9 (Maverick)
XCode version: 6.2
--
Ticket URL: <https://trac.macports.org/ticket/53199>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list