[arch-general] Compiling qt-4.8rc1 from [testing] fails

Kay Abendroth kay.abendroth at epages.com
Mon Mar 12 10:05:56 EDT 2012


Bjørn Øivind Bjørnsen <bo.bjornsen <at> gmail.com> writes:

> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello list,
> 
> The latest qt-package in testing broke one of the applications I am
> working on at the moment.
> It compiles fine, but crashes during runtime, so I tried to compile qt
> with debug symbols. I did the same thing as I usually do when I have to
> poke qt-internals - added '!strip' to the options in the PKGBUILD and
> tried to compile the package again. The PKGBUILD and friends were
> obtained from abs. However, the compilation fails in tools/assistant,
> with the following errors:
> 
> make[4]: Entering directory
> `/home/bo/pakker/qt-4.8rc1/src/qt-everywhere-opensource-src-
4.8.0/tools/assistant/tools/assistant'
> compiling helpviewer_qwv.cpp
> helpviewer_qwv.cpp:168:1: error: expected class-name before ?{? token
> helpviewer_qwv.cpp:173:13: error: ?QWebPage? does not name a type
> helpviewer_qwv.cpp:174:32: error: ?WebAction? has not been declared
> helpviewer_qwv.cpp:176:42: error: ?QWebFrame? has not been declared
> helpviewer_qwv.cpp:177:41: error: ?NavigationType? has not been declared
> helpviewer_qwv.cpp: In constructor ?HelpPage::HelpPage(QObject*)?:
> helpviewer_qwv.cpp:189:7: error: class ?HelpPage? does not have any
> field named ?QWebPage?
> helpviewer_qwv.cpp: At global scope:
> helpviewer_qwv.cpp:197:1: error: ?QWebPage? does not name a type
> helpviewer_qwv.cpp:207:30: error: variable or field ?triggerAction?
> declared void
> helpviewer_qwv.cpp:207:30: error: ?WebAction? was not declared in this scope
> helpviewer_qwv.cpp:207:48: error: expected primary-expression before ?bool?
> make[4]: *** [.obj/release-shared/helpviewer_qwv.o] Error 1
> make[4]: Leaving directory
> `/home/bo/pakker/qt-4.8rc1/src/qt-everywhere-opensource-src-
4.8.0/tools/assistant/tools/assistant'
> make[3]: *** [sub-assistant-make_default-ordered] Error 2
> make[3]: Leaving directory
> `/home/bo/pakker/qt-4.8rc1/src/qt-everywhere-opensource-src-
4.8.0/tools/assistant/tools'
> make[2]: *** [sub-tools-make_default-ordered] Error 2
> make[2]: Leaving directory
> `/home/bo/pakker/qt-4.8rc1/src/qt-everywhere-opensource-src-
4.8.0/tools/assistant'
> make[1]: *** [sub-assistant-make_default-ordered] Error 2
> make[1]: Leaving directory
> `/home/bo/pakker/qt-4.8rc1/src/qt-everywhere-opensource-src-4.8.0/tools'
> make: *** [sub-tools-make_default-ordered] Error 2
> ==> ERROR: A failure occurred in build().
> 
> I noticed that qtwebkit was split out of this package. Have I missed
> some other piece of vital information which allows me to compile this,
> and does anyone else see this? I could reproduce this on two x86_64
> machines here, -Syu'ed as of today.
> I would be thankful for any tips :)

 Hello,

I experienced the same problem while compiling qt-4.8.0-6. Any hints on
how to avoid that error?

compiling helpviewer_qwv.cpp
helpviewer_qwv.cpp:168:1: error: expected class-name before ‘{’ token
helpviewer_qwv.cpp:173:13: error: ‘QWebPage’ does not name a type
helpviewer_qwv.cpp:174:32: error: ‘WebAction’ has not been declared
helpviewer_qwv.cpp:176:42: error: ‘QWebFrame’ has not been declared
helpviewer_qwv.cpp:177:41: error: ‘NavigationType’ has not been declared
helpviewer_qwv.cpp: In constructor ‘HelpPage::HelpPage(QObject*)’:
helpviewer_qwv.cpp:189:7: error: class ‘HelpPage’ does not have any field named 
‘QWebPage’
helpviewer_qwv.cpp: At global scope:
helpviewer_qwv.cpp:197:1: error: ‘QWebPage’ does not name a type
helpviewer_qwv.cpp:207:30: error: variable or field ‘triggerAction’ declared 
void
helpviewer_qwv.cpp:207:30: error: ‘WebAction’ was not declared in this scope
helpviewer_qwv.cpp:207:48: error: expected primary-expression before ‘bool’
make[4]: *** [.obj/debug-shared/helpviewer_qwv.o] Error 1
make[4]: Leaving directory `/home/kay/abs/qt/src/qt-everywhere-opensource-src-
4.8.0/tools/assistant/tools/assistant'
make[3]: *** [sub-assistant-make_default-ordered] Error 2
make[3]: Leaving directory `/home/kay/abs/qt/src/qt-everywhere-opensource-src-
4.8.0/tools/assistant/tools'
make[2]: *** [sub-tools-make_default-ordered] Error 2
make[2]: Leaving directory `/home/kay/abs/qt/src/qt-everywhere-opensource-src-
4.8.0/tools/assistant'
make[1]: *** [sub-assistant-make_default-ordered] Error 2
make[1]: Leaving directory `/home/kay/abs/qt/src/qt-everywhere-opensource-src-
4.8.0/tools'
make: *** [sub-tools-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
    Aborting...


Regards,
Kay





More information about the arch-general mailing list