ODROID-C2: QT4 from ABS fails to build

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

ODROID-C2: QT4 from ABS fails to build

Postby wdirksen » Sun Dec 18, 2016 2:37 am

I need QT4 to be built with OpenGL ES2 support for MythTV 0.27. I downloaded aarch64 QT4 files from ABS. Apart from adding 'aarch64' to the $arch section and adding -opengl es2 to the config options the PKGBUILD is identical to the official one. Yet the compile failing with the following error. It looks something related to qtwebkit which was installed prior to the build. Any insights appreciated:

$this->bbcode_second_pass_code('', 'compiling topicchooser.cpp
compiling xbelsupport.cpp
compiling ../shared/collectionconfiguration.cpp
compiling openpagesmodel.cpp
compiling globalactions.cpp
compiling openpageswidget.cpp
compiling openpagesmanager.cpp
compiling openpagesswitcher.cpp
compiling helpviewer_qwv.cpp
openpagesswitcher.cpp: In member function 'virtual bool OpenPagesSwitcher::eventFilter(QObject*, QEvent*)':
openpagesswitcher.cpp:157:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (key == Qt::Key_Tab && (ke->modifiers() == modifier))
~~~~~~~~~~~~~~~~^~~~~~~~~~~
moc ../../../shared/fontpanel/fontpanel.h
moc aboutdialog.h
helpviewer_qwv.cpp:161:1: error: expected class-name before '{' token
{
^
helpviewer_qwv.cpp:166:13: error: 'QWebPage' does not name a type
virtual QWebPage *createWindow(QWebPage::WebWindowType);
^~~~~~~~
helpviewer_qwv.cpp:167:32: error: 'WebAction' has not been declared
virtual void triggerAction(WebAction action, bool checked = false);
^~~~~~~~~
helpviewer_qwv.cpp:169:42: error: 'QWebFrame' has not been declared
virtual bool acceptNavigationRequest(QWebFrame *frame,
^~~~~~~~~
helpviewer_qwv.cpp:170:41: error: 'NavigationType' has not been declared
const QNetworkRequest &request, NavigationType type);
^~~~~~~~~~~~~~
helpviewer_qwv.cpp: In constructor 'HelpPage::HelpPage(QObject*)':
helpviewer_qwv.cpp:182:7: error: class 'HelpPage' does not have any field named 'QWebPage'
: QWebPage(parent)
^~~~~~~~
helpviewer_qwv.cpp: At global scope:
helpviewer_qwv.cpp:190:1: error: 'QWebPage' does not name a type
QWebPage *HelpPage::createWindow(QWebPage::WebWindowType)
^~~~~~~~
helpviewer_qwv.cpp:200:30: error: variable or field 'triggerAction' declared void
void HelpPage::triggerAction(WebAction action, bool checked)
^~~~~~~~~
helpviewer_qwv.cpp:200:30: error: 'WebAction' was not declared in this scope
helpviewer_qwv.cpp:200:48: error: expected primary-expression before 'bool'
void HelpPage::triggerAction(WebAction action, bool checked)
^~~~
moc bookmarkdialog.h
moc bookmarkfiltermodel.h
moc bookmarkmanager.h
make[4]: *** [Makefile:14261: .obj/release-shared/helpviewer_qwv.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/home/mythtv/AUR/qt4/src/qt-everywhere-opensource-src-4.8.7/tools/assistant/tools/assistant'
make[3]: *** [Makefile:42: sub-assistant-make_default-ordered] Error 2
make[3]: Leaving directory '/home/mythtv/AUR/qt4/src/qt-everywhere-opensource-src-4.8.7/tools/assistant/tools'
make[2]: *** [Makefile:113: sub-tools-make_default-ordered] Error 2
make[2]: Leaving directory '/home/mythtv/AUR/qt4/src/qt-everywhere-opensource-src-4.8.7/tools/assistant'
make[1]: *** [Makefile:53: sub-assistant-make_default-ordered] Error 2
make[1]: Leaving directory '/home/mythtv/AUR/qt4/src/qt-everywhere-opensource-src-4.8.7/tools'
make: *** [Makefile:891: sub-tools-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
Aborting...
[mythtv@rumpusroom qt4]$ makepkg -si')
wdirksen
 
Posts: 11
Joined: Thu Dec 15, 2016 3:19 am

Re: ODROID-C2: QT4 from ABS fails to build

Postby moonman » Sun Dec 18, 2016 3:05 am

Packages that are modified to compile for ARM are not in abs, but in our github. Check there and check what was modified to make it work on ARM https://github.com/archlinuxarm/PKGBUIL ... 4/PKGBUILD
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 15 guests