Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881265 - dev-libs/gjs-1.72.2-r1: Tests fail to build with clang
Summary: dev-libs/gjs-1.72.2-r1: Tests fail to build with clang
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Keywords: PATCH
Depends on:
Blocks: systemwide-libcxx
  Show dependency tree
Reported: 2022-11-14 00:45 UTC by rosegayming
Modified: 2023-12-18 09:58 UTC (History)
0 users

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

emerge --info (emerge-info.txt,9.02 KB, text/plain)
2022-11-14 00:45 UTC, rosegayming
build.log (build.log.gz,8.80 KB, application/gzip)
2022-11-14 00:46 UTC, rosegayming

Note You need to log in before you can comment on or make changes to this bug.
Description rosegayming 2022-11-14 00:45:11 UTC
/usr/include/c++/v1/__random/uniform_int_distribution.h:162:5: error: static assertion failed due to requirement '__libcpp_random_is_valid_inttype<char32_t>::value': IntType must be a supported integer type
    static_assert(__libcpp_random_is_valid_inttype<_IntType>::value, "IntType must be a supported integer type");
    ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gjs-1.72.2/test/gjs-tests.cpp:71:16: note: in instantiation of template class 'std::uniform_int_distribution<char32_t>' requested here
        return std::uniform_int_distribution<T>(lowest_value)(gen);
../gjs-1.72.2/test/gjs-tests.cpp:942:30: note: in instantiation of function template specialization 'Gjs::Test::get_random_number<char32_t>' requested here
    char32_t random_char32 = get_random_number<char32_t>();
Comment 1 rosegayming 2022-11-14 00:45:40 UTC
Created attachment 832433 [details]
emerge --info
Comment 2 rosegayming 2022-11-14 00:46:00 UTC
Created attachment 832435 [details]
Comment 3 Pacho Ramos gentoo-dev 2023-12-18 09:58:21 UTC
Current versions include the patch