Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879649 - app-text/recode: possible configure breakage with Clang 16
Summary: app-text/recode: 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
Assignee: Gentoo Shell Tools project
URL:
Whiteboard: fixed in 3.7.12-r1
Keywords: PullRequest
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2022-11-04 22:08 UTC by Matt Jolly
Modified: 2024-11-02 21:52 UTC (History)
0 users

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


Attachments
clang-14.log (clang-14.log,23.93 KB, text/plain)
2022-11-04 22:08 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,23.94 KB, text/plain)
2022-11-04 22:08 UTC, Matt Jolly
Details
clang.diff (clang.diff,8.09 KB, text/plain)
2022-11-04 22:08 UTC, Matt Jolly
Details
with_eautoreconf (recode-clang15fixed.diff,17.36 KB, patch)
2022-11-10 22:50 UTC, Pascal Jäger
Details | Diff

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:19 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:08:21 UTC
Created attachment 827201 [details]
clang-14.log

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

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

build log
Comment 4 Pascal Jäger 2022-11-10 22:49:13 UTC
I try and fix this in https://github.com/gentoo/gentoo/pull/28216 

Right now I only have done eautoreconf. This fixes the 
error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]

See the attached diff from that, file a of the diff is a run before there was eautoreconf in the ebuild, file b with eautoreconf.
Comment 5 Pascal Jäger 2022-11-10 22:50:50 UTC
Created attachment 830697 [details, diff]
with_eautoreconf

File a is clang15.log before there was eautoreconf in the ebulid, file b is with eautoreconf in the ebuild.
Comment 6 Larry the Git Cow gentoo-dev 2022-11-22 07:05:38 UTC
The bug has been closed via the following commit(s):

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

commit 783d6e7b070e78e12e51d545bbe7189be6715d09
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-11-10 22:41:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-22 06:50:22 +0000

    app-text/recode: revbump, fix build for clang16
    
    Closes: https://bugs.gentoo.org/879649
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../recode/{recode-3.7.12.ebuild => recode-3.7.12-r1.ebuild}     | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)