Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881967 - app-admin/radmind-1.15.4-r1 fails to compile (CLANG-STRICTER-SYSTEM): snet.c:69:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
Summary: app-admin/radmind-1.15.4-r1 fails to compile (CLANG-STRICTER-SYSTEM): snet.c:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2022-11-19 08:33 UTC by Agostino Sarubbo
Modified: 2024-11-19 13:52 UTC (History)
0 users

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


Attachments
build.log (build.log,76.09 KB, text/plain)
2022-11-19 08:34 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 2022-11-19 08:33:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/radmind-1.15.4-r1 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types -Werror=deprecated-non-prototype

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-19 08:34:00 UTC
Created attachment 833603 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-11-19 13:52:46 UTC
The bug has been closed via the following commit(s):

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

commit a5b31a181b15422246e0197e0a828157b52b7a99
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-19 13:35:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-19 13:35:06 +0000

    app-admin/radmind: build w/ -std=gnu89
    
    Relies on lots of K&R decls.
    
    Closes: https://bugs.gentoo.org/880375
    Closes: https://bugs.gentoo.org/881967
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/radmind/radmind-1.15.4-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)