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

Bug 883601

Summary: dev-perl/Net-ARP-1.0.11 fails to compile (CLANG-STRICTER-SYSTEM): get_mac_linux.c:59:4: error: call to undeclared function close; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-11-29 16:06:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-perl/Net-ARP-1.0.11 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-29 16:06:14 UTC
Created attachment 838069 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-03-22 05:22:03 UTC
The bug has been closed via the following commit(s):

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

commit fb0b632348092ddd0fbe4d58abe01955d6865134
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-22 05:17:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-22 05:17:24 +0000

    dev-perl/Net-ARP: add 1.0.12
    
    Closes: https://bugs.gentoo.org/713204
    Closes: https://bugs.gentoo.org/801643
    Closes: https://bugs.gentoo.org/883601
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-perl/Net-ARP/Manifest              |  1 +
 dev-perl/Net-ARP/Net-ARP-1.0.12.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)