Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943899 - 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]
Summary: app-admin/rsyslog-8.2410.0-r2 fails to compile: obj.c:157:30: error: assignme...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-19 08:26 UTC by Agostino Sarubbo
Modified: 2024-11-28 07:25 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,321.28 KB, text/plain)
2024-11-19 08:26 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)