Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879647 - app-text/mandoc: possible configure breakage with Clang 16
Summary: app-text/mandoc: possible configure breakage with Clang 16
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2022-11-04 22:08 UTC by Matt Jolly
Modified: 2024-11-01 21:18 UTC (History)
2 users (show)

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


Attachments
clang-14.log (clang-14.log,15.78 KB, text/plain)
2022-11-04 22:08 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,13.20 KB, text/plain)
2022-11-04 22:08 UTC, Matt Jolly
Details
clang.diff (clang.diff,21.03 KB, text/plain)
2022-11-04 22:08 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:08:11 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 'getprogname'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared function 'pledge'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared function 'recallocarray'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared function 'strcasestr'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared function 'strptime'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared function 'wcwidth'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared library function 'strlcat' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:08:12 UTC
Created attachment 827195 [details]
clang-14.log

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

build log
Comment 3 Matt Jolly gentoo-dev 2022-11-04 22:08:17 UTC
Created attachment 827199 [details]
clang.diff

build log
Comment 4 Arsen Arsenović gentoo-dev 2022-11-06 09:52:44 UTC
Ok, I took a look at this and I think it's a red herring.  The hand-rolled configure script rechecks for all of these functions with appropriate defines set to make them declared (of course, functions that indeed do not exist, like the strl*, do not get detected the second time either).
Comment 5 Matt Jolly gentoo-dev 2024-10-14 07:33:43 UTC
Shall we just close this one off? I'm happy if you are.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2024-11-01 21:18:36 UTC
(In reply to Arsen Arsenović from comment #4)
> Ok, I took a look at this and I think it's a red herring.  The hand-rolled
> configure script rechecks for all of these functions with appropriate
> defines set to make them declared (of course, functions that indeed do not
> exist, like the strl*, do not get detected the second time either).

Closing then