Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944870 - sci-electronics/spice-3.5.5-r4 fails to compile: sperror.h:35:7: error: conflicting types for SPerror; have char (void)
Summary: sci-electronics/spice-3.5.5-r4 fails to compile: sperror.h:35:7: error: confl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-25 08:12 UTC by Agostino Sarubbo
Modified: 2025-04-04 03:56 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,152.69 KB, application/x-xz)
2024-11-25 08:12 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-25 08:12:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-electronics/spice-3.5.5-r4 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-25 08:12:44 UTC
Created attachment 911823 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-25 08:12:46 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


  400 |         "cp_remvar: Internal Error: var %d
  409 |         "cp_remvar: Internal Error: var %d
", varname);
/var/tmp/portage/sci-electronics/spice-3.5.5-r4/temp/environment: line 1724: obj/bin/makeidx: No such file or directory
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/ckt.a', needed by 'spice3'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/cp.a', needed by 'spice3'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/cp/input.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/cp/lexical.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/cp/numparse.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/cp/quote.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/cp/std.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/cp/var2.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/cp/variable.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/cp/wlist.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/fte.a', needed by 'spice3'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/fte/dimens.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/fte/error.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/fte/rawfile.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/fte/types.o', needed by 'sconvert'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/hlp.a', needed by 'spice3'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/inp.a', needed by 'spice3'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/mfb.a', needed by 'spice3'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/misc.a', needed by 'spice3'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/ni.a', needed by 'spice3'.
make[3]: *** No rule to make target '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/sparse.a', needed by 'spice3'.
/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/src/include/sperror.h:35:7: error: conflicting types for ‘SPerror’; have ‘char *(void)’
Comment 3 Larry the Git Cow gentoo-dev 2025-04-04 03:56:20 UTC
The bug has been closed via the following commit(s):

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

commit 9f1ab1c993348c521d8371eb609c6f7145c335bf
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2025-04-04 03:15:47 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2025-04-04 03:44:28 +0000

    sci-electronics/spice: "fix" Modern C issues by declaring defeat
    
    The software is extremely crusty. As mentioned in the previous commit,
    it hasn't been maintained since 1993 and there are derivative projects
    which likely solve these issues. The code has "worked" since 1993 and I
    suspect unlikely to ever be of much interest to new platforms, given
    that it's only even useful as a point of reference compared to its
    modern derivatives. Keep in mind the code is so old that it's from back
    when the most recent brand new C revision supported implicit function
    declarations.
    
    Trying to solve its C issues seems unworthwhile. Just -std=c89 it.
    Actually, gnu89 since it depends on `#define linux` to detect the
    platform. :P
    
    Closes: https://bugs.gentoo.org/919301
    Closes: https://bugs.gentoo.org/944870
    Closes: https://bugs.gentoo.org/945068
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 sci-electronics/spice/spice-3.5.5-r4.ebuild | 4 ++++
 1 file changed, 4 insertions(+)