Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321357 - [patch] =kde-misc/filelight-1.9_rc3 fails to build with gcc-4.5
Summary: [patch] =kde-misc/filelight-1.9_rc3 fails to build with gcc-4.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 323067 (view as bug list)
Depends on:
Blocks: gcc-4.5
  Show dependency tree
 
Reported: 2010-05-24 19:36 UTC by Gef
Modified: 2010-06-07 13:20 UTC (History)
1 user (show)

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


Attachments
patch to fix the issue (filelight-1.9rc3-gcc-4.5.patch,1.01 KB, patch)
2010-05-24 19:37 UTC, Gef
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gef 2010-05-24 19:36:52 UTC
Fails with:

[  9%] Built target filelightpart_automoc
[ 13%] Building CXX object src/app/CMakeFiles/filelight.dir/mainWindow.o
Scanning dependencies of target radialmap
[ 18%] Building CXX object src/part/radialMap/CMakeFiles/radialmap.dir/radialmap_automoc.o
[ 22%] Building CXX object src/part/radialMap/CMakeFiles/radialmap.dir/widget.o
/var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/part/radialMap/widget.cpp: In member function ‘KUrl RadialMap::Widget::url(const File*) const’:
/var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/part/radialMap/widget.cpp:67:67: erreur: cannot call constructor ‘KUrl::KUrl’ directly
/var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/part/radialMap/widget.cpp:67:67: erreur:   for a function-style cast, remove the redundant ‘::KUrl’
/var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/app/mainWindow.cpp: In member function ‘bool Filelight::MainWindow::slotScanPath(const QString&)’:
/var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/app/mainWindow.cpp:225:39: erreur: cannot call constructor ‘KUrl::KUrl’ directly
/var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/app/mainWindow.cpp:225:39: erreur:   for a function-style cast, remove the redundant ‘::KUrl’

Reproducible: Always

Steps to Reproduce:
1. gcc-config x86_64-pc-linux-gnu-4.5.0 && env-update
2. emerge filelight
3. emerge fails with typical gcc-4.5 & C++ error 




Patch in next reply.
Comment 1 Gef 2010-05-24 19:37:57 UTC
Created attachment 232779 [details, diff]
patch to fix the issue
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-06-05 13:57:01 UTC
+  05 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+  filelight-1.9_rc3.ebuild, +files/filelight-1.9_rc3-gcc45.patch:
+  Fix building with GCC 4.5+ wrt #321357 by Gef Lebster.
+
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-06-07 13:11:54 UTC
*** Bug 323067 has been marked as a duplicate of this bug. ***