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

Bug 899770

Summary: media-tv/mythtv-32.0-r2 fails to compile (GCC-13-SYSTEM): MD5.h:47:9: error: uint32_t does not name a type
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Wilson M. Michaels <thebitpit>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint, xavier.forestier
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/MythTV/mythtv/commit/3b76df2bb45789f075b6b83d6e6b436aebaf2e83
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: build.log
Working patch mythtv-32.0-gcc13.patch

Description Agostino Sarubbo gentoo-dev 2023-03-06 09:28:00 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-tv/mythtv-32.0-r2 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 09:28:03 UTC
Created attachment 856250 [details]
build.log

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


fatal: not a git repository (or any parent up to mount point /var/tmp)
xmpsdk/include/MD5.h:47:9: error: ‘uint32_t’ does not name a type
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-15 09:00:21 UTC
ping, this one should be an easy fix (just a missing include)
Comment 4 Xavier Forestier 2023-04-29 06:51:25 UTC
Created attachment 860906 [details, diff]
Working patch mythtv-32.0-gcc13.patch

Working patch to be moved in /etc/portage/patches/media-tv/mythtv-32.0/mythtv-32.0-gcc13.patch

Compiles successfully mythtv-32.0-r4 with GCC 13
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-29 06:55:55 UTC
(In reply to Xavier Forestier from comment #4)
> Created attachment 860906 [details, diff] [details, diff]
> Working patch mythtv-32.0-gcc13.patch
> 
> Working patch to be moved in
> /etc/portage/patches/media-tv/mythtv-32.0/mythtv-32.0-gcc13.patch
> 
> Compiles successfully mythtv-32.0-r4 with GCC 13

Thanks, upstream version is https://github.com/MythTV/mythtv/commit/3b76df2bb45789f075b6b83d6e6b436aebaf2e83.
Comment 6 Larry the Git Cow gentoo-dev 2023-04-29 07:08:50 UTC
The bug has been closed via the following commit(s):

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

commit 8e6ea2a32454b265ef68be83bbc28b5319061421
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-29 07:03:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-29 07:08:35 +0000

    media-tv/mythtv: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/899770
    Signed-off-by: Sam James <sam@gentoo.org>

 media-tv/mythtv/files/mythtv-32.0-gcc13.patch | 40 +++++++++++++++++++++++++++
 media-tv/mythtv/mythtv-32.0-r4.ebuild         |  1 +
 2 files changed, 41 insertions(+)