Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562714 - dev-qt/qt-creator-2.8.1 build failed - .moc/release-shared/moc_helpviewer.cpp:85:22: error: ‘class Help::Internal::HelpViewer’ has no member named ‘slotNetworkReplyFinished’
Summary: dev-qt/qt-creator-2.8.1 build failed - .moc/release-shared/moc_helpviewer.cpp...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Davide Pesavento (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-10 08:49 UTC by Maksym
Modified: 2015-10-12 14:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log, emerge-info.txt, emerge-pqv.txt, environment (details.tar.bz2,46.15 KB, application/x-bzip2)
2015-10-10 08:49 UTC, Maksym
Details
build.log.xz (build.log.xz,23.82 KB, text/plain)
2015-10-11 07:16 UTC, Michael Palimaka (kensington)
Details
emerge --info (emerge-info.txt,16.36 KB, text/plain)
2015-10-11 07:17 UTC, Michael Palimaka (kensington)
Details
environment (environment,87.26 KB, text/plain)
2015-10-11 07:17 UTC, Michael Palimaka (kensington)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksym 2015-10-10 08:49:42 UTC
Created attachment 414244 [details]
build.log, emerge-info.txt, emerge-pqv.txt, environment

# Steps to reproduce

1. Run as root "emerge qt-creator"

# Actual results

 * ERROR: dev-qt/qt-creator-2.8.1::gentoo failed (compile phase):
 *   emake failed

For details see attachments.
Comment 1 Maksym 2015-10-10 08:54:45 UTC
Here is [working dir](https://drive.google.com/file/d/0BxiAL-dZ0EWEaEJob3RnYUJJUEU/view?usp=sharing), size ~25M
Comment 2 Rafał Mużyło 2015-10-10 09:49:07 UTC
The errors are like:
QNetworkReply’ was not declared in this scope
error: ‘QWebView’ has not been declared

This hints toward either a missing dep or a version conflict.
Which versions of qt splits are installed ?
Comment 3 Maksym 2015-10-10 18:46:43 UTC
(In reply to Rafał Mużyło from comment #2)
> Which versions of qt splits are installed ?

Thanks for reply.

Sorry, but I didn't get you what do you mean 'splits'.

I guess there are potentially causes of problem:

1. I have installed Qt-5.5 also.

2. Maybe problem in /etc/portage/package.use. I regenerated that file using 'enalize' utility.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2015-10-11 07:16:58 UTC
Created attachment 414306 [details]
build.log.xz
Comment 5 Michael Palimaka (kensington) gentoo-dev 2015-10-11 07:17:16 UTC
Created attachment 414308 [details]
emerge --info

[ebuild  N    ] dev-qt/qt-creator-2.8.1  USE="-android -autotools -bazaar -clearcase -cmake -cvs -debug -doc -examples -fakevim -git -madde -mercurial -perforce -qnx -subversion {-test} -valgrind" LINGUAS="ru -cs -de -es -fr -it -ja -pl -sl -uk -zh_CN -zh_TW"
Comment 6 Michael Palimaka (kensington) gentoo-dev 2015-10-11 07:17:48 UTC
Created attachment 414310 [details]
environment
Comment 7 Michael Palimaka (kensington) gentoo-dev 2015-10-11 07:18:26 UTC
.moc/release-shared/moc_helpviewer.cpp: In static member function ‘static void Help::Internal::HelpViewer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
.moc/release-shared/moc_helpviewer.cpp:85:22: error: ‘class Help::Internal::HelpViewer’ has no member named ‘slotNetworkReplyFinished’
         case 14: _t->slotNetworkReplyFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
                      ^
.moc/release-shared/moc_helpviewer.cpp:85:67: error: expected type-specifier before ‘QNetworkReply’
         case 14: _t->slotNetworkReplyFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
                                                                   ^
.moc/release-shared/moc_helpviewer.cpp:85:67: error: expected ‘>’ before ‘QNetworkReply’
.moc/release-shared/moc_helpviewer.cpp:85:67: error: expected ‘(’ before ‘QNetworkReply’
.moc/release-shared/moc_helpviewer.cpp:85:67: error: ‘QNetworkReply’ was not declared in this scope
.moc/release-shared/moc_helpviewer.cpp:85:83: error: expected primary-expression before ‘)’ token
         case 14: _t->slotNetworkReplyFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;


and so on
Comment 8 Maksym 2015-10-12 08:55:55 UTC
It's ok, but how I can workaround this bug locally? I need the qt-creator.
Comment 9 Davide Pesavento (RETIRED) gentoo-dev 2015-10-12 12:32:30 UTC
I suggest you try qt-creator-3.4.2, which is being stabilized in bug 562834. Version 2.8.1 is very old and it will be removed asap.
Comment 10 Maksym 2015-10-12 14:04:54 UTC
(In reply to Davide Pesavento from comment #9)
> I suggest you try qt-creator-3.4.2, which is being stabilized in bug 562834.
> Version 2.8.1 is very old and it will be removed asap.

Thank you very much. Qt-creator was installed with no problem despite marked as unstable.
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2015-10-12 14:42:10 UTC
Closing as WONTFIX then, as I don't intend to work on it.