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

Bug 928032

Summary: net-analyzer/nagios-core-4.5.1 fails tests: t-utils.c:4:1: error: unknown type name uint
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Michael Orlitzky <mjo>
Status: RESOLVED FIXED    
Severity: normal CC: mjo, sysadmin
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/NagiosEnterprises/nagioscore/issues/952
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-28 08:03:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/nagios-core-4.5.1 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-28 08:03:48 UTC
Created attachment 888897 [details]
build.log

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


checking for Kerberos include files... configure: WARNING: could not find include files
t-utils.c:4:1: error: unknown type name 'uint'; did you mean 'int'?
Comment 3 Michael Orlitzky gentoo-dev 2024-03-28 12:00:55 UTC
Reported upstream. It looks like all that is needed is a sed s/uint/unsigned/g
Comment 4 Larry the Git Cow gentoo-dev 2024-04-01 16:51:52 UTC
The bug has been closed via the following commit(s):

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

commit 9c5839b123bc6d8ddb7d5aea92c257449a63e54b
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-04-01 16:45:39 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-04-01 16:45:39 +0000

    net-analyzer/nagios-core: fix build (testfail) on musl
    
    Upstream patch replaces uint by unsigned int.
    
    Closes: https://bugs.gentoo.org/928032
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../nagios-core/files/nagios-core-4.5.1-musl.patch | 98 ++++++++++++++++++++++
 net-analyzer/nagios-core/nagios-core-4.5.1.ebuild  |  2 +
 2 files changed, 100 insertions(+)