Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941749 - media-libs/osl-1.13.10.0 fails to compile: platform.h:542:28: error: unknown type name uint32_t
Summary: media-libs/osl-1.13.10.0 fails to compile: platform.h:542:28: error: unknown ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-18 08:04 UTC by Agostino Sarubbo
Modified: 2025-01-09 23:05 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,554.35 KB, text/plain)
2024-10-18 08:04 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-10-18 08:04:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/osl-1.13.10.0 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-18 08:04:09 UTC
Created attachment 906235 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-18 08:04:09 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/liboslexec/llvm_ops_host.bc /var/tmp/portage/media-libs/osl-1.13.10.0/work/OpenShadingLanguage-1.13.10.0_build/src/liboslexec/llvm_ops_host.bc 
FAILED: src/liboslexec/llvm_ops_host_rs.bc /var/tmp/portage/media-libs/osl-1.13.10.0/work/OpenShadingLanguage-1.13.10.0_build/src/liboslexec/llvm_ops_host_rs.bc 
FAILED: src/liboslexec/opfmt_host_rs.bc /var/tmp/portage/media-libs/osl-1.13.10.0/work/OpenShadingLanguage-1.13.10.0_build/src/liboslexec/opfmt_host_rs.bc 
/var/tmp/portage/media-libs/osl-1.13.10.0/work/OpenShadingLanguage-1.13.10.0/src/include/OSL/platform.h:542:28: error: unknown type name 'uint32_t'
Comment 3 Larry the Git Cow gentoo-dev 2025-01-09 23:05:44 UTC
The bug has been closed via the following commit(s):

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

commit e1ca2fad225821b480379a3486b892adc2ad8729
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2025-01-09 21:12:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-09 23:04:01 +0000

    media-libs/osl: include cstdint [gcc-15] #941749
    
    Closes: https://bugs.gentoo.org/941749
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/osl/files/osl-include-cstdint.patch | 20 ++++++++++++++++++++
 media-libs/osl/osl-1.12.14.0-r2.ebuild         |  1 +
 media-libs/osl/osl-1.13.10.0.ebuild            |  1 +
 media-libs/osl/osl-1.13.12.0.ebuild            |  4 ++++
 media-libs/osl/osl-9999.ebuild                 |  4 ++++
 5 files changed, 30 insertions(+)