← All tasks
cppclementine-player/Clementine #6865Not a task: not reproduced

build error: error: static assertion failed: invalid specialization

envgap__clementine-player__Clementine-6865

01 / FAILURE SIGNATURE

As reported upstream

/usr/include/c++/11/ext/numeric_traits.h:64:53: error: static assertion failed: invalid specialization
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
a3a51ae11cfb6885a339dafcb31b5124a2d1dc30
Manifest
src/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

clementine-player/Clementine #6865 · read the original issue
- [x] I checked the issue tracker for similar issues

- [x] I checked the [changelog](https://github.com/clementine-player/Clementine/blob/master/Changelog) if the issue is already resolved

- [x] I tried the latest Clementine build from [here](https://builds.clementine-player.org/)



### System information



Please provide information about your system and the version of Clementine used.



- Operating System: Fedora 34

- GCC 11.0.0

- Clementine version: ccba649f622497b8463930b9ad5b7a1cafe6c976



```

/builddir/build/BUILD/Clementine-ccba649f622497b8463930b9ad5b7a1cafe6c976/src/globalsearch/spotifysearchprovider.cpp:276:33:   required from here

/usr/include/c++/11/ext/numeric_traits.h:64:53: error: static assertion failed: invalid specialization

   64 |       static_assert(__is_integer_nonstrict<_Value>::__value,

      |                                                     ^~~~~~~

/usr/include/c++/11/ext/numeric_traits.h:64:53: note: 'std::__is_integer<__int128 unsigned>::__value' evaluates to false

In file included from /usr/include/c++/11/bits/stl_algo.h:66,

                 from /usr/include/c++/11/algorithm:62,

                 from /usr/include/qt5/QtCore/qglobal.h:142,

                 from /usr/include/qt5/QtCore/qiodevice.h:43,

                 from /usr/include/qt5/QtCore/qprocess.h:43,

                 from /usr/include/qt5/QtCore/QProcess:1,

                 from /builddir/build/BUILD/Clementine-ccba649f622497b8463930b9ad5b7a1cafe6c976/src/internet/spotify/spotifyservice.h:25,

                 from /builddir/build/BUILD/Clementine-ccba649f622497b8463930b9ad5b7a1cafe6c976/src/globalsearch/spotifysearchprovider.h:21,

                 from /builddir/build/BUILD/Clementine-ccba649f622497b8463930b9ad5b7a1cafe6c976/src/globalsearch/spotifysearchprovider.cpp:18:

/usr/include/c++/11/bits/uniform_int_dist.h: In instantiation of 'static _Up std::uniform_int_distribution<_IntType>::_S_nd(_Urbg&, _Up) [with _Wp = __int128 unsigned; _Urbg = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>; _Up = long unsigned int; _IntType = int]':

/usr/include/c++/11/bits/uniform_int_dist.h:306:35:   required from 'std::uniform_int_distribution<_IntType>::result_type std::uniform_int_distribution<_IntType>::operator()(_UniformRandomBitGenerator&, const std::uniform_int_distribution<_IntType>::param_type&) [with _UniformRandomBitGenerator = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>; _IntType = int; std::uniform_int_distribution<_IntType>::result_type = int]'

/usr/include/c++/11/bits/uniform_int_dist.h:192:34:   required from 'std::uniform_int_distribution<_IntType>::result_type std::uniform_int_distribution<_IntType>::operator()(_UniformRandomBitGenerator&) [with _UniformRandomBitGenerator = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>; _IntType = int; std::uniform_int_distribution<_IntType>::result_type = int]'

/builddir/build/BUILD/Clementine-ccba649f622497b8463930b9ad5b7a1cafe6c976/src/globalsearch/spotifysearchprovider.cpp:276:33:   required from here

/usr/include/c++/11/bits/uniform_int_dist.h:251:46: error: static assertion failed: W must be twice as wide as U

  251 |           static_assert(_Wp_traits::__digits == (2 * _Up_traits::__digits),

      |                                     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/usr/include/c++/11/bits/uniform_int_dist.h:251:46: note: '(((int)__gnu_cxx::__numeric_traits_integer<__int128 unsigned>::__digits) == (2 * ((int)__gnu_cxx::__numeric_traits_integer<long unsigned int>::__digits)))' evaluates to false

```
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]