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

Bug 895184

Summary: dev-perl/Net-LDAPapi-3.0.7-r1 fails to compile (MUSL-CLANG-SYSTEM): LDAPapi.c:624:11: error: call to undeclared function ldap_bind_s; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: CONFIRMED ---    
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 2023-02-18 06:56:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-perl/Net-LDAPapi-3.0.7-r1 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-18 06:56:24 UTC
Created attachment 852356 [details]
build.log

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


./constant.h:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./constant.h:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
LDAPapi.c:624:11: error: call to undeclared function 'ldap_bind_s'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]