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

Bug 896048

Summary: mail-filter/opendkim-2.10.3-r30 fails to compile (MUSL-CLANG-SYSTEM): util.c:293:4: error: call to undeclared library function snprintf with type int (char , unsigned long, const char , ...); ISO C99 and later do not support implicit function declaration
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Francisco Blas Izquierdo Riera <klondike>
Status: RESOLVED FIXED    
Severity: normal CC: mjo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-23 16:13:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: mail-filter/opendkim-2.10.3-r30 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-23 16:13:16 UTC
Created attachment 854108 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-24 00:12:28 UTC
commit 9c1172d2e454c89f3bbda6841e06b8230a399d49
Author: Michael Orlitzky <mjo@gentoo.org>
Date:   Thu Feb 23 17:43:58 2023 -0500

    mail-filter/opendkim: fix two musl/standards issues.

    New patches to fix a missing include and to correct a few function
    signatures that violated the C standards.

    Closes: https://bugs.gentoo.org/870412
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Comment 3 Michael Orlitzky gentoo-dev 2023-02-24 00:53:10 UTC
(In reply to Sam James from comment #2)
> 
>     Closes: https://bugs.gentoo.org/870412
>     Signed-off-by: Michael Orlitzky <mjo@gentoo.org>


Arrrrgghjhjg sorry