| Summary: | Build issue: python-tqt FTBFS using SIP >= 4.15 | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Francois Andriot <albator78> |
| Component: | non-core programs | Assignee: | Francois Andriot <albator78> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, slavek.banko |
| Priority: | P5 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: | python-tqt : fix FTBFS with sip 4.15 | ||
Created attachment 1666 [details]
python-tqt : fix FTBFS with sip 4.15
Fixed in GIT hash b2077814. |
Hello, when building python-tqt under openSUSE 13.1 (using SIP 4.15), it FTBFS. g++ -c -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/usr/include/tqt -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I/usr/include -I/usr/include/python2.7 -I/usr/share/tqt3/mkspecs/default -I/usr/include/tqt3 -I/usr/X11R6/include -o sipqtpart5.o sipqtpart5.cpp qt/sipqtpart5.cpp: In function 'void* init_TQLayout(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)': qt/sipqtpart5.cpp:25949:49: error: cannot allocate an object of abstract type 'sipTQLayout' qt/sipqtpart5.cpp:24302:7: note: because the following virtual functions are pure within 'sipTQLayout': In file included from /usr/include/tqt3/ntqabstractlayout.h:50:0, from /usr/include/tqt/tqabstractlayout.h:29, from /dev/shm/BUILD.oss131.x86_64/trinity-python-tqt-14.0.0~pre40+92310a96/sip/qt/qlayout.sip:267: /usr/include/tqt3/ntqlayout.h:234:10: note: virtual void TQLayout::setGeometry(const TQRect&) void setGeometry( const TQRect& ) = 0; ^ /usr/include/tqt3/ntqlayout.h:235:22: note: virtual TQLayoutIterator TQLayout::iterator() TQLayoutIterator iterator() = 0; ^ /usr/include/tqt3/ntqlayout.h:234:10: note: virtual void TQLayout::setGeometry(const TQRect&) void setGeometry( const TQRect& ) = 0; ^ /usr/include/tqt3/ntqlayout.h:235:22: note: virtual TQLayoutIterator TQLayout::iterator() TQLayoutIterator iterator() = 0; ^ qt/sipqtpart5.cpp:25964:46: error: cannot allocate an object of abstract type 'sipTQLayout' qt/sipqtpart5.cpp:24302:7: note: since type 'sipTQLayout' has pure virtual functions qt/sipqtpart5.cpp:25978:43: error: cannot allocate an object of abstract type 'sipTQLayout' qt/sipqtpart5.cpp:24302:7: note: since type 'sipTQLayout' has pure virtual functions make[1]: *** [sipqtpart5.o] Error 1 make[1]: Leaving directory `/dev/shm/BUILD.oss131.x86_64/trinity-python-tqt-14.0.0~pre40+92310a96/build/qt' make: *** [all] Error 2