Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 794754

Summary: games-simulation/micropolis-1.0_p20180313 - /.../ld: ../libtcl.a(tclxcret.o):(.data.rel+<snip>): undefined reference to matherr
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal CC: games
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
games-simulation:micropolis-1.0_p20180313:20210607-122410.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-06-07 13:35:59 UTC
ranlib ../libtcl.a
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color  -DIS_LINUX  -I../../tcl  -DTCL_HAVE_SETLINEBUF -DTCL_32_BIT_RANDOM -DTCL_POSIX_SIG -DTCL_TM_GMTOFF main.o ../libtcl.a -lm -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ../tcl
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../libtcl.a(tclxcret.o):(.data.rel+0x0): undefined reference to `matherr'
collect2: error: ld returned 1 exit status
make[2]: *** [makefile:62: ../tcl] Error 1
make[2]: Leaving directory '/var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755/src/tclx/src'
make[1]: *** [makefile:51: TCLX_MAKES] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j3-20210606-190645

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
/usr/lib/llvm/12
12.0.0
Python 3.9.5
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 229ee47106795cb2c40cb51c022cb5a537789285
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jun 7 11:20:16 2021 +0000

    2021-06-07 11:20:15 UTC

emerge -qpvO games-simulation/micropolis
[ebuild  N    ] games-simulation/micropolis-1.0_p20180313
Comment 1 Toralf Förster gentoo-dev 2021-06-07 13:36:00 UTC
Created attachment 714201 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-07 13:36:02 UTC
Created attachment 714204 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-07 13:36:03 UTC
Created attachment 714207 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-07 13:36:04 UTC
Created attachment 714210 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-07 13:36:06 UTC
Created attachment 714213 [details]
games-simulation:micropolis-1.0_p20180313:20210607-122410.log
Comment 6 Toralf Förster gentoo-dev 2021-06-07 13:36:07 UTC
Created attachment 714216 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2024-03-10 13:42:37 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(+)