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

Bug 943899

Summary: app-admin/rsyslog-8.2410.0-r2 fails to compile: obj.c:157:30: error: assignment to rsRetVal ()(void) {aka enum rsRetVal_ ()(void)} from incompatible pointer type rsRetVal ()(void ) {aka enum rsRetVal_ ()(void )} [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Maciej Barć <xgqt>
Status: RESOLVED FIXED    
Severity: normal CC: kostadinshishmanov
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/rsyslog/rsyslog/issues/5507
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: build.log

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

Issue: app-admin/rsyslog-8.2410.0-r2 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#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-19 08:26:32 UTC
Created attachment 909707 [details]
build.log

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


configure: liblogging-stdlog not found, parts of the testbench will not run
obj.c:157:30: error: assignment to 'rsRetVal (*)(void)' {aka 'enum rsRetVal_ (*)(void)'} from incompatible pointer type 'rsRetVal (*)(void *)' {aka 'enum rsRetVal_ (*)(void *)'} [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
Comment 3 Larry the Git Cow gentoo-dev 2024-11-28 07:25:49 UTC
The bug has been closed via the following commit(s):

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

commit 35d2c2ceeadd007033fe204bbaf023f776f086f8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-28 07:25:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-28 07:25:06 +0000

    app-admin/rsyslog: build w/ -std=gnu17
    
    Bug: https://github.com/rsyslog/rsyslog/issues/5507
    Closes: https://bugs.gentoo.org/943899
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/rsyslog/rsyslog-8.2410.0-r3.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)