Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877839 - games-puzzle/color-lines-0.6-r1 - /.../ld: main.o:(.bss+<snip>): multiple definition of ball_t; board.o:(.bss+<snip>): first defin
Summary: games-puzzle/color-lines-0.6-r1 - /.../ld: main.o:(.bss+<snip>): multiple def...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-21 13:19 UTC by Toralf Förster
Modified: 2022-10-21 13:19 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.37 KB, text/plain)
2022-10-21 13:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,78.61 KB, text/plain)
2022-10-21 13:19 UTC, Toralf Förster
Details
environment (environment,30.52 KB, text/plain)
2022-10-21 13:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.70 KB, application/x-bzip)
2022-10-21 13:19 UTC, Toralf Förster
Details
games-puzzle:color-lines-0.6-r1:20221021-115646.log (games-puzzle:color-lines-0.6-r1:20221021-115646.log,2.84 KB, text/plain)
2022-10-21 13:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,9.46 KB, application/x-bzip)
2022-10-21 13: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-10-21 13:19:12 UTC
cc -c main.c  -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DGAMEDATADIR=\"/usr/share/color-lines/\"
cc -c sound.c  -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DGAMEDATADIR=\"/usr/share/color-lines/\"
cat color-lines.desktop.in | sed -e "s|@BINDIR|/usr/bin/|g" > color-lines.desktop
cc -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 board.o graphics.o main.o sound.o -o color-lines -lm -lSDL -lpthread -lSDL_image -lSDL_mixer
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x1b68): multiple definition of `ball_t'; board.o:(.bss+0x3d8): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:32: color-lines] Error 1

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.3
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.3
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

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

  HEAD of ::gentoo
commit 1c017e3f4d980187d0b18d4effe247c85aa80b85
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Oct 21 10:31:53 2022 +0000

    2022-10-21 10:31:53 UTC

emerge -qpvO games-puzzle/color-lines
[ebuild  N    ] games-puzzle/color-lines-0.6-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-21 13:19:13 UTC
Created attachment 824947 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-21 13:19:14 UTC
Created attachment 824949 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-21 13:19:15 UTC
Created attachment 824951 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-21 13:19:16 UTC
Created attachment 824953 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-21 13:19:17 UTC
Created attachment 824955 [details]
games-puzzle:color-lines-0.6-r1:20221021-115646.log
Comment 6 Toralf Förster gentoo-dev 2022-10-21 13:19:18 UTC
Created attachment 824957 [details]
temp.tar.bz2