Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937640 - =media-libs/openal-1.23.1-r1 fails compile with gcc-15.0.0_pre20240804 3x "error: found ‘:’ in nested-name-specifier"
Summary: =media-libs/openal-1.23.1-r1 fails compile with gcc-15.0.0_pre20240804 3x "er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-10 03:08 UTC by tdr
Modified: 2024-08-11 16:04 UTC (History)
1 user (show)

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


Attachments
fail log (openal-1.23.1-r1-fail-build.log,150.85 KB, text/plain)
2024-08-10 03:09 UTC, tdr
Details
build success log (openal-1.23.1-r1-successful-build.log,157.74 KB, text/plain)
2024-08-10 03:10 UTC, tdr
Details
include cstdint (alu.h-include-cstdint.patch,135 bytes, patch)
2024-08-10 03:11 UTC, tdr
Details | Diff
include cstdint (defs.h-include-cstdint.patch,178 bytes, patch)
2024-08-10 03:12 UTC, tdr
Details | Diff
include cstdint (uhjfilter.h2-include-cstdint.patch,174 bytes, patch)
2024-08-10 03:13 UTC, tdr
Details | Diff
emerge info (emerge--info,6.09 KB, text/plain)
2024-08-10 03:15 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-08-10 03:08:57 UTC
3 files missing cstdint includes
    alu.h
    defs.h
    uhjfilter.h2


Reproducible: Always

Steps to Reproduce:
select gcc:15
emerge -1 ==media-libs/openal-1.23.1-r1
Actual Results:  

/var/tmp/portage/media-libs/openal-1.23.1-r1/work/openal-soft-1.23.1/core/mixer/defs.h:28:22: error: found ‘:’ in nested-name-specifier, expected ‘::’
   28 | enum class Resampler : uint8_t {



/var/tmp/portage/media-libs/openal-1.23.1-r1/work/openal-soft-1.23.1/alc/alu.h:18:18: error: found ‘:’ in nested-name-specifier, expected ‘::’
   18 | enum CompatFlags : uint8_t {



var/tmp/portage/media-libs/openal-1.23.1-r1/work/openal-soft-1.23.1/core/uhjfilter.h:14:6: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword
   14 | enum class UhjQualityType : uint8_t {
      | ~~~~ ^~~~~
      |      -----
/var/tmp/portage/media-libs/openal-1.23.1-r1/work/openal-soft-1.23.1/core/uhjfilter.h:14:27: error: found ‘:’ in nested-name-specifier, expected ‘::’


patches attached
Comment 1 tdr 2024-08-10 03:09:42 UTC
Created attachment 899715 [details]
fail log
Comment 2 tdr 2024-08-10 03:10:20 UTC
Created attachment 899716 [details]
build success log
Comment 3 tdr 2024-08-10 03:11:57 UTC
Created attachment 899717 [details, diff]
include cstdint
Comment 4 tdr 2024-08-10 03:12:30 UTC
Created attachment 899718 [details, diff]
include cstdint
Comment 5 tdr 2024-08-10 03:13:10 UTC
Created attachment 899719 [details, diff]
include cstdint
Comment 6 tdr 2024-08-10 03:15:31 UTC
Created attachment 899720 [details]
emerge info
Comment 7 tdr 2024-08-11 16:04:56 UTC
openal-1.23.1-gcc15-cstdint.patch added to /files