Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879745 - net-p2p/gtk-gnutella: possible configure breakage with Clang 16
Summary: net-p2p/gtk-gnutella: possible configure breakage with Clang 16
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: implicit-in-configure gcc-14-stable
  Show dependency tree
 
Reported: 2022-11-04 22:14 UTC by Matt Jolly
Modified: 2025-02-10 09:01 UTC (History)
0 users

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


Attachments
clang-14.log (clang-14.log,21.15 KB, text/plain)
2022-11-04 22:14 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,21.16 KB, text/plain)
2022-11-04 22:14 UTC, Matt Jolly
Details
clang.diff (clang.diff,7.20 KB, text/plain)
2022-11-04 22:14 UTC, Matt Jolly
Details

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:14:14 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,-Wimplicit-function-declaration]

[-Werror,-Wimplicit-function-declaration]
error: call to undeclared function 'semtimedop'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
error: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:14:17 UTC
Created attachment 827483 [details]
clang-14.log

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

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

build log
Comment 4 Larry the Git Cow gentoo-dev 2025-02-10 09:01:32 UTC
The bug has been referenced in the following commit(s):

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

commit 7c9b09b9a09d9036c68a806457fb9badc5a182da
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-23 18:12:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 08:58:56 +0000

    net-p2p/gtk-gnutella: pin C version to gnu17
    
    This package freely casts between pointers to gbooleans and internally
    defined bools (in this case, ints). Defining off internal definition of
    bool for C23 and then casting everywhere may cause serious problems in
    interoperability over the network. I feel the best would be to pin
    language version.
    
    Closes: https://bugs.gentoo.org/944982
    Bug: https://bugs.gentoo.org/879745
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40277
    Signed-off-by: Sam James <sam@gentoo.org>

 net-p2p/gtk-gnutella/gtk-gnutella-1.2.2-r1.ebuild | 8 ++++++--
 net-p2p/gtk-gnutella/gtk-gnutella-1.2.3.ebuild    | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)