Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707814 - games-fps/alienarena-20130827-r1 : fails to build with -fno-common or gcc-10
Summary: games-fps/alienarena-20130827-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 (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-01 21:53 UTC by Toralf Förster
Modified: 2020-11-15 20:03 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.85 KB, text/plain)
2020-02-01 21:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,279.06 KB, text/plain)
2020-02-01 21:53 UTC, Toralf Förster
Details
environment (environment,89.57 KB, text/plain)
2020-02-01 21:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.75 KB, application/x-bzip)
2020-02-01 21:53 UTC, Toralf Förster
Details
games-fps:alienarena-20130827-r1:20200201-211640.log (games-fps:alienarena-20130827-r1:20200201-211640.log,136.84 KB, text/plain)
2020-02-01 21:53 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.71 KB, application/x-bzip)
2020-02-01 21:53 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.97 KB, application/x-bzip)
2020-02-01 21:53 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-02-01 21:53:33 UTC
unix/sys_unix.c:374:2: warning: ignoring return value of ‘seteuid’, declared with attribute warn_unused_result [-Wunused-result]
  374 |  seteuid(getuid());
      |  ^~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -ffast-math -fno-strict-aliasing  -Wl,-O1 -Wl,--as-needed -o alienarena-ded game/alienarena_ded-q_shared.o null/alienarena_ded-cl_null.o qcommon/alienarena_ded-cmd.o qcommon/alienarena_ded-cmodel.o qcommon/alienarena_ded-common.o qcommon/alienarena_ded-crc.o qcommon/alienarena_ded-cvar.o qcommon/alienarena_ded-files.o qcommon/alienarena_ded-htable.o qcommon/alienarena_ded-mdfour.o qcommon/alienarena_ded-net_chan.o qcommon/alienarena_ded-pmove.o server/alienarena_ded-sv_ccmds.o server/alienarena_ded-sv_ents.o server/alienarena_ded-sv_game.o server/alienarena_ded-sv_init.o server/alienarena_ded-sv_main.o server/alienarena_ded-sv_send.o server/alienarena_ded-sv_user.o server/alienarena_ded-sv_world.o unix/alienarena_ded-glob.o unix/alienarena_ded-net_udp.o unix/alienarena_ded-q_shunix.o unix/alienarena_ded-sys_unix.o libgame.a -ljpeg -ldl -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: null/alienarena_ded-cl_null.o:(.bss+0x8): multiple definition of `com_parseLine'; game/alienarena_ded-q_shared.o:(.bss+0x48c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: qcommon/alienarena_ded-cmd.o:(.bss+0x4130): multiple definition of `remoteserver_runspeed'; null/alienarena_ded-cl_null.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200125-232521

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

  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)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 20:47:56 +0000

emerge -qpvO games-fps/alienarena
[ebuild  N    ] games-fps/alienarena-20130827-r1  USE="dga vidmode zlib -dedicated"
Comment 1 Toralf Förster gentoo-dev 2020-02-01 21:53:36 UTC
Created attachment 610680 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-01 21:53:39 UTC
Created attachment 610682 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-01 21:53:42 UTC
Created attachment 610684 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-01 21:53:44 UTC
Created attachment 610686 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-01 21:53:47 UTC
Created attachment 610688 [details]
games-fps:alienarena-20130827-r1:20200201-211640.log
Comment 6 Toralf Förster gentoo-dev 2020-02-01 21:53:50 UTC
Created attachment 610690 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-01 21:53:53 UTC
Created attachment 610692 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-15 20:03:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1f2b8d00cdd00ccc4740e2ab19777265078819

commit 4a1f2b8d00cdd00ccc4740e2ab19777265078819
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2020-11-15 20:02:44 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-15 20:02:44 +0000

    games-fps/alienarena: fix version to be 7.66
    
    Fix build:
    * on prefix
    * without native-symlinks
    * with gcc 10
    
    Closes: https://bugs.gentoo.org/650294
    Closes: https://bugs.gentoo.org/707814
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: David Seifert <soap@gentoo.org>

 games-fps/alienarena/alienarena-7.66.ebuild        | 71 ++++++++++++++++++++++
 .../files/alienarena-7.66-C99-inline.patch         | 25 ++++++++
 .../alienarena/files/alienarena-7.66-ar.patch      | 13 ++++
 .../alienarena/files/alienarena-7.66-format.patch  | 11 ++++
 4 files changed, 120 insertions(+)