Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879663 - dev-libs/gf2x: possible configure breakage with Clang 16
Summary: dev-libs/gf2x: 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 Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 906027
  Show dependency tree
 
Reported: 2022-11-04 22:09 UTC by Matt Jolly
Modified: 2023-05-09 13:16 UTC (History)
0 users

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


Attachments
clang-14.log (clang-14.log,6.77 KB, text/plain)
2022-11-04 22:09 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,6.79 KB, text/plain)
2022-11-04 22:09 UTC, Matt Jolly
Details
clang.diff (clang.diff,9.62 KB, text/plain)
2022-11-04 22:09 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:09:17 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 library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:09:19 UTC
Created attachment 827243 [details]
clang-14.log

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

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

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

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

commit f0fb5cc9d77001e24b84cf76c19ea1abe88d5e74
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-19 01:11:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-19 01:34:43 +0000

    dev-libs/gf2x: fix configure w/ clang 16
    
    Fixed myself then realised upstream patch, you need to request an account for inria
    *from a member* so not bothering with strict prototypes...
    
    Closes: https://bugs.gentoo.org/879663
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gf2x/files/gf2x-1.3.0-configure-clang16.patch  | 28 ++++++++++++++++++++++
 .../{gf2x-1.3.0.ebuild => gf2x-1.3.0-r1.ebuild}    |  1 +
 2 files changed, 29 insertions(+)