Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791706 - dev-libs/criterion-2.4_pre20200110: error: ‘numeric_limits’ is not a member of ‘std’
Summary: dev-libs/criterion-2.4_pre20200110: error: ‘numeric_limits’ is not a member o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-23 19:11 UTC by Michał Górny
Modified: 2021-06-01 11:52 UTC (History)
2 users (show)

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


Attachments
/var/log/portage/dev-libs:criterion-2.4_pre20200110:20210523-191016.log (dev-libs:criterion-2.4_pre20200110:20210523-191016.log,191.68 KB, text/plain)
2021-05-23 19:11 UTC, Michał Górny
Details
emerge-info.txt (emerge-info.txt,10.23 KB, text/plain)
2021-05-23 19:12 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-05-23 19:11:46 UTC
Created attachment 710769 [details]
/var/log/portage/dev-libs:criterion-2.4_pre20200110:20210523-191016.log

[...]

In file included from ../Criterion-4b5174ebda04ab76fe65eec25b5b6ea0809055e7/include/criterion/new/../internal/new_asserts.h:45,
                 from ../Criterion-4b5174ebda04ab76fe65eec25b5b6ea0809055e7/include/criterion/new/assert.h:464,
                 from ../Criterion-4b5174ebda04ab76fe65eec25b5b6ea0809055e7/test/full/failmessages.cc:3:
../Criterion-4b5174ebda04ab76fe65eec25b5b6ea0809055e7/include/criterion/new/../internal/assert/ieee.h:36:45: error: ‘numeric_limits’ is not a member of ‘std’
   36 |     typename = typename std::enable_if<std::numeric_limits<Float>::is_iec559>::type>
      |                                             ^~~~~~~~~~~~~~
../Criterion-4b5174ebda04ab76fe65eec25b5b6ea0809055e7/include/criterion/new/../internal/assert/ieee.h:36:45: error: ‘numeric_limits’ is not a member of ‘std’
../Criterion-4b5174ebda04ab76fe65eec25b5b6ea0809055e7/include/criterion/new/../internal/assert/ieee.h:36:65: error: template argument 1 is invalid
   36 |     typename = typename std::enable_if<std::numeric_limits<Float>::is_iec559>::type>
      |                                                                 ^
../Criterion-4b5174ebda04ab76fe65eec25b5b6ea0809055e7/include/criterion/new/../internal/assert/ieee.h:36:66: error: expected identifier before ‘::’ token
   36 |     typename = typename std::enable_if<std::numeric_limits<Float>::is_iec559>::type>
      |                                                                  ^~
../Criterion-4b5174ebda04ab76fe65eec25b5b6ea0809055e7/include/criterion/new/../internal/assert/ieee.h:36:66: error: expected ‘>’ before ‘::’ token
../Criterion-4b5174ebda04ab76fe65eec25b5b6ea0809055e7/include/criterion/new/../internal/assert/ieee.h:36:80: error: ‘type’ in namespace ‘::’ does not name a type; did you mean ‘wctype’?
   36 |     typename = typename std::enable_if<std::numeric_limits<Float>::is_iec559>::type>
      |                                                                                ^~~~
      |                                                                                wctype
ninja: build stopped: subcommand failed.

---

Might be gcc-11 issue.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-05-23 19:12:14 UTC
Created attachment 710772 [details]
emerge-info.txt
Comment 2 Larry the Git Cow gentoo-dev 2021-06-01 11:44:05 UTC
The bug has been closed via the following commit(s):

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

commit ba7438a633bd36de2923db9f48d66b8b452817ee
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-01 11:32:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-01 11:32:53 +0000

    dev-libs/criterion: add GCC 11 patch
    
    Closes: https://bugs.gentoo.org/791706
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/criterion/criterion-2.4_pre20200110.ebuild          |  4 ++++
 .../criterion/files/criterion-2.4_pre20200110-gcc11.patch    | 12 ++++++++++++
 2 files changed, 16 insertions(+)