Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709502 - games-arcade/moleinvasion-0.4-r2 : fails to build with -fno-common or gcc-10
Summary: games-arcade/moleinvasion-0.4-r2 : 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
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-13 18:27 UTC by Toralf Förster
Modified: 2020-11-15 18:50 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2020-02-13 18:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,138.04 KB, text/plain)
2020-02-13 18:27 UTC, Toralf Förster
Details
environment (environment,26.74 KB, text/plain)
2020-02-13 18:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.40 KB, application/x-bzip)
2020-02-13 18:27 UTC, Toralf Förster
Details
games-arcade:moleinvasion-0.4-r2:20200212-214143.log (games-arcade:moleinvasion-0.4-r2:20200212-214143.log,10.76 KB, text/plain)
2020-02-13 18:27 UTC, Toralf Förster
Details
moleinvasion-0.4-no-common.patch (moleinvasion-0.4-no-common.patch,734 bytes, patch)
2020-02-21 20:29 UTC, Samuel Bauer
Details | Diff

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-13 18:27:45 UTC
MoleInvasion.c:70:3: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
   70 |   chdir("../");
      |   ^~~~~~~~~~~~
cc -Wl,-O1 -Wl,--as-needed graphics.o font.o list.o sprite.o events.o editor_texts.o Splayer.o Sother.o background.o video.o tool.o mixer.o level_file.o level.o worldmap.o edit_keys.o menu.o MoleInvasion.o  $(sdl-config --libs) -lSDL_image -lSDL_mixer -lSDL_ttf -lGL -ldl -o ../lin/moleinvasion
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: level.o:(.bss+0x8): multiple definition of `static_world_datas'; Splayer.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: MoleInvasion.o:(.bss+0x0): multiple definition of `static_world_datas'; Splayer.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20200208-201054

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

  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) *
Available Rust versions:
  [1]   rust-1.41.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 <==
Wed, 12 Feb 2020 20:37:24 +0000

emerge -qpvO games-arcade/moleinvasion
[ebuild  N    ] games-arcade/moleinvasion-0.4-r2  USE="-music"
Comment 1 Toralf Förster gentoo-dev 2020-02-13 18:27:47 UTC
Created attachment 613626 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-13 18:27:50 UTC
Created attachment 613628 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-13 18:27:53 UTC
Created attachment 613630 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-13 18:27:56 UTC
Created attachment 613632 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-13 18:27:58 UTC
Created attachment 613634 [details]
games-arcade:moleinvasion-0.4-r2:20200212-214143.log
Comment 6 Samuel Bauer 2020-02-21 20:29:49 UTC
Created attachment 614962 [details, diff]
moleinvasion-0.4-no-common.patch
Comment 7 Larry the Git Cow gentoo-dev 2020-11-15 18:50:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ff1adca02731a0f8dfe5b5e8f9a0a2e42efbc31

commit 7ff1adca02731a0f8dfe5b5e8f9a0a2e42efbc31
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-15 18:49:33 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-15 18:49:33 +0000

    games-arcade/moleinvasion: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/709502
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/moleinvasion-0.4-fno-common.patch        | 11 +++++++
 .../moleinvasion/moleinvasion-0.4-r2.ebuild        | 37 +++++++++++++++-------
 2 files changed, 36 insertions(+), 12 deletions(-)