Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 881265

Summary: dev-libs/gjs-1.72.2-r1: Tests fail to build with clang
Product: Gentoo Linux Reporter: rosegayming
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 836220    
Attachments: emerge --info

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