Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#57087 closed defect (fixed)

Error configuring py27-qscintilla-qt4 on Mac OS 10.13.x

Reported by: news24lor Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: py-qscintilla-qt4

Description

Hi

It's impossible to configure py27-qscintilla-qt4 on Mac OS 10.13.x The error is connected to PyQt4 that I have installed.

py27-qscintilla-qt4 does not see PyQt4

From main.log

....
:debug:configure PATH='/opt/local/libexec/qt4/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
:debug:configure PKG_CONFIG_PATH='/opt/local/libexec/qt4/lib/pkgconfig'
:debug:configure PYTHON='/opt/local/bin/python2.7'
:debug:configure QMAKE='/opt/local/libexec/qt4/bin/qmake'
:debug:configure QMAKESPEC='macx-g++'
:debug:configure QTDIR='/opt/local/libexec/qt4'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qscintilla/py27-qscintilla-qt4/work/QScintilla_gpl-2.10.7/Python" && /opt/local/bin/python2.7 configure.py --verbose --pyqt=PyQt4 --sip=/opt/local/bin/sip-2.7 --qmake=/opt/local/libexec/qt4/bin/qmake --no-dist-info --spec=macx-g++ 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qscintilla/py27-qscintilla-qt4/work/QScintilla_gpl-2.10.7/Python" && /opt/local/bin/python2.7 configure.py --verbose --pyqt=PyQt4 --sip=/opt/local/bin/sip-2.7 --qmake=/opt/local/libexec/qt4/bin/qmake --no-dist-info --spec=macx-g++ 
:info:configure Error: Unable to import PyQt4.QtCore. Make sure PyQt4 is installed.
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qscintilla/py27-qscintilla-qt4/work/QScintilla_gpl-2.10.7/Python" && /opt/local/bin/python2.7 configure.py --verbose --pyqt=PyQt4 --sip=/opt/local/bin/sip-2.7 --qmake=/opt/local/libexec/qt4/bin/qmake --no-dist-info --spec=macx-g++ 
:info:configure Exit code: 1
:error:configure Failed to configure py27-qscintilla-qt4: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qscintilla/py27-qscintilla-qt4/main.log for details.

Whithout qscintilla-qt4 it's impossible to build 'qgis 2.18.17'

Please, a fix for this bug

Change History (8)

comment:1 Changed 6 years ago by Schamschula (Marius Schamschula)

Owner: set to michaelld
Port: py-qscintilla-qt4 added
Status: newassigned

comment:2 Changed 6 years ago by Schamschula (Marius Schamschula)

Cc: michaelld removed

comment:3 Changed 6 years ago by michaelld (Michael Dickens)

If you follow the instructions in this ticket < https://trac.macports.org/ticket/56993 > to either activate or reinstalll py27-pyqt4 @4.12.1_2, do that fix the issue for you?

comment:4 Changed 6 years ago by michaelld (Michael Dickens)

After a quick check I see this issue too, and reverting back to py*-pyqt4 @4.12.1_2 does the trick for me. Hopefully it does for you too.

comment:5 Changed 6 years ago by michaelld (Michael Dickens)

In 6ff198d44950f8ff1cd8d03035ac29cb170796c9/macports-ports (master):

py*-pyqt4: revert version back to 4.12.1_2

Versions 4.12.2 and 4.12.3 change APIs (maybe remove some deprecated APIs) that cause incompatibilities with various dependent ports. As PyQt4 is somewhat of a critical port for many Qt4-related ports, we're reverting it back to the last known working version / revision.

Hopefully addresses:
+ #56993
+ #57087

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

Please update your ports (sudo port selfupdate or sudo port sync or whatever script you prefer here). Then upgrade the outdated ports (sudo port upgrade outdated or whatever script you prefer here) to install the last known working version of py*-pyqt4 && it should fix this issue. Please report back success or failure.

comment:7 Changed 6 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

The commit fixes this issue for me, and with lack of feedback I'm assuming it does for others too. Hence, I'm closing this ticket as fixed.

comment:8 Changed 6 years ago by news24lor

Sorry

Now it builds with old pyqt4 4.12.1. This is fixed

Thanks

Note: See TracTickets for help on using tickets.