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

Bug 943900

Summary: app-arch/lha-114i_p20210328 fails to compile: lhadd.c:427:13: error: too many arguments to function remove_files
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: James Le Cuirot <chewi>
Status: RESOLVED FIXED    
Severity: normal CC: toralf
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/40781
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:35 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-arch/lha-114i_p20210328 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:36 UTC
Created attachment 909708 [details]
build.log

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


checking kanji code of filename... ./configure: line 7499: CPP: command not found
lhadd.c:427:13: error: too many arguments to function ‘remove_files’
Comment 3 James Le Cuirot gentoo-dev 2024-11-19 09:29:18 UTC
*** Bug 943926 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2025-03-10 02:45:50 UTC
The bug has been closed via the following commit(s):

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

commit a6849c4f647e3588fb3e57189559e34501dfffbb
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2025-02-27 01:49:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-10 02:39:50 +0000

    app-arch/lha: avoid c23 breakage by setting -std=gnu17
    
    Closes: https://bugs.gentoo.org/943900
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/lha/lha-114i_p20210328.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)