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

Bug 899756

Summary: media-plugins/kodi-pvr-hts-8.4.0 fails to compile (GCC-13-SYSTEM): HTSPVFS.h:53:3: error: uint32_t does not name a type
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: CONFIRMED ---    
Severity: normal CC: fordfrog, gentoo, kripton
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: build.log
patch for pvr.hts-8.4.0-Matrix/src/tvheadend/HTSPVFS.h
Modified ebuild to include patch

Description Agostino Sarubbo gentoo-dev 2023-03-06 08:16:30 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-plugins/kodi-pvr-hts-8.4.0 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-06 08:16:32 UTC
Created attachment 856242 [details]
build.log

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


FAILED: CMakeFiles/pvr.hts.dir/src/tvheadend/HTSPVFS.cpp.o 
/var/tmp/portage/media-plugins/kodi-pvr-hts-8.4.0/work/pvr.hts-8.4.0-Matrix/src/tvheadend/HTSPVFS.h:53:3: error: ‘uint32_t’ does not name a type
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-18 00:27:52 UTC
ping, this should be a trivial missing include, and gcc 13 is about to be released
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-30 06:37:14 UTC
ping, this should be a trivial missing include. please take a look & send the patch upstream as well for other distros
Comment 5 Peter Fox 2024-01-27 07:39:40 UTC
Yes, add the line

#include <cstdint>                                                                                                                                                                      

before

#include <string> in HTSPVFS.h
Comment 6 Peter Fox 2024-01-27 07:58:36 UTC
Created attachment 883228 [details, diff]
patch for pvr.hts-8.4.0-Matrix/src/tvheadend/HTSPVFS.h
Comment 7 Peter Fox 2024-01-27 07:59:42 UTC
Created attachment 883229 [details]
Modified ebuild to include patch