Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895184 - 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]
Summary: dev-perl/Net-LDAPapi-3.0.7-r1 fails to compile (MUSL-CLANG-SYSTEM): LDAPapi.c...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-18 06:56 UTC by Agostino Sarubbo
Modified: 2024-04-02 08:48 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,50.07 KB, text/plain)
2023-02-18 06:56 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 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]
Comment 3 jy6x2b32pie9 2024-04-02 08:48:57 UTC
Fixed upstream in https://github.com/quanah/net-ldapapi/issues/58