Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879715 - net-analyzer/net-snmp: possible configure breakage with Clang 16
Summary: net-analyzer/net-snmp: possible configure breakage with Clang 16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 906027
  Show dependency tree
 
Reported: 2022-11-04 22:12 UTC by Matt Jolly
Modified: 2023-08-17 06:39 UTC (History)
1 user (show)

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


Attachments
clang-14.log (clang-14.log,58.40 KB, text/plain)
2022-11-04 22:12 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,58.60 KB, text/plain)
2022-11-04 22:12 UTC, Matt Jolly
Details
clang.diff (clang.diff,28.91 KB, text/plain)
2022-11-04 22:12 UTC, Matt Jolly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Jolly gentoo-dev 2022-11-04 22:12:21 UTC
This package has been identified via automation as potentially impacted by upcoming Clang 16 changes.
The following have been identified as potential issues:

[-Werror,-Wimplicit-function-declaration]

[-Werror,-Wimplicit-function-declaration]
error: call to undeclared function 'ioctlsocket'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared function 'statfs'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared function 'sysctl'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:12:24 UTC
Created attachment 827393 [details]
clang-14.log

build log
Comment 2 Matt Jolly gentoo-dev 2022-11-04 22:12:26 UTC
Created attachment 827395 [details]
clang-15.log

build log
Comment 3 Matt Jolly gentoo-dev 2022-11-04 22:12:27 UTC
Created attachment 827397 [details]
clang.diff

build log
Comment 4 Larry the Git Cow gentoo-dev 2022-11-19 19:36:05 UTC
The bug has been closed via the following commit(s):

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

commit be240aefac66f023742421eba6775a8f106a19ab
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-19 19:29:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-19 19:29:23 +0000

    net-analyzer/net-snmp: fix configure w/ clang 16
    
    Closes: https://bugs.gentoo.org/879715
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/net-snmp-5.9.3-configure-clang16.patch   | 160 +++++++++++++++++++++
 ...-snmp-5.9.3.ebuild => net-snmp-5.9.3-r1.ebuild} |   1 +
 2 files changed, 161 insertions(+)