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

Bug 879747

Summary: net-vpn/tor: possible configure breakage with Clang 16
Product: Gentoo Linux Reporter: Matt Jolly <kangie>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://gitlab.torproject.org/tpo/core/tor/-/merge_requests/653
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    
Attachments: clang-14.log
clang-15.log
clang.diff

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

build log
Comment 2 Matt Jolly gentoo-dev 2022-11-04 22:14:30 UTC
Created attachment 827491 [details]
clang-15.log

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

build log
Comment 4 Larry the Git Cow gentoo-dev 2022-11-10 07:13:34 UTC
The bug has been closed via the following commit(s):

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

commit 3fbcbcd0cdc8cc1730feb90334317fdf2172112e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-10 07:06:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-10 07:06:14 +0000

    net-vpn/tor: fix -Wstrict-prototypes
    
    Closes: https://bugs.gentoo.org/879747
    Signed-off-by: Sam James <sam@gentoo.org>

 .../tor-0.4.7.10-strict-prototypes-clang16.patch   |  75 ++++++++++++
 net-vpn/tor/tor-0.4.7.10-r1.ebuild                 | 127 +++++++++++++++++++++
 2 files changed, 202 insertions(+)