Summary: | 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’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rinaldus <forreg> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | frp.bissey, ghz3, marat.buharov, qt, yrusinov |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 579962 | ||
Attachments: |
build.log
emerge --info glibc-2.23 macros fix |
Description
Rinaldus
2017-01-20 03:28:05 UTC
Created attachment 460680 [details]
build.log
Created attachment 460682 [details]
emerge --info
When will you fix this bug? (In reply to Rinaldus from comment #3) > When will you fix this bug? When someone comes up with a patch. Created attachment 463902 [details, diff]
glibc-2.23 macros fix
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 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. This bug (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> I can confirm the attached patch fixed the build problem for me. *** Bug 618656 has been marked as a duplicate of this bug. *** (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. 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. Thanks, fixed in git. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7fdd079f7fcaf1063c609ab3942155f4daf942 Sorry about the delay in attending to this bug. |