Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606564 - x11-themes/qtcurve-1.8.18-r1 - .../work/qtcurve-1.8.18_build/.cmake_utils_base/cmake_c_macros/include_fix/qtcurve-utils/color.h:255:16: error: ‘__builtin_isnan’ is not a member of ‘std’
Summary: x11-themes/qtcurve-1.8.18-r1 - .../work/qtcurve-1.8.18_build/.cmake_utils_bas...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
: 618656 (view as bug list)
Depends on:
Blocks: glibc-2.23
  Show dependency tree
 
Reported: 2017-01-20 03:28 UTC by Rinaldus
Modified: 2017-05-28 15:18 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,142.31 KB, text/plain)
2017-01-20 03:28 UTC, Rinaldus
Details
emerge --info (emerge_info.txt,18.71 KB, text/plain)
2017-01-20 03:29 UTC, Rinaldus
Details
glibc-2.23 macros fix (qtcurve-1.8.18-glibc-2.23.patch,331 bytes, patch)
2017-02-16 06:40 UTC, Ivan Savyhin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rinaldus 2017-01-20 03:28:05 UTC
x11-themes/qtcurve-1.8.18-r1 fails to build. build.log and emerge --info are attached

Reproducible: Always
Comment 1 Rinaldus 2017-01-20 03:28:38 UTC
Created attachment 460680 [details]
build.log
Comment 2 Rinaldus 2017-01-20 03:29:16 UTC
Created attachment 460682 [details]
emerge --info
Comment 3 Rinaldus 2017-01-26 08:35:35 UTC
When will you fix this bug?
Comment 4 Michael Palimaka (kensington) gentoo-dev 2017-01-26 08:36:52 UTC
(In reply to Rinaldus from comment #3)
> When will you fix this bug?

When someone comes up with a patch.
Comment 5 Ivan Savyhin 2017-02-16 06:40:35 UTC
Created attachment 463902 [details, diff]
glibc-2.23 macros fix
Comment 6 Ivan Savyhin 2017-02-16 06:44:57 UTC
According to this discussion https://bugs.freedesktop.org/show_bug.cgi?id=95180, we should include cmath using >=glibc-2.23 to make a deal with builtin functions
Comment 7 François Bissey 2017-02-18 01:55:03 UTC
I notice in the patch qtcurve-1.8.18-std_isnan.patch a "#include <math.h>" statement is introduced in `lib/utils/color.h` but git upstream at https://cgit.kde.org/qtcurve.git/tree/lib/utils/color.h?id=34a1e3277aa21c59029576bffe2576a9ddd4b1a7 uses `cmath`. Quite a number of commits on that file to arrive at the present state. Upstream should really cut a release.
Comment 8 Yuriy Rusinov 2017-05-07 08:45:20 UTC
This bug
Comment 9 Yuriy Rusinov 2017-05-07 08:47:31 UTC
(In reply to Yuriy Rusinov from comment #8)
> This bug

Sorry, browser has some problems. I repeat this bug when I downloaded test about isnan and change header 
#include <cmath> to #include <math.h>
Comment 10 Fredrik Eriksson 2017-05-15 23:47:35 UTC
I can confirm the attached patch fixed the build problem for me.
Comment 11 Davide Pesavento gentoo-dev 2017-05-17 00:08:22 UTC
*** Bug 618656 has been marked as a duplicate of this bug. ***
Comment 12 Yuriy Rusinov 2017-05-17 18:59:36 UTC
(In reply to Fredrik Eriksson from comment #10)
> I can confirm the attached patch fixed the build problem for me.

Sorry, could you say, what patch did help ? Today I make emerge --sync and emerge -v x11-themes/qtcurve and receive the same error.

Thank you.
Comment 13 Cyril42e 2017-05-23 16:17:04 UTC
I confirm the problem with a fresh stage3 install, and that the provided patch fixes the problem.
Also I noticed that there is no problem when using gcc-4.9.4 on my old install, only when using gcc-5.4.0-r3 on the new install.
Comment 14 Michael Palimaka (kensington) gentoo-dev 2017-05-28 15:18:32 UTC
Thanks, fixed in git.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7fdd079f7fcaf1063c609ab3942155f4daf942

Sorry about the delay in attending to this bug.