Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945068 - sci-electronics/spice-3.5.5-r4 - [libtool] [gcc-15] 503 | out_printf(Error on line %d : %s\n\t%s\n,
Summary: sci-electronics/spice-3.5.5-r4 - [libtool] [gcc-15] 503 | out_printf(Error on...
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-26 18:47 UTC by Toralf Förster
Modified: 2025-04-04 03:56 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.01 KB, text/plain)
2024-11-26 18:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,20.07 KB, text/plain)
2024-11-26 18:47 UTC, Toralf Förster
Details
environment (environment,79.43 KB, text/plain)
2024-11-26 18:47 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-11-26 18:47 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.51 KB, application/x-xz)
2024-11-26 18:47 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,67.75 KB, application/x-xz)
2024-11-26 18:47 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,80.67 KB, text/plain)
2024-11-26 18:47 UTC, Toralf Förster
Details
sci-electronics:spice-3.5.5-r4:20241126-080416.log.xz (sci-electronics:spice-3.5.5-r4:20241126-080416.log.xz,141.91 KB, application/x-xz)
2024-11-26 18:47 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,18.57 KB, application/x-xz)
2024-11-26 18:47 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-26 18:47:19 UTC
  488 |         ckt = if_inpdeck(deck, &tab);
      |               ^~~~~~~~~~
/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/src/include/fteext.h:424:14: note: declared here
  424 | extern char *if_inpdeck();
      |              ^~~~~~~~~~
/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/src/lib/fte//inp.c:503:21: error: too many arguments to function out_printf
  503 |                     out_printf("Error on line %d : %s\n\t%s\n",
      |                     ^~~~~~~~~~
/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/src/include/cpextern.h:126:13: note: declared here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20241125-092503

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0 *

  HEAD of ::gentoo
commit e51988bc4325e63806dbc3cd990faddf6ac4b80c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 26 07:35:41 2024 +0000

    2024-11-26 07:35:41 UTC

emerge -qpvO =sci-electronics/spice-3.5.5-r4
[ebuild  N    ] sci-electronics/spice-3.5.5-r4
Comment 1 Toralf Förster gentoo-dev 2024-11-26 18:47:20 UTC
Created attachment 912151 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-26 18:47:21 UTC
Created attachment 912152 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-26 18:47:22 UTC
Created attachment 912153 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-26 18:47:23 UTC
Created attachment 912154 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-26 18:47:24 UTC
Created attachment 912155 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-26 18:47:25 UTC
Created attachment 912156 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-26 18:47:26 UTC
Created attachment 912157 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-11-26 18:47:28 UTC
Created attachment 912158 [details]
sci-electronics:spice-3.5.5-r4:20241126-080416.log.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-26 18:47:29 UTC
Created attachment 912159 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-04-04 03:56:23 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(+)