| 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 packages | Assignee: | 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 |
||
Created attachment 899203 [details, diff]
+#include <cstdint>
Created attachment 899204 [details]
fail build log
Created attachment 899205 [details]
success build log
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 |
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>’