Bug 520482

Summary: FTBFS: kdelibs build not detecting/using isinf/isnan (?)
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: kdelibsAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: fedora, jreznik, kevin, lorenzo, ltinkl, rdieter, smparrish, than
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-04 19:20:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 520480    

Description Rex Dieter 2009-08-31 17:54:49 UTC
kdelibs fails to build on recent rawhide (works on F-11), seems to have to do with not detecting isinf/isnan properly.

From build.log:
...
-- Looking for isnan
-- Looking for isnan - not found.
-- Looking for isinf
-- Looking for isinf - not found.
...
/builddir/build/BUILD/kdelibs-4.3.1/kjs/operations.cpp: In function 'bool KJS::isNaN(double)':
/builddir/build/BUILD/kdelibs-4.3.1/kjs/operations.cpp:55: error: '_isnan' was not declared in this scope
make[2]: *** [kjs/CMakeFiles/kjs.dir/operations.o] Error 1
...

Doesn't seem to be related to non-use of _GNU_SOURCE (and friends), cmake seems to define these already (but I'm not 100% sure).

See also,
http://koji.fedoraproject.org/koji/taskinfo?taskID=1645540

Someone on rawhide will probably have to take a closer look, see if this is kde or glibc (or other) at fault here.

Comment 1 Jaroslav Reznik 2009-09-01 12:07:48 UTC
Seems like it's our bug - it does not find isnan with %{cmake_kde4} macro but it does with just "cmake .." command in SPEC file.

Comment 2 Rex Dieter 2009-09-04 19:20:15 UTC
Fixed, building now.  woo.  glibc to the rescue.