Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 419565

Summary: kde-misc/kdocker: doesn't build with gcc-4.7
Product: Gentoo Linux Reporter: Nikos Chantziaras <realnc>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: doesn't block gcc-4.7-stable
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    
Attachments: GCC 4.7 support

Description Nikos Chantziaras 2012-06-04 05:01:08 UTC
Building kdocker with gcc-4.7.0 fails with:

solutions/qtsingleapplication/qtlocalpeer.cpp:103:54: error: '::getuid' has not been declared

It's just the header includes missing for getuid().  Attached is a patch to fix the issue.
Comment 1 Nikos Chantziaras 2012-06-04 05:01:53 UTC
Created attachment 314129 [details, diff]
GCC 4.7 support
Comment 2 Michael Palimaka (kensington) gentoo-dev 2012-06-04 10:03:26 UTC
Thank-you for the report and patch. This is now fixed in CVS.

+*kdocker-4.6-r2 (04 Jun 2012)
+  04 Jun 2012; Michael Palimaka <>
+  +files/kdocker-4.6-gcc-4.7.patch, +kdocker-4.6-r2.ebuild:
+  Bump to EAPI=4, add missing dependencies, and respect LINGUAS. Fix build with
+  GCC-4.7 thanks to Nikos Chantziaras <> in bug #419565.