Opened 4 years ago

Closed 2 years ago

#60716 closed defect (fixed)

py-qscintilla-qt5 @2.11.2_0: error: no matching constructor for initialization of '::QsciAPIs []'

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Dear,

I am doing a fresh installation of (the default) qgis3 on a newly re-installed MacPorts (Catalina 10.15), but the installation fails due to a py36-qscintilla-qt5 error (see part of error log below and complete error log attached). Therefore I cannot install the default qgis3 or any of its variants.

The problem also appears with other python variants of py-qscintilla-qt5 (e.g. py37-qscintilla-qt5, py36-qscintilla-qt5, py38-qscintilla-qt5).

The problem seems related to an earlier (but 17 month old) ticket (#58067), but I have no idea to resolve it. I have successfully installed earlier versions of qgis3 (and dependencies) over the past months without ever facing this problem.

Thanks in advance and best regards, Stef

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qscintilla/py36-qscintilla-qt5/work/QScintilla_gpl-2.11.2/Python/Qsci/sipQsciQsciAPIs.cpp:817:17: error: no matching constructor for initialization of '::QsciAPIs []'
:info:build     return new  ::QsciAPIs[sipNrElem];
:info:build                 ^
:info:build /opt/local/libexec/qt5/include/Qsci/qsciapis.h:73:5: note: candidate constructor not viable: requires single argument 'lexer', but no arguments were provided
:info:build     QsciAPIs(QsciLexer *lexer);
:info:build     ^
:info:build /opt/local/libexec/qt5/include/Qsci/qsciapis.h:209:5: note: candidate constructor not viable: requires 1 argument, but 0 were provided
:info:build     QsciAPIs(const QsciAPIs &);
:info:build     ^
:info:build 1 error generated.
:info:build make[1]: *** [sipQsciQsciAPIs.o] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qscintilla/py36-qscintilla-qt5/work/QScintilla_gpl-2.11.2/Python/Qsci'
:info:build make: *** [sub-Qsci-all-ordered] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qscintilla/py36-qscintilla-qt5/work/QScintilla_gpl-2.11.2/Python'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qscintilla/py36-qscintilla-qt5/work/QScintilla_gpl-2.11.2/Python" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build Failed to build py36-qscintilla-qt5: command execution failed
:debug:build Error code: CHILDSTATUS 24427 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qscintilla/py36-qscintilla-qt5/main.log for details.

Attachments (1)

py36-qscintilla-qt_error.log (223.3 KB) - added by steflhermitte 4 years ago.
Build error log

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by steflhermitte

Build error log

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: MarcusCalhoun-Lopez added
Description: modified (diff)
Owner: set to michaelld
Port: py-qscintilla-qt5 added; py37-qscintilla-qt5 py36-qscintilla-qt5 py38-qscintilla-qt5 qgis3 removed
Status: newassigned
Summary: qgis3 @3.14.0 + py37-qscintilla-qt5 @ 2.11.2_0py-qscintilla-qt5 @2.11.2_0: error: no matching constructor for initialization of '::QsciAPIs []'

#58067 does not appear to be related. In #58067 py-qscintilla-qt5 could be built but qgis3 could not, while here py-qscintilla-qt5 cannot be built.

comment:2 Changed 2 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

the py-qscintilla-qt5 port is currently at version 2.11.6 and its replacement py-qt5-scintilla is at version 2.13.1. These ports seem to build just fine on recent systems like Catalina, so I suspect this ticket has been resolved. I am going to close it as "Fixed"; please reopen if that is not the case.

Note: See TracTickets for help on using tickets.