Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944020 - x11-misc/trayer-srg-1.1.8-r2 fails to compile: panel.c:315:5: error: too many arguments to function bg_init
Summary: x11-misc/trayer-srg-1.1.8-r2 fails to compile: panel.c:315:5: error: too many...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pascal Jäger
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-19 16:59 UTC by Agostino Sarubbo
Modified: 2025-02-10 08:56 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,81.32 KB, text/plain)
2024-11-19 16:59 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 16:59:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/trayer-srg-1.1.8-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#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-19 16:59:58 UTC
Created attachment 910231 [details]
build.log

build log and emerge --info
Comment 2 NHO 2025-01-31 08:08:00 UTC
Reported upstream
https://github.com/sargon/trayer-srg/issues/70
Comment 3 Agostino Sarubbo gentoo-dev 2025-01-31 08:34:36 UTC
(In reply to NHO from comment #2)
> Reported upstream
> https://github.com/sargon/trayer-srg/issues/70

Thanks for taking care. Report upstream is always the best thing to do.

However, next time I'd suggest to be more verbose; so please mention how to reproduce the issue (gcc-15) or which cflags they need to use or what do you mean with modern-c (-std=gnu23) and so on.

Sometimes upstream does not care about gcc updates, and which default are in the new gcc versions (maybe they are stuck with an old debian stable), so being more verbose can let them understand what's happening.
Thanks
Comment 4 NHO 2025-01-31 10:56:13 UTC
Relevant information forwarded upstream, but it feels dead.
Comment 5 Larry the Git Cow gentoo-dev 2025-02-10 08:56:27 UTC
The bug has been closed via the following commit(s):

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

commit 94ae89d1b044c24138d5c8903df68e9654a5462f
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-31 08:08:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 08:52:00 +0000

    x11-misc/trayer-srg: fix build with modern C
    
    Missing argument in function declaration in header.
    Drops old, unpatched revision.
    
    Closes: https://bugs.gentoo.org/944020
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40394
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/trayer-srg-1.1.8-fix-define.patch        | 13 ++++++++
 x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild     | 38 ----------------------
 x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild     |  7 ++--
 3 files changed, 18 insertions(+), 40 deletions(-)