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

Bug 836235

Summary: media-gfx/renderdoc-1.18-r1 fails to compile: os_specific.h:96:1: error: time_t does not name a type; did you mean size_t?
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Matthew Smith <matthew>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-03-26 21:08:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/renderdoc-1.18-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-26 21:08:59 UTC
Created attachment 767937 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-26 21:08:59 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: renderdoc/driver/shaders/spirv/CMakeFiles/rdoc_spirv.dir/spirv_gen.cpp.o 
FAILED: renderdoc/driver/vulkan/CMakeFiles/rdoc_vulkan.dir/vk_rendertext.cpp.o 
FAILED: renderdoc/driver/vulkan/CMakeFiles/rdoc_vulkan.dir/vk_shader_cache.cpp.o 
/var/tmp/portage/media-gfx/renderdoc-1.18-r1/work/renderdoc-1.18/renderdoc/os/os_specific.h:96:1: error: 'time_t' does not name a type; did you mean 'size_t'?
Comment 3 Larry the Git Cow gentoo-dev 2022-03-27 09:25:02 UTC
The bug has been closed via the following commit(s):

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

commit 2f692745b9d249bb21f04fc5aacf1045930b34e4
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2022-03-27 08:53:49 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2022-03-27 09:24:27 +0000

    media-gfx/renderdoc: add missing include on musl
    
    Also add missing subslot operator on miniz as a subslot was added.
    
    Closes: https://bugs.gentoo.org/836235
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 media-gfx/renderdoc/renderdoc-1.18-r2.ebuild | 187 +++++++++++++++++++++++++++
 1 file changed, 187 insertions(+)