[MacPorts] #60716: py-qscintilla-qt5 @2.11.2_0: error: no matching constructor for initialization of '::QsciAPIs []' (was: qgis3 @3.14.0 + py37-qscintilla-qt5 @ 2.11.2_0)

MacPorts noreply at macports.org
Fri Jun 26 15:21:58 UTC 2020


#60716: py-qscintilla-qt5 @2.11.2_0: error: no matching constructor for
initialization of '::QsciAPIs []'
--------------------------------+-----------------------
  Reporter:  steflhermitte      |      Owner:  michaelld
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.6.2
Resolution:                     |   Keywords:
      Port:  py-qscintilla-qt5  |
--------------------------------+-----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: MarcusCalhoun-Lopez (added)
 * owner:  (none) => michaelld
 * port:  py37-qscintilla-qt5, py36-qscintilla-qt5, py38-qscintilla-qt5,
     qgis3 => py-qscintilla-qt5


Old description:

> 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
> (https://trac.macports.org/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.
> }}}

New description:

 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.
 }}}

--

Comment:

 #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.

-- 
Ticket URL: <https://trac.macports.org/ticket/60716#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list