Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884345 - games-simulation/micropolis-1.0_p20180313 - tkbitmap.c: error: type specifier missing, defaults to int; ISO C99 and
Summary: games-simulation/micropolis-1.0_p20180313 - tkbitmap.c: error: type specifier...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-04 18:19 UTC by Toralf Förster
Modified: 2024-03-10 13:42 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.47 KB, text/plain)
2022-12-04 18:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,113.89 KB, text/plain)
2022-12-04 18:19 UTC, Toralf Förster
Details
environment (environment,78.73 KB, text/plain)
2022-12-04 18:19 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,687 bytes, application/x-bzip)
2022-12-04 18:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.30 KB, application/x-bzip)
2022-12-04 18:19 UTC, Toralf Förster
Details
games-simulation:micropolis-1.0_p20180313:20221204-181733.log (games-simulation:micropolis-1.0_p20180313:20221204-181733.log,101.19 KB, text/plain)
2022-12-04 18:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.39 KB, application/x-bzip)
2022-12-04 18:19 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-12-04 18:19:07 UTC
      deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
Tk_GetBitmapFromData(interp, tkwin, source, width, height)
^
tkbitmap.c:437:12: error: type specifier missing, defaults to 'int'; ISO C99 and
      later do not support implicit int [-Werror,-Wimplicit-int]
    static autoNumber = 0;

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20221204-010004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php8.1 *

  HEAD of ::gentoo
commit 51882e2634e85978ba54d0b3c8e232fa69294afe
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 4 17:31:49 2022 +0000

    2022-12-04 17:31:49 UTC

emerge -qpvO games-simulation/micropolis
[ebuild  N    ] games-simulation/micropolis-1.0_p20180313
Comment 1 Toralf Förster gentoo-dev 2022-12-04 18:19:08 UTC
Created attachment 839987 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-04 18:19:11 UTC
Created attachment 839989 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-04 18:19:12 UTC
Created attachment 839991 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-04 18:19:13 UTC
Created attachment 839993 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-04 18:19:14 UTC
Created attachment 839995 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-04 18:19:15 UTC
Created attachment 839997 [details]
games-simulation:micropolis-1.0_p20180313:20221204-181733.log
Comment 7 Toralf Förster gentoo-dev 2022-12-04 18:19:17 UTC
Created attachment 839999 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2024-03-10 13:42:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=467c208fc96e7a3455aa85b97c49148a357c7602

commit 467c208fc96e7a3455aa85b97c49148a357c7602
Author:     Hanno Böck <hanno@gentoo.org>
AuthorDate: 2024-03-10 13:41:17 +0000
Commit:     Hanno Böck <hanno@gentoo.org>
CommitDate: 2024-03-10 13:41:19 +0000

    games-simulation/micropolis: add 1.0_p20220604
    
    Latest upstream git snapshot.
    Fix errors with modern clang.
    Disable parallel make.
    
    Closes: https://bugs.gentoo.org/794754
    Closes: https://bugs.gentoo.org/884345
    Signed-off-by: Hanno Böck <hanno@gentoo.org>

 games-simulation/micropolis/Manifest               |   1 +
 .../micropolis/files/micropolis-fix-clang15.diff   | 104 +++++++++++++++++++++
 .../micropolis/micropolis-1.0_p20220604.ebuild     |  57 +++++++++++
 3 files changed, 162 insertions(+)