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

Bug 709398

Summary: games-board/gtkatlantic-0.6.1-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/17687
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-board:gtkatlantic-0.6.1-r1:20200212-094416.log
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-12 17:34:33 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/libxml2     -O2 -pipe -march=native -fno-common -Wall -Wextra -ggdb -c -o trade.o trade.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/libxml2     -O2 -pipe -march=native -fno-common -Wall -Wextra -ggdb -c -o xmlparse.o xmlparse.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall -Wextra -ggdb  -Wl,-O1 -Wl,--as-needed -o gtkatlantic callback.o client.o display.o eng_frame.o eng_list.o eng_main.o game.o interface.o load.o main.o parser.o readpng.o theme.o trade.o xmlparse.o -lgtk-3 -latk-1.0 -lgio-2.0 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0 -lxml2  -lpng 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -Wextra -ggdb -Wl,-O1 -o gtkatlantic callback.o client.o display.o eng_frame.o eng_list.o eng_main.o game.o interface.o load.o main.o parser.o readpng.o theme.o trade.o xmlparse.o  -Wl,--as-needed -lgtk-3 -latk-1.0 -lgio-2.0 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0 -lxml2 -lpng
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client.o:/var/tmp/portage/games-board/gtkatlantic-0.6.1-r1/work/gtkatlantic-0.6.1/src/global.h:542: multiple definition of `global'; callback.o:/var/tmp/portage/games-board/gtkatlantic-0.6.1-r1/work/gtkatlantic-0.6.1/src/global.h:542: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client.o:/var/tmp/portage/games-board/gtkatlantic-0.6.1-r1/work/gtkatlantic-0.6.1/src/global.h:570: multiple definition of `config'; callback.o:/var/tmp/portage/games-board/gtkatlantic-0.6.1-r1/work/gtkatlantic-0.6.1/src/global.h:570: first defined here

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

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

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 12 Feb 2020 08:42:22 +0000

emerge -qpvO games-board/gtkatlantic
[ebuild  N    ] games-board/gtkatlantic-0.6.1-r1
Comment 1 Toralf Förster gentoo-dev 2020-02-12 17:34:36 UTC
Created attachment 613478 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-12 17:34:39 UTC
Created attachment 613480 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-12 17:34:42 UTC
Created attachment 613482 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-12 17:34:45 UTC
Created attachment 613484 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-12 17:34:48 UTC
Created attachment 613486 [details]
games-board:gtkatlantic-0.6.1-r1:20200212-094416.log
Comment 6 Toralf Förster gentoo-dev 2020-02-12 17:34:51 UTC
Created attachment 613488 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-12 17:34:54 UTC
Created attachment 613490 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-10-15 18:32:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d7f8e06b87d312f42e347bc6f97fa0fadebcbec

commit 8d7f8e06b87d312f42e347bc6f97fa0fadebcbec
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2020-09-26 22:39:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-15 18:32:41 +0000

    games-board/gtkatlantic: version 0.6.3
    
    Closes: https://bugs.gentoo.org/709398
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 games-board/gtkatlantic/Manifest                 |  1 +
 games-board/gtkatlantic/gtkatlantic-0.6.3.ebuild | 34 ++++++++++++++++++++++++
 2 files changed, 35 insertions(+)