Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879733 - net-libs/libotr: possible configure breakage with Clang 16
Summary: net-libs/libotr: 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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 906027
  Show dependency tree
 
Reported: 2022-11-04 22:13 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,4.13 KB, text/plain)
2022-11-04 22:13 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,4.20 KB, text/plain)
2022-11-04 22:13 UTC, Matt Jolly
Details
clang.diff (clang.diff,6.91 KB, text/plain)
2022-11-04 22:13 UTC, Matt Jolly
Details
Diff of clang15.log before and after putting eautoreconf into ebuild (libotr-clang15new.diff,3.23 KB, patch)
2022-11-10 23:32 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:13:31 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:13:32 UTC
Created attachment 827447 [details]
clang-14.log

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

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

build log
Comment 4 Pascal Jäger 2022-11-10 23:32:46 UTC
Created attachment 830703 [details, diff]
Diff of clang15.log before and after putting eautoreconf into ebuild
Comment 5 Pascal Jäger 2022-11-10 23:34:20 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:05 UTC
The bug has been closed via the following commit(s):

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

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

    net-libs/libotr: fix clang16 configure
    
    Closes: https://bugs.gentoo.org/879733
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libotr/libotr-4.1.1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)