Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879723 - net-dns/knot: possible configure breakage with Clang 16
Summary: net-dns/knot: possible configure breakage with Clang 16
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Pierre-Olivier Mercier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 906027
  Show dependency tree
 
Reported: 2022-11-04 22:12 UTC by Matt Jolly
Modified: 2023-05-09 13:16 UTC (History)
1 user (show)

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


Attachments
clang-14.log (clang-14.log,20.30 KB, text/plain)
2022-11-04 22:12 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,20.31 KB, text/plain)
2022-11-04 22:12 UTC, Matt Jolly
Details
clang.diff (clang.diff,9.43 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:47 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,-Wstrict-prototypes]

[-Werror,-Wstrict-prototypes]
error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:12:49 UTC
Created attachment 827417 [details]
clang-14.log

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

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

build log
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-11 05:20:34 UTC
Also:
```
@@ -500,13 +500,13 @@
 ignoreme: error: call to undeclared function 'cpuset_create'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
 cpuset_t* set = cpuset_create(); cpuset_destroy(set);
                 ^
-ignoreme: warning: incompatible integer to pointer conversion initializing 'cpu_set_t *' with an expression of type 'int' [-Wint-conversion]
+ignoreme: error: incompatible integer to pointer conversion initializing 'cpu_set_t *' with an expression of type 'int' [-Wint-conversion]
 cpuset_t* set = cpuset_create(); cpuset_destroy(set);
           ^     ~~~~~~~~~~~~~~~
 ignoreme: error: call to undeclared function 'cpuset_destroy'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
 cpuset_t* set = cpuset_create(); cpuset_destroy(set);
                                  ^
-2 warnings and 3 errors generated.
```