Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883601 - 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]
Summary: dev-perl/Net-ARP-1.0.11 fails to compile (CLANG-STRICTER-SYSTEM): get_mac_lin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-29 16:06 UTC by Agostino Sarubbo
Modified: 2024-10-29 16:50 UTC (History)
0 users

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


Attachments
build.log (build.log,48.90 KB, text/plain)
2022-11-29 16:06 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 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(+)