Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919301 - sci-electronics/spice-3.5.5-r4 - /.../atander.c: error: implicit declaration of function EqualDeriv [-Wimplicit-function-declaration]
Summary: sci-electronics/spice-3.5.5-r4 - /.../atander.c: error: implicit declaration ...
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: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2023-12-05 18:44 UTC by Toralf Förster
Modified: 2025-04-04 03:56 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,22.18 KB, text/plain)
2023-12-05 18:44 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,100.52 KB, application/x-xz)
2023-12-05 18:44 UTC, Toralf Förster
Details
environment (environment,81.42 KB, text/plain)
2023-12-05 18:44 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-05 18:44 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.47 KB, application/x-xz)
2023-12-05 18:44 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,105.18 KB, application/x-xz)
2023-12-05 18:44 UTC, Toralf Förster
Details
sci-electronics:spice-3.5.5-r4:20231205-183820.log.xz (sci-electronics:spice-3.5.5-r4:20231205-183820.log.xz,26.05 KB, application/x-xz)
2023-12-05 18:44 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,44.66 KB, application/x-xz)
2023-12-05 18:44 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 2023-12-05 18:44:00 UTC
Making "all" in dev
make[4]: Entering directory '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/dev'
Making "all" in disto
make[5]: Entering directory '/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/obj/lib/dev/disto'
cc -O1 -pipe -march=native -fno-diagnostics-color  -I/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/src/include -c /var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/src/lib/dev/disto//atander.c  
/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/src/lib/dev/disto//atander.c: In function AtanDeriv:
/var/tmp/portage/sci-electronics/spice-3.5.5-r4/work/spice3f5sfix/src/lib/dev/disto//atander.c:22:1: error: implicit declaration of function EqualDeriv [-Wimplicit-function-declaration]
   22 | EqualDeriv(&temp, old);
      | ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-162118

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 0afb3c7e9aad82e2cb4612cae271f4414342847f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 5 18:32:30 2023 +0000

    2023-12-05 18:32:29 UTC

emerge -qpvO sci-electronics/spice
[ebuild  N    ] sci-electronics/spice-3.5.5-r4
Comment 1 Toralf Förster gentoo-dev 2023-12-05 18:44:02 UTC
Created attachment 877609 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-05 18:44:03 UTC
Created attachment 877610 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-05 18:44:05 UTC
Created attachment 877611 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-05 18:44:06 UTC
Created attachment 877612 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-05 18:44:08 UTC
Created attachment 877613 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-05 18:44:10 UTC
Created attachment 877614 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-05 18:44:11 UTC
Created attachment 877615 [details]
sci-electronics:spice-3.5.5-r4:20231205-183820.log.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-05 18:44:12 UTC
Created attachment 877616 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2025-04-04 03:56:21 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(+)