Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410325 - =dev-qt/qtgui-4.8.1[c++0x] fails to build on arm
Summary: =dev-qt/qtgui-4.8.1[c++0x] fails to build on arm
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-31 11:27 UTC by Denis I. Polukarov
Modified: 2013-10-22 08:38 UTC (History)
0 users

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


Attachments
build.log (build.log,170.73 KB, text/plain)
2012-03-31 11:27 UTC, Denis I. Polukarov
Details
environment (environment,113.34 KB, text/plain)
2012-03-31 11:29 UTC, Denis I. Polukarov
Details
info (info,4.51 KB, text/plain)
2012-03-31 11:29 UTC, Denis I. Polukarov
Details
pqv (pqv,538 bytes, text/plain)
2012-03-31 11:30 UTC, Denis I. Polukarov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis I. Polukarov 2012-03-31 11:27:37 UTC
Created attachment 307263 [details]
build.log

painting/qpaintengineex.cpp:776:5: error: narrowing conversion of ‘(((double)x2) - (((double)xRadius) * 4.47715250200000025593283226044150069355964660645e-1))’ from ‘double’ to ‘qreal {aka float}’ inside { } [-fpermissive]
Comment 1 Denis I. Polukarov 2012-03-31 11:29:12 UTC
Created attachment 307267 [details]
environment
Comment 2 Denis I. Polukarov 2012-03-31 11:29:32 UTC
Created attachment 307269 [details]
info
Comment 3 Denis I. Polukarov 2012-03-31 11:30:12 UTC
Created attachment 307271 [details]
pqv
Comment 4 Davide Pesavento gentoo-dev 2012-03-31 13:21:18 UTC
qreal is a typedef for float on arm platforms. I think this is an upstream bug, could you report it there please?
Comment 5 Davide Pesavento gentoo-dev 2012-03-31 13:28:28 UTC
It should build with USE=-c++0x anyway...
Comment 6 Davide Pesavento gentoo-dev 2012-05-22 22:11:18 UTC
Does 4.8.2 still fail?
Comment 7 Denis I. Polukarov 2012-05-24 09:46:04 UTC
With masked c++0x & gcc-4.6.3 - success.
Comment 8 Davide Pesavento gentoo-dev 2012-05-24 10:26:20 UTC
(In reply to comment #7)
> With masked c++0x & gcc-4.6.3 - success.

Do you mean with USE=c++0x enabled?
Comment 9 Denis I. Polukarov 2012-05-24 10:32:24 UTC
=x11-libs/qt-gui-4.8.2  USE="accessibility dbus egl exceptions gif glib gtkstyle mng tiff xinerama xv (-aqua) (-c++0x) -cups -debug -nas -nis -pch (-qpa) -qt3support -trace"
built with gcc-4.6.3
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2012-05-24 10:37:03 UTC
You haven't enabled the c++0x use flag. Your comment is irrelevant to this bug
Comment 11 Davide Pesavento gentoo-dev 2012-05-24 10:37:42 UTC
(In reply to comment #9)
> =x11-libs/qt-gui-4.8.2  USE="accessibility dbus egl exceptions gif glib
> gtkstyle mng tiff xinerama xv (-aqua) (-c++0x) -cups -debug -nas -nis -pch
> (-qpa) -qt3support -trace"
> built with gcc-4.6.3

(-c++0x) means that you have c++0x USE flag disabled and masked, so this is totally irrelevant for this bug report, which is about building qt-gui with c++0x *enabled*.

You have to unmask the flag locally and rebuild qt-gui.
Comment 12 Davide Pesavento gentoo-dev 2012-12-27 09:07:19 UTC
Can you try with qt 4.8.4 (which has USE=c++0x unmasked) please?
Comment 13 Davide Pesavento gentoo-dev 2013-03-03 21:08:25 UTC
(In reply to comment #12)
> Can you try with qt 4.8.4 (which has USE=c++0x unmasked) please?

ping?
Comment 14 Sergey Popov gentoo-dev Security 2013-10-22 08:38:05 UTC
Not reproduceable with recent in-tree Qt and GCC versions. Feel free to reopen if issue still happens.