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

Bug 943896

Summary: app-admin/logsurfer+-1.8-r5 fails to compile: regex.c:1188:20: error: too many arguments to function at_begline_loc_p
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/40135
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:24 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/logsurfer+-1.8-r5 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:25 UTC
Created attachment 909704 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2025-02-10 09:56:15 UTC
The bug has been referenced in the following commit(s):

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

commit ab4bc15849d00d7f34beae3233e8ecbce8d128d6
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-14 19:09:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 09:55:49 +0000

    app-admin/logsurfer+: implicit declarations in configure, C23
    
    Fixing implicit declarations by patching makefile and running autoreconf
    Fixing many, many "too many arguments to function" by filling in prototypes
    and moving definitions of structs around, to before they are used first
    time.
    
    Bug: https://bugs.gentoo.org/943896
    Bug: https://bugs.gentoo.org/905941
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40135
    Signed-off-by: Sam James <sam@gentoo.org>

 .../logsurfer+/files/logsurfer+-1.8-C23.patch      | 346 +++++++++++++++++++++
 app-admin/logsurfer+/logsurfer+-1.8-r6.ebuild      |  58 ++++
 2 files changed, 404 insertions(+)