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

Bug 767823

Summary: media-video/mkvtoolnix-51.0.0 w/ gcc11: numeric_traits.h:64:53: error: static assertion failed
Product: Gentoo Linux Reporter: Geoff Leach <gl>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.com/mbunkus/mkvtoolnix/-/commit/cb40c0f0797c7aed2c3451ea22e8cc54a56df49f
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: gcc build log
clang build log

Description Geoff Leach 2021-01-29 09:00:43 UTC
Created attachment 685026 [details]
gcc build log

Build logs attached, but here's the crux, 

clang

usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/g++-v11/ext/numeric_traits.h:64:
7: fatal error: 
      static_assert failed due to requirement '__is_integer_nonstrict<unsigned
      __int128>::__value' "invalid specialization"
      static_assert(__is_integer_nonstrict<_Value>::__value,
      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc

/usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/g++-v11/ext/numeric_traits.h:64:53: error: static assertion failed: invalid specialization
   64 |       static_assert(__is_integer_nonstrict<_Value>::__value,
      |                                                     ^~~~~~~
compilation terminated due to -Wfatal-errors.
Comment 1 Geoff Leach 2021-01-29 09:04:51 UTC
Created attachment 685029 [details]
clang build log
Comment 2 Ionen Wolkens gentoo-dev 2021-01-29 16:14:14 UTC
clang issue happens because it's trying to use the selected gcc11's libstdc++ (works fine if select gcc10 then use clang)

That aside, sounds like upstream already fixed this.
Comment 3 Ionen Wolkens gentoo-dev 2021-02-02 17:36:13 UTC
*** Bug 768348 has been marked as a duplicate of this bug. ***
Comment 4 Geoff Leach 2021-04-24 08:38:13 UTC
Problem gone by mkvtoolnix-56.1.0, closing.
Comment 5 Larry the Git Cow gentoo-dev 2021-09-19 07:12:52 UTC
The bug has been referenced in the following commit(s):

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

commit 1e6a189ff59cd772bc17898f11d0b5f95da4fa8b
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-09-19 07:08:52 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-09-19 07:12:37 +0000

    media-video/mkvtoolnix: Remove old
    
    Bug: https://bugs.gentoo.org/767823
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 media-video/mkvtoolnix/Manifest                 |   1 -
 media-video/mkvtoolnix/mkvtoolnix-51.0.0.ebuild | 130 ------------------------
 2 files changed, 131 deletions(-)