Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707470 - games-action/xblast-2.10.4-r1 : fails to build with -fno-common or gcc-10
Summary: games-action/xblast-2.10.4-r1 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-30 19:24 UTC by Toralf Förster
Modified: 2020-01-30 19:57 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.33 KB, text/plain)
2020-01-30 19:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,160.02 KB, text/plain)
2020-01-30 19:24 UTC, Toralf Förster
Details
environment (environment,58.01 KB, text/plain)
2020-01-30 19:24 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.56 KB, application/x-bzip)
2020-01-30 19:24 UTC, Toralf Förster
Details
games-action:xblast-2.10.4-r1:20200130-122354.log (games-action:xblast-2.10.4-r1:20200130-122354.log,142.16 KB, text/plain)
2020-01-30 19:24 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.50 KB, application/x-bzip)
2020-01-30 19:24 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.02 KB, application/x-bzip)
2020-01-30 19:24 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 2020-01-30 19:24:33 UTC
  819 |  inetDevice = (struct sockaddr_in *)&ifReq->ifr_addr;
      |               ^
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/xblast/locale\" -DHAVE_CONFIG_H -I.   -Wall    -O2 -pipe -march=native -fno-common 	-ggdb 	-Wall 	-Wcast-align 	-Wcast-qual 	-Wmissing-declarations 	-Wmissing-prototypes 	-Wpointer-arith 	-Wreturn-type 	-Wstrict-prototypes 	 -DGAME_DATADIR=\"/usr/share/xblast\" -DXBLAST_SOUND -c -o x11_joystick.o x11_joystick.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common 	-ggdb 	-Wall 	-Wcast-align 	-Wcast-qual 	-Wmissing-declarations 	-Wmissing-prototypes 	-Wpointer-arith 	-Wreturn-type 	-Wstrict-prototypes 	 -DGAME_DATADIR=\"/usr/share/xblast\" -DXBLAST_SOUND  -Wl,-O1 -Wl,--as-needed  -o xblast xblast.o util.o str_util.o intro.o introdat.o map.o sprite.o color.o status.o player.o action.o bomb.o event.o image.o shrink.o func.o info.o ini_file.o atom.o scramble.o demo.o debug.o level.o random.o game_local.o game_demo.o game_server.o game_client.o game.o menu.o menu_player.o menu_level.o menu_control.o menu_game.o menu_network.o menu_extras.o mi_tool.o mi_base.o mi_button.o mi_color.o mi_combo.o mi_cyclic.o mi_host.o mi_int.o mi_keysym.o mi_label.o mi_player.o mi_string.o mi_tag.o mi_toggle.o mi_map.o mi_stat.o client.o server.o network.o com.o browse.o com_to_server.o com_listen.o com_to_client.o com_stream.o com_dg_client.o com_dg_server.o com_dgram.o com_query.o com_browse.o com_reply.o com_base.o net_socket.o net_tele.o net_dgram.o central.o com_newgame.o com_to_central.o com_from_central.o com_central.o user.o dat_rating.o cfg_main.o cfg_level.o cfg_player.o cfg_game.o cfg_control.o cfg_stat.o cfg_demo.o cfg_xblast.o bot.o chat.o menu_edit.o version.o  x11_common.o x11_event.o x11_atom.o x11_config.o x11_msgbox.o x11c_init.o x11c_image.o x11c_text.o x11c_tile.o x11c_sprite.o x11c_pixmap.o x11_sound.o x11_socket.o x11_joystick.o  -lm -lX11 -lICE 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: util.o:/var/tmp/portage/games-action/xblast-2.10.4-r1/work/xblast-2.10.4/network.h:108: multiple definition of `teamColors'; xblast.o:/var/tmp/portage/games-action/xblast-2.10.4-r1/work/xblast-2.10.4/network.h:108: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: util.o:/var/tmp/portage/games-action/xblast-2.10.4-r1/work/xblast-2.10.4/cfg_control.h:32: multiple definition of `keyEventType'; xblast.o:/var/tmp/portage/games-action/xblast-2.10.4-r1/work/xblast-2.10.4/cfg_control.h:32: first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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.7
  [3]   python3.6
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 11:31:53 +0000

emerge -qpvO games-action/xblast
[ebuild  N    ] games-action/xblast-2.10.4-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:24:36 UTC
Created attachment 609132 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:24:39 UTC
Created attachment 609134 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:24:42 UTC
Created attachment 609136 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:24:45 UTC
Created attachment 609138 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:24:48 UTC
Created attachment 609140 [details]
games-action:xblast-2.10.4-r1:20200130-122354.log
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:24:51 UTC
Created attachment 609142 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:24:54 UTC
Created attachment 609144 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-01-30 19:57:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82797d77cac4993aec2a27bed2ac315d5c404a4b

commit 82797d77cac4993aec2a27bed2ac315d5c404a4b
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-01-30 19:57:11 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-01-30 19:57:11 +0000

    games-action/xblast: tweak for gcc-10, bug #707470
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/707470
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 .../xblast/files/xblast-2.10.4-gcc-10.patch        | 22 ++++++++++++++++++++++
 games-action/xblast/xblast-2.10.4-r1.ebuild        |  6 +++++-
 2 files changed, 27 insertions(+), 1 deletion(-)