Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937420 - media-libs/libaom-3.9.1 fails with gcc:15 due to missing #include <cstdint>
Summary: media-libs/libaom-3.9.1 fails with gcc:15 due to missing #include <cstdint>
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-06 04:58 UTC by tdr
Modified: 2024-08-07 05:36 UTC (History)
1 user (show)

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


Attachments
+#include <cstdint> (mkvparser.cc-gcc-15-fix.patch,248 bytes, patch)
2024-08-06 05:00 UTC, tdr
Details | Diff
fail build log (libaom-3.9.1-fail-build.log,153.38 KB, text/plain)
2024-08-06 05:00 UTC, tdr
Details
success build log (libaom-3.9.1-success-build.log,668.88 KB, text/plain)
2024-08-06 05:01 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
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