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

Bug 270536

Summary: stabilise kde-misc/kshutdown-1.0 or kde-misc/kshutdown-1.0.4 for glibc-2.9 stabilisation
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal Keywords: STABLEREQ
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 270243    

Description SpanKY gentoo-dev 2009-05-20 09:17:59 UTC
kshutdown/systemconfig.cpp needs an #include <stdlib.h> added:

make[2]: Entering directory `/var/tmp/portage/kde-misc/kshutdown-0.8.2/work/kshutdown-0.8.2/kshutdown'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium-m -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -c -o systemconfig.o systemconfig.cpp
systemconfig.cpp: In static member function ‘static bool SystemConfig::canShutDown()’:
systemconfig.cpp:40: error: ‘::getenv’ has not been declared
systemconfig.cpp: In member function ‘void SystemConfig::checkKDE()’:
systemconfig.cpp:136: error: ‘::getenv’ has not been declared
make[2]: *** [systemconfig.o] Error 1
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-20 10:47:43 UTC
Ok rather than addig patches lets stable newer one.
Old summary:
kde-misc/kshutdown-0.8.2 fails to build with sys-libs/glibc-2.9 due to missing stdlib.h include

Required keywords:
KEYWORDS="amd64 ppc x86"
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2009-05-26 08:04:34 UTC
x86 stable
Comment 3 Markus Meier gentoo-dev 2009-05-31 22:13:29 UTC
amd64 stable
Comment 4 nixnut (RETIRED) gentoo-dev 2009-06-01 16:31:38 UTC
ppc stable. closing since we're last