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

Bug 879787

Summary: x11-plugins/pidgin-otr: possible configure breakage with Clang 16
Product: Gentoo Linux Reporter: Matt Jolly <kangie>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://github.com/gentoo/gentoo/pull/28218
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    
Attachments: clang-14.log
clang-15.log
clang.diff
Diff of clang15.log before and after putting eautoreconf into ebuild

Description Matt Jolly gentoo-dev 2022-11-04 22:16:45 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:16:46 UTC
Created attachment 827609 [details]
clang-14.log

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

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

build log
Comment 4 Pascal Jäger 2022-11-10 23:32:31 UTC
Created attachment 830701 [details, diff]
Diff of clang15.log before and after putting eautoreconf into ebuild
Comment 5 Pascal Jäger 2022-11-10 23:34:13 UTC
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 6 Larry the Git Cow gentoo-dev 2022-11-15 02:45:06 UTC
The bug has been closed via the following commit(s):

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

commit b70f9c2fd860b4a13b01951c257edbb49b696923
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-11-10 23:30:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-15 02:24:25 +0000

    x11-plugins/pidgin-otr: fix clang16 configure
    
    Closes: https://bugs.gentoo.org/879787
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28218
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libotr/{libotr-4.1.1.ebuild => libotr-4.1.1-r1.ebuild}    | 0
 .../{pidgin-otr-4.0.2-r1.ebuild => pidgin-otr-4.0.2-r2.ebuild}     | 7 +++++++
 2 files changed, 7 insertions(+)