Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874891 - x11-plugins/gkrellshoot-0.4.4-r4 - to int; ISO C99 and later do not support implicit int
Summary: x11-plugins/gkrellshoot-0.4.4-r4 - to int; ISO C99 and later do not support i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: fixed in 0.4.4-r5
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:23 UTC by Toralf Förster
Modified: 2024-10-27 21:05 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.95 KB, text/plain)
2022-10-04 16:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,51.77 KB, text/plain)
2022-10-04 16:23 UTC, Toralf Förster
Details
environment (environment,62.08 KB, text/plain)
2022-10-04 16:23 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.23 KB, application/x-bzip)
2022-10-04 16:23 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.91 KB, application/x-bzip)
2022-10-04 16:23 UTC, Toralf Förster
Details
x11-plugins:gkrellshoot-0.4.4-r4:20221003-203741.log (x11-plugins:gkrellshoot-0.4.4-r4:20221003-203741.log,5.33 KB, text/plain)
2022-10-04 16:23 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 2022-10-04 16:23:42 UTC
      while (abs (d_y[chart_index]) < 0.5)
             ^~~
             fabs
gkrellshoot.c:439:18: error: parameter 'chart_index' was not declared, defaults
      to 'int'; ISO C99 and later do not support implicit int
      [-Werror,-Wimplicit-int]
draw_starfield ( chart_index )

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit dd4b49976ccac053812aa0d0b1c46bdb1fd74008
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 19:32:16 2022 +0000

    2022-10-03 19:32:15 UTC

emerge -qpvO x11-plugins/gkrellshoot
[ebuild  N    ] x11-plugins/gkrellshoot-0.4.4-r4
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:23:43 UTC
Created attachment 818527 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:23:44 UTC
Created attachment 818530 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:23:46 UTC
Created attachment 818533 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:23:47 UTC
Created attachment 818536 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:23:48 UTC
Created attachment 818539 [details]
temp.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:23:49 UTC
Created attachment 818542 [details]
x11-plugins:gkrellshoot-0.4.4-r4:20221003-203741.log
Comment 7 Larry the Git Cow gentoo-dev 2022-12-04 23:57:59 UTC
The bug has been closed via the following commit(s):

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

commit 19bc91aca1909164fe68851006b5b1631a6693cd
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-11-30 20:18:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-04 23:56:16 +0000

    x11-plugins/gkrellshoot: fix build for clang16
    
    Closes: https://bugs.gentoo.org/874891
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28486
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gkrellshoot-0.4.4-r5-fix-implicit-int.patch    | 25 +++++++++++++++++
 .../gkrellshoot/gkrellshoot-0.4.4-r5.ebuild        | 32 ++++++++++++++++++++++
 2 files changed, 57 insertions(+)