Opened 8 years ago

Closed 6 years ago

#53199 closed defect (duplicate)

py35-pyqt5 fail to build

Reported by: dmarteau (David Marteau) Owned by: mamoll (Mark Moll)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mkae (Marko Käning), jjstickel (Jonathan Stickel), michaelld (Michael Dickens)
Port: py-pyqt5

Description

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

Change History (10)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Port: py-pyqt5 added; py35-pyqt5 removed
Priority: HighNormal

The Priority field is for use by Macports team members only.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Cc: mmoll@… removed
Owner: set to mamoll
Status: newassigned

comment:3 Changed 8 years ago by dmarteau (David Marteau)

Note that the sip version is 4.19

comment:4 Changed 8 years ago by mkae (Marko Käning)

Version: 2.3.5

comment:5 Changed 8 years ago by mkae (Marko Käning)

Cc: mkae added

comment:6 Changed 8 years ago by dmarteau (David Marteau)

This seems to be related to #53200

comment:7 Changed 8 years ago by jjstickel (Jonathan Stickel)

Cc: jjstickel added

comment:8 Changed 8 years ago by michaelld (Michael Dickens)

Guessing that this ticket is a duplicate of #53197, and thus it should be fixed now. Please do:

sudo port selfupdate

and verify that this is indeed the case.

comment:9 Changed 8 years ago by michaelld (Michael Dickens)

Cc: michaelld added

comment:10 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.