pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py312-qt6-qscintilla-2.14.1nb11 C++ version mismatch?



I am rebuilding my packages. As an experiment I am using bob the builder
for it now, instead of my usual pkg_comp1 sandbox with pkg_chk.

I find that py312-qt6-qscintilla-2.14.1nb11 doesn't build.

I have a global GCC_REQD+=12 because some packages need at least that
version. But I have a small suspicion that this causes a "wrong" version
of c++ to be used for py312-qt6-qscintilla, causing the build errors.
(because I haven't seen other reports of build failures)

From the errors below, is it easy to see which version of C++ I should
specify, or can I only use trial and error?

=> "/usr/bin/make" ["-C", "/usr/pkgsrc/x11/py-qt6-qscintilla", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "PYTHON_VERSION_REQD=312", "WRKLOG=/mnt/scratch/scratch/tmp/bobdir/db/logs/py312-qt6-qscintilla-2.14.1nb11/work.log"]
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> _pkgformat-check-vulnerable [py312-qt6-qscintilla-2.14.1nb11] ===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> build-message [py312-qt6-qscintilla-2.14.1nb11] ===> Building for py312-qt6-qscintilla-2.14.1nb11
* Building wheel...
pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
Querying qmake about your Qt installation...
Checking to see if the Qsci bindings can be built...
These bindings will be built: Qsci.
Generating the Qsci bindings...
Generating the .pro file for the Qsci module...
Generating the top-level .pro file...
Generating the Makefiles...
Compiling the project...
_in_process.py: 'make' failed returning 1
                 from /usr/pkg/qt6/include/QtCore/QMetaType:1,
                 from sipAPIQsci.h:33,
                 from sipQsciQsciLexerVHDL.cpp:24:
/usr/pkg/qt6/include/QtCore/qbytearrayview.h:143:15: note: candidate: 'constexpr QByteArrayView::QByteArrayView(std::nullptr_t)'
  143 |     constexpr QByteArrayView(std::nullptr_t) noexcept
      |               ^~~~~~~~~~~~~~
/usr/pkg/qt6/include/QtCore/qbytearrayview.h:143:30: note:   no known conversion for argument 1 from 'const QByteArray' to 'std::nullptr_t'
  143 |     constexpr QByteArrayView(std::nullptr_t) noexcept
      |                              ^~~~~~~~~~~~~~
/usr/pkg/qt6/include/QtCore/qbytearrayview.h:141:15: note: candidate: 'constexpr QByteArrayView::QByteArrayView()'
  141 |     constexpr QByteArrayView() noexcept
      |               ^~~~~~~~~~~~~~
/usr/pkg/qt6/include/QtCore/qbytearrayview.h:141:15: note:   candidate expects 0 arguments, 1 provided
/usr/pkg/qt6/include/QtCore/qbytearrayview.h:85:21: note: candidate: 'constexpr QByteArrayView::QByteArrayView(const QByteArrayView&)'
   85 | class Q_CORE_EXPORT QByteArrayView
      |                     ^~~~~~~~~~~~~~
/usr/pkg/qt6/include/QtCore/qbytearrayview.h:85:21: note:   no known conversion for argument 1 from 'const QByteArray' to 'const QByteArrayView&'
/usr/pkg/qt6/include/QtCore/qbytearrayview.h:85:21: note: candidate: 'constexpr QByteArrayView::QByteArrayView(QByteArrayView&&)'
/usr/pkg/qt6/include/QtCore/qbytearrayview.h:85:21: note:   no known conversion for argument 1 from 'const QByteArray' to 'QByteArrayView&&'
In file included from /usr/pkg/qt6/include/QtCore/qglobal.h:45,
                 from /usr/pkg/qt6/include/QtCore/qmetatype.h:9,
                 from /usr/pkg/qt6/include/QtCore/QMetaType:1,
                 from sipAPIQsci.h:33,
                 from sipQsciQsciLexerVHDL.cpp:24:
/usr/pkg/qt6/include/QtCore/qtypeinfo.h: In instantiation of 'class QTypeInfo<unsigned int>':
/usr/pkg/qt6/include/QtCore/qarraydataops.h:827:23:   required by substitution of 'template<class T> struct QtPrivate::QArrayOpsSelector<T, typename std::enable_if<(QTypeInfo<T>::isComplex && QTypeInfo<T>::isRelocatable)>::type> [with T = unsigned int]'
/usr/pkg/qt6/include/QtCore/qarraydataops.h:834:8:   required from 'struct QtPrivate::QCommonArrayOps<unsigned int>'
/usr/pkg/qt6/include/QtCore/qarraydataops.h:918:8:   required from 'struct QArrayDataOps<unsigned int>'
/usr/pkg/qt6/include/QtCore/qarraydatapointer.h:109:22:   required from 'QArrayDataPointer<T>::~QArrayDataPointer() [with T = unsigned int]'
/usr/pkg/qt6/include/QtCore/qlist.h:76:7:   required from here
/usr/pkg/qt6/include/QtCore/qtypeinfo.h:65:10: error: enumerator value for 'isComplex' is not an integer constant
   65 |     enum {
      |          ^
/usr/pkg/qt6/include/QtCore/qtypeinfo.h:65:10: error: enumerator value for 'isRelocatable' is not an integer constant
/usr/pkg/qt6/include/QtCore/qtypeinfo.h:65:10: error: enumerator value for 'isValueInitializationBitwiseZero' is not an integer constant
In file included from /usr/pkg/qt6/include/QtCore/qarraydatapointer.h:7,
                 from /usr/pkg/qt6/include/QtCore/qbytearray.h:12,
                 from /usr/pkg/qt6/include/QtCore/qmetatype.h:11,
                 from /usr/pkg/qt6/include/QtCore/QMetaType:1,
                 from sipAPIQsci.h:33,
                 from sipQsciQsciLexerVHDL.cpp:24:
/usr/pkg/qt6/include/QtCore/qarraydataops.h: In instantiation of 'struct QtPrivate::QArrayOpsSelector<unsigned int, void>':
/usr/pkg/qt6/include/QtCore/qarraydataops.h:834:8:   required from 'struct QtPrivate::QCommonArrayOps<unsigned int>'
/usr/pkg/qt6/include/QtCore/qarraydataops.h:918:8:   required from 'struct QArrayDataOps<unsigned int>'
/usr/pkg/qt6/include/QtCore/qarraydatapointer.h:109:22:   required from 'QArrayDataPointer<T>::~QArrayDataPointer() [with T = unsigned int]'
/usr/pkg/qt6/include/QtCore/qlist.h:76:7:   required from here
/usr/pkg/qt6/include/QtCore/qarraydataops.h:827:33: warning: enum constant in boolean context [-Wint-in-bool-context]
  827 |         QTypeInfo<T>::isComplex && QTypeInfo<T>::isRelocatable
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/pkg/qt6/include/QtCore/qarraydataops.h:827:33: warning: enum constant in boolean context [-Wint-in-bool-context]
/usr/pkg/qt6/include/QtCore/qarraydataops.h:827:33: warning: enum constant in boolean context [-Wint-in-bool-context]
/usr/pkg/qt6/include/QtCore/qarraydataops.h:827:33: warning: enum constant in boolean context [-Wint-in-bool-context]
/usr/pkg/qt6/include/QtCore/qarraydataops.h:827:33: warning: enum constant in boolean context [-Wint-in-bool-context]
/usr/pkg/qt6/include/QtCore/qarraydataops.h:827:33: warning: enum constant in boolean context [-Wint-in-bool-context]
In file included from /usr/pkg/qt6/include/QtGui/qfont.h:8,
                 from /usr/pkg/qt6/include/QtGui/QFont:1,
                 from /usr/pkg/qt6/include/Qsci/qscilexer.h:25,
                 from /usr/pkg/qt6/include/Qsci/qscilexervhdl.h:27,
                 from /tmpfs/x11/py-qt6-qscintilla/work.x86_64/QScintilla_src-2.14.1/Python/sip/qscilexervhdl.sip:24:
/usr/pkg/qt6/include/QtCore/qendian.h: In instantiation of 'Float qbswapFloatHelper(Float) [with Float = qfloat16]':
/usr/pkg/qt6/include/QtCore/qendian.h:137:36:   required from here
/usr/pkg/qt6/include/QtCore/qendian.h:131:18: error: call of overloaded 'qbswap(short unsigned int&)' is ambiguous
  131 |     temp = qbswap(temp);
      |            ~~~~~~^~~~~~
/usr/pkg/qt6/include/QtCore/qendian.h:110:27: note: candidate: 'constexpr quint128 qbswap(quint128)'
  110 | inline constexpr quint128 qbswap(quint128 source)
      |                           ^~~~~~
/usr/pkg/qt6/include/QtCore/qendian.h:119:26: note: candidate: 'constexpr qint128 qbswap(qint128)'
  119 | inline constexpr qint128 qbswap(qint128 source)
      |                          ^~~~~~
/usr/pkg/qt6/include/QtCore/qendian.h: In instantiation of 'Float qbswapFloatHelper(Float) [with Float = float]':
/usr/pkg/qt6/include/QtCore/qendian.h:142:36:   required from here
/usr/pkg/qt6/include/QtCore/qendian.h:131:18: error: call of overloaded 'qbswap(unsigned int&)' is ambiguous
  131 |     temp = qbswap(temp);
      |            ~~~~~~^~~~~~
/usr/pkg/qt6/include/QtCore/qendian.h:110:27: note: candidate: 'constexpr quint128 qbswap(quint128)'
  110 | inline constexpr quint128 qbswap(quint128 source)
      |                           ^~~~~~
/usr/pkg/qt6/include/QtCore/qendian.h:119:26: note: candidate: 'constexpr qint128 qbswap(qint128)'
  119 | inline constexpr qint128 qbswap(qint128 source)
      |                          ^~~~~~
/usr/pkg/qt6/include/QtCore/qendian.h: In instantiation of 'Float qbswapFloatHelper(Float) [with Float = double]':
/usr/pkg/qt6/include/QtCore/qendian.h:147:36:   required from here
/usr/pkg/qt6/include/QtCore/qendian.h:131:18: error: call of overloaded 'qbswap(long long unsigned int&)' is ambiguous
  131 |     temp = qbswap(temp);
      |            ~~~~~~^~~~~~
/usr/pkg/qt6/include/QtCore/qendian.h:110:27: note: candidate: 'constexpr quint128 qbswap(quint128)'
  110 | inline constexpr quint128 qbswap(quint128 source)
      |                           ^~~~~~
/usr/pkg/qt6/include/QtCore/qendian.h:119:26: note: candidate: 'constexpr qint128 qbswap(qint128)'
  119 | inline constexpr qint128 qbswap(qint128 source)
      |                          ^~~~~~
*** Error code 1

Stop.
make[1]: stopped in /tmp/tmpbb_otur9/Qsci
*** Error code 1

Stop.
make: stopped in /tmp/tmpbb_otur9
To see the full output use the --verbose option.

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/x11/py-qt6-qscintilla
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/py-qt6-qscintilla



-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index