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

Bug 944982

Summary: net-p2p/gtk-gnutella-1.2.3 fails to compile: types.h:50:13: error: two or more data types in declaration specifiers
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/40277
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-11-26 08:10:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-p2p/gtk-gnutella-1.2.3 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-26 08:10:08 UTC
Created attachment 911933 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-26 08:10:10 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


Could not find manual pages in source form.
types.h:50:13: error: two or more data types in declaration specifiers
Comment 3 Larry the Git Cow gentoo-dev 2025-02-10 09:01:27 UTC
The bug has been closed via 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(-)