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

Bug 926050

Summary: net-dns/djbdns-1.05-r39 fails to compile: server.c:160:5: error: call to undeclared function scan_ulong; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Michael Orlitzky <mjo>
Status: RESOLVED FIXED    
Severity: normal    
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 2024-03-02 20:41:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-dns/djbdns-1.05-r39 fails to compile.
Discovered on: amd64 (internal ref: clang-lld_tinderbox)
System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-02 20:41:54 UTC
Created attachment 886553 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-03-04 15:45:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=755301799f2c0fcfcebdb614f6e991ec8fedef38

commit 755301799f2c0fcfcebdb614f6e991ec8fedef38
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-03-04 15:37:19 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-03-04 15:39:18 +0000

    net-dns/djbdns: fix build with -Werror=implicit-function-declaration
    
    The ipv6 patch contains fixes for most of these, so this consists of:
    
      1. Adding includes to a bunch of files when USE=ipv6 is not set.
      2. Adding an include to our new configurable TRUNCATELEN patches.
    
    Closes: https://bugs.gentoo.org/926050
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 net-dns/djbdns/djbdns-1.05-r39.ebuild              |  1 +
 ...-dnscache-configurable-truncate-size-nov6.patch | 47 ++++++-------
 ...ns-dnscache-configurable-truncate-size-v6.patch |  8 +++
 .../djbdns/files/implicit-declarations-nov6.patch  | 79 ++++++++++++++++++++++
 4 files changed, 109 insertions(+), 26 deletions(-)