Ошибка сборки с qt 5.14+

Issue #995 wontfix
VVD created an issue

Часть лога сборки с qt 5.15 с ошибками:

In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VGObjectData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VGObjectData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vlayout/../vgeometry/vgobject.h:66:12: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VGObjectData> >' requested here
    { std::swap(d, obj.d); }
           ^
../vlayout/../vgeometry/vgobject.h:45:7: note: forward declaration of 'VGObjectData'
class VGObjectData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VAbstractCurveData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VAbstractCurveData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vpatterndb/../vgeometry/vabstractcurve.h:64:35: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VAbstractCurveData> >' requested here
    { VGObject::Swap(curve); std::swap(d, curve.d); }
                                  ^
../vpatterndb/../vgeometry/vabstractcurve.h:48:7: note: forward declaration of 'VAbstractCurveData'
class VAbstractCurveData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VInternalVariableData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VInternalVariableData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vpatterndb/variables/vinternalvariable.h:55:12: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VInternalVariableData> >' requested here
    { std::swap(d, var.d); }
           ^
../vpatterndb/variables/vinternalvariable.h:39:7: note: forward declaration of 'VInternalVariableData'
class VInternalVariableData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VVariableData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VVariableData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vpatterndb/variables/vvariable.h:59:42: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VVariableData> >' requested here
    { VInternalVariable::Swap(var); std::swap(d, var.d); }
                                         ^
../vpatterndb/variables/vvariable.h:42:7: note: forward declaration of 'VVariableData'
class VVariableData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VMeasurementData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VMeasurementData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vpatterndb/variables/vmeasurement.h:69:32: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VMeasurementData> >' requested here
    { VVariable::Swap(m); std::swap(d, m.d); }
                               ^
../vpatterndb/variables/vmeasurement.h:45:7: note: forward declaration of 'VMeasurementData'
class VMeasurementData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VIncrementData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VIncrementData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vpatterndb/variables/vincrement.h:62:35: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VIncrementData> >' requested here
    { VVariable::Swap(incr); std::swap(d, incr.d); }
                                  ^
../vpatterndb/variables/vincrement.h:40:7: note: forward declaration of 'VIncrementData'
class VIncrementData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VCurveVariableData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VCurveVariableData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vpatterndb/variables/vcurvevariable.h:56:42: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VCurveVariableData> >' requested here
    { VInternalVariable::Swap(var); std::swap(d, var.d); }
                                         ^
../vpatterndb/variables/vcurvevariable.h:39:7: note: forward declaration of 'VCurveVariableData'
class VCurveVariableData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VLengthLineData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VLengthLineData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vpatterndb/variables/vlinelength.h:59:42: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VLengthLineData> >' requested here
    { VInternalVariable::Swap(var); std::swap(d, var.d); }
                                         ^
../vpatterndb/variables/vlinelength.h:41:7: note: forward declaration of 'VLengthLineData'
class VLengthLineData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VLineAngleData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VLineAngleData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vpatterndb/variables/vlineangle.h:57:42: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VLineAngleData> >' requested here
    { VInternalVariable::Swap(var); std::swap(d, var.d); }
                                         ^
../vpatterndb/variables/vlineangle.h:39:7: note: forward declaration of 'VLineAngleData'
class VLineAngleData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VAbstractPieceData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VAbstractPieceData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vpatterndb/../vlayout/vabstractpiece.h:157:12: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VAbstractPieceData> >' requested here
    { std::swap(d, piece.d); }
           ^
../vpatterndb/../vlayout/vabstractpiece.h:43:7: note: forward declaration of 'VAbstractPieceData'
class VAbstractPieceData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VPieceData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VPieceData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vpatterndb/vpiece.h:64:41: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VPieceData> >' requested here
    { VAbstractPiece::Swap(piece); std::swap(d, piece.d); }
                                        ^
../vpatterndb/vpiece.h:38:7: note: forward declaration of 'VPieceData'
class VPieceData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VPiecePathData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VPiecePathData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
../vpatterndb/vpiecepath.h:61:12: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VPiecePathData> >' requested here
    { std::swap(d, path.d); }
           ^
../vpatterndb/vpiecepath.h:38:7: note: forward declaration of 'VPiecePathData'
class VPiecePathData;
      ^
In file included from xml/vabstractpattern.cpp:29:
In file included from xml/vabstractpattern.h:43:
In file included from ../vmisc/def.h:33:
In file included from /usr/local/include/qt5/QtPrintSupport/QPrinter:1:
In file included from /usr/local/include/qt5/QtPrintSupport/qprinter.h:46:
In file included from /usr/local/include/qt5/QtGui/qpagedpaintdevice.h:45:
In file included from /usr/local/include/qt5/QtGui/qpagelayout.h:44:
In file included from /usr/local/include/qt5/QtCore/qsharedpointer.h:45:
/usr/local/include/qt5/QtCore/qshareddata.h:93:47: error: member access into incomplete type 'VPieceNodeData'
    inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
                                              ^
/usr/include/c++/v1/type_traits:4518:9: note: in instantiation of member function
      'QSharedDataPointer<VPieceNodeData>::~QSharedDataPointer' requested here
    _Tp __t(_VSTD::move(__x));
        ^
./../vpatterndb/vpiecenode.h:56:12: note: in instantiation of function template specialization
      'std::__1::swap<QSharedDataPointer<VPieceNodeData> >' requested here
    { std::swap(d, node.d); }
           ^
./../vpatterndb/vpiecenode.h:38:7: note: forward declaration of 'VPieceNodeData'
class VPieceNodeData;
      ^
5 warnings and 13 errors generated.
gmake[4]: *** [Makefile:3146: obj/vabstractpattern.o] Error 1
gmake[4]: Leaving directory '/tmp/work/usr/ports/misc/valentina/work/dismine-valentina-a2e2f6648b28/src/libs/ifc'
gmake[3]: *** [Makefile:113: sub-ifc-all] Error 2
gmake[3]: Leaving directory '/tmp/work/usr/ports/misc/valentina/work/dismine-valentina-a2e2f6648b28/src/libs'
gmake[2]: *** [Makefile:51: sub-libs-all] Error 2
gmake[2]: Leaving directory '/tmp/work/usr/ports/misc/valentina/work/dismine-valentina-a2e2f6648b28/src'
gmake[1]: *** [Makefile:50: sub-src-all] Error 2
gmake[1]: Leaving directory '/tmp/work/usr/ports/misc/valentina/work/dismine-valentina-a2e2f6648b28'
*** Error code 1

Ошибки вызывают выражения !d->ref.deref().

Comments (4)

  1. VVD reporter

    Так wantfix или уже исправлено в ветке v0.6.x?

    К тому же я так понял разработка переехала на gitlab?

  2. Roman Telezhynskyi repo owner

    Это должно быть исправлено в v0.6.x. Вообще то рекомендую использовать ветку develop.

    К тому же я так понял разработка переехала на gitlab?

    Да. По этому здесь смысла что то сообщать нету.

  3. Log in to comment