Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928032 - net-analyzer/nagios-core-4.5.1 fails tests: t-utils.c:4:1: error: unknown type name uint
Summary: net-analyzer/nagios-core-4.5.1 fails tests: t-utils.c:4:1: error: unknown typ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Orlitzky
URL: https://github.com/NagiosEnterprises/...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-03-28 08:03 UTC by Agostino Sarubbo
Modified: 2024-04-01 16:51 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,103.04 KB, text/plain)
2024-03-28 08:03 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-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(+)