[arch-general] Compiling qt-4.8rc1 from [testing] fails
-----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 :) Regards, Bjørn Øivind -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOuS6BAAoJEAPvNxjF/T/2kR0P/2ycR9+3LlYaJOnosVJnSuRH 9tN9eT/WZY1cHEyxQAJuux2GQ0L2oECYc6BumPPQ6EJ7WLgKe9jgwoYTJZN5QSxC Mp5noNmiyqInWp75p53kzyAg30XKYKWqRZbaV+mcXHra3aZ4ydC1rxEEG5FDVQx2 GauKhGqaZ5RKdtO4b/6rCQtAjGSv4l7QvLErFkRAYSqsaK7XKiDGatPOAkalxw6X /T0dhyKDP4r6V8DHUOqekbrNX9Oupso8GPHRMhTqO8jSuOtUD/ie0D6lkepArG+v HXDYsxVF+Fepr1CLfAD2xM3p8JrKqdiPjbXdnqmcSGiWMzkSonlWl66Y4Lcnrs5c Uqa8XFVcLYvJ9MOgV3VBdpJijGIzvrYWKI8FunxU1EeOPNmPYig+zg85ArP8OTiT ZtNgM4jTrQGGQCMK5tjY2Ji8YhVL5b0nv4yroV9jQ8q9yhY4pOgiEqxdYAPtw0QY bFsSrlQH8QQD/SNd98xIl3qzNeq7Nq5Dc/OwP9I/scA+Je2DM9P2oX0X++mVvkiL fN7Qtst1j8u2TyXDfPf2cSCw+kPIZLct++0+5UmC92p1UPcddmVTg4JZl68EZPNe 3u7yjJ9lfHZjktb5P/fyaTfxiZ4gshuQL2fITwR5MFjZ/o6TB0TFCSfBF9+HlZZk aa9dFnmP/REmH8oQUdEO =bFqE -----END PGP SIGNATURE-----
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
On 12/03/12 15:05, Kay Abendroth wrote:
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 <snip> ==> 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 <snip> ==> ERROR: A failure occurred in build(). Aborting...
Regards, Kay
Hello, IIRC, I got it to compile using testing-x86_64-build from devtools. I do not know what in my environment caused it to fail, but the clean chroot produced by the helper script worked fine. Check out https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroo... for more info. Regards, Bjørn Øivind
participants (2)
-
Bjørn Øivind Bjørnsen
-
Kay Abendroth