Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sip build issues - multiple deleted function errors #23

Open
cmorgenstern opened this issue Dec 18, 2021 · 2 comments
Open

sip build issues - multiple deleted function errors #23

cmorgenstern opened this issue Dec 18, 2021 · 2 comments

Comments

@cmorgenstern
Copy link

sip build of the v1.02.02 via the Arch Linux AUR
Build instructions - PKGBUILD
The full build log is attached - python-pyqt-qwt-1.02.02-1-x86_64-build.log

TL/DR multiple errors due to usage of deleted functions:

make[1]: *** [Makefile:829: sipQwtQwtPowerTransform.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:837: sipQwtQwtNullTransform.o] Error 1
make[1]: *** [Makefile:833: sipQwtQwtLogTransform.o] Error 1
make[1]: *** [Makefile:841: sipQwtQwtTransform.o] Error 1
make[1]: *** [Makefile:825: sipQwtQwtDialNeedle.o] Error 1
make[1]: *** [Makefile:817: sipQwtQwtCompassMagnetNeedle.o] Error 1
make[1]: *** [Makefile:813: sipQwtQwtCompassWindArrow.o] Error 1
make[1]: *** [Makefile:797: sipQwtQwtCompassScaleDraw.o] Error 1
sip-build: 'make' failed returning 2
make[1]: *** [Makefile:821: sipQwtQwtDialSimpleNeedle.o] Error 1
make[1]: *** [Makefile:801: sipQwtQwtSimpleCompassRose.o] Error 1
make[1]: *** [Makefile:805: sipQwtQwtCompassRose.o] Error 1
make[1]: Leaving directory '/build/python-pyqt-qwt/src/PyQt-Qwt-1.02.02/build/Qwt'
make: *** [Makefile:47: sub-Qwt-make_first-ordered] Error 2

I am receiving the same build errors when building from the latest commit in the master branch.

@cmorgenstern
Copy link
Author

This was originally brought to my attention via this comment on the Arch Linux AUR package. Here is the build log included in that comment:

/home/gnaggnoyil/.cache/yay/python-pyqt-qwt/src/PyQt-Qwt-1.02.02/build/Qwt/sipQwtQwtCompassScaleDraw.cpp:234:71: 错误:对不完全的类型‘class QMap<double, QString>’的非法使用
  234 |             sipRes = new  ::QMap<double, ::QString>(sipCpp->labelMap());
      |                                                                       ^
In file included from /usr/include/qt/QtCore/qglobal.h:1295,
                 from /usr/include/qt/QtCore/qmetatype.h:45,
                 from /usr/include/qt/QtCore/QMetaType:1,
                 from sipAPIQwt.h:12,
                 from sipQwtQwtCompassScaleDraw.cpp:7:
/usr/include/qt/QtCore/qtypeinfo.h:240:29: 附注:declaration of ‘class QMap<double, QString>’
  240 | Q_DECLARE_MOVABLE_CONTAINER(QMap);
      |                             ^~~~
/usr/include/qt/QtCore/qtypeinfo.h:222:41: 附注:in definition of macro ‘Q_DECLARE_MOVABLE_CONTAINER’
  222 | template <typename K, typename V> class CONTAINER; \
      |                                         ^~~~~~~~~
make[1]: *** [Makefile:1670:sipQwtQwtCompassScaleDraw.o] 错误 1
make[1]: 离开目录“/home/gnaggnoyil/.cache/yay/python-pyqt-qwt/src/PyQt-Qwt-1.02.02/build/Qwt”
make: *** [Makefile:47:sub-Qwt-make_first-ordered] 错误 2
sip-build: 'make' failed returning 2
==> 错误: 在 build() 中发生一个错误。
    正在放弃...
 -> 生成时出错: python-pyqt-qwt

@cmorgenstern
Copy link
Author

I am able to successfully compile via sip-build using #22 - please consider merging it into the master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant