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

Bug 937420

Summary: media-libs/libaom-3.9.1 fails with gcc:15 due to missing #include <cstdint>
Product: Gentoo Linux Reporter: tdr <ted.d.rodgers>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: UNCONFIRMED ---    
Severity: normal CC: ted.d.rodgers
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://aomedia.issues.chromium.org/issues/357622679
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 932474    
Attachments: +#include <cstdint>
fail build log
success build log

Description tdr 2024-08-06 04:58:02 UTC
third_party/libwebm/mkvparser/mkvparser.cc needs patched to +#include <cstdint>

Reproducible: Always

Steps to Reproduce:
select gcc-15
emerge -va1 media-libs/libaom-3.9.1


Expected Results:  
/var/tmp/portage/media-libs/libaom-3.9.1/work/libaom-3.9.1/third_party/libwebm/mkvparser/mkvparser.cc:249:7: error: ‘uint32_t’ does not name a type
  249 |       uint32_t ff;
      |       ^~~~~~~~
/var/tmp/portage/media-libs/libaom-3.9.1/work/libaom-3.9.1/third_party/libwebm/mkvparser/mkvparser.cc:24:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
Comment 1 tdr 2024-08-06 05:00:00 UTC
Created attachment 899203 [details, diff]
+#include <cstdint>
Comment 2 tdr 2024-08-06 05:00:59 UTC
Created attachment 899204 [details]
fail build log
Comment 3 tdr 2024-08-06 05:01:23 UTC
Created attachment 899205 [details]
success build log
Comment 4 tdr 2024-08-07 05:36:23 UTC
committed upstream for main of libaom (see also link) and libvpx 

ap...@google.com added comment #3:
Project: aom
Branch: main

commit e448dcd13a9f534c7291903e9ab18dfc4fea54ad
Author: James Zern <jzern@google.com>
Date:   Tue Aug 06 10:38:00 2024

    update libwebm to libwebm-1.0.0.31-10-g3b63004
   
    This fixes a build error seen in gcc 15:
    3b63004 mkvparser/mkvparser.cc: add missing <cstdint> include
   
    Bug: aomedia:357622679