Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 879649

Summary: app-text/recode: possible configure breakage with Clang 16
Product: Gentoo Linux Reporter: Matt Jolly <kangie>
Component: Current packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://github.com/gentoo/gentoo/pull/28216
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    
Attachments: clang-14.log
clang-15.log
clang.diff
with_eautoreconf

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(-)