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

Bug 711992

Summary: games-puzzle/gnurobbo-0.66-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/17371
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-puzzle:gnurobbo-0.66-r1:20200309-180251.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-09 18:08:19 UTC
/usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 255 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wl,-O1 -Wl,--as-needed  ROB_engine.o  board.o  controls.o  font.o  game.o  konstruktor.o  levels.o  locales.o  pointer_controls.o  rcfile.o  screen.o  skins.o  sound.o `sdl-config --libs` -lSDL_image -lSDL_mixer -lSDL_ttf -lm -o gnurobbo
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: board.o:(.bss+0xf620): multiple definition of `level'; ROB_engine.o:(.bss+0x116e0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: board.o:(.bss+0x10ee0): multiple definition of `board'; ROB_engine.o:(.bss+0x12fa0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200305-031819

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

  Please see the tracker bug for details.

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

clang:
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
llvm:
10.0.0
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.41.1 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 09 Mar 2020 16:37:50 +0000

emerge -qpvO games-puzzle/gnurobbo
[ebuild  N    ] games-puzzle/gnurobbo-0.66-r1
Comment 1 Toralf Förster gentoo-dev 2020-03-09 18:08:22 UTC
Created attachment 617730 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-09 18:08:25 UTC
Created attachment 617732 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-09 18:08:28 UTC
Created attachment 617734 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-09 18:08:30 UTC
Created attachment 617736 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-09 18:08:33 UTC
Created attachment 617738 [details]
games-puzzle:gnurobbo-0.66-r1:20200309-180251.log
Comment 6 Toralf Förster gentoo-dev 2020-03-09 18:08:36 UTC
Created attachment 617740 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-09-06 21:00:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9caae14a07be903424c6b0b4c60c776c35bf89c6

commit 9caae14a07be903424c6b0b4c60c776c35bf89c6
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2020-09-02 01:25:27 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2020-09-06 20:59:51 +0000

    games-puzzle/gnurobbo: version bump 0.68
    
    Also import debian patch to fix build
    
    Closes: https://bugs.gentoo.org/711992
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Closes: https://github.com/gentoo/gentoo/pull/17371
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-puzzle/gnurobbo/Manifest                         |  3 ++-
 .../gnurobbo/files/gnurobbo-0.66-underlink.patch       | 18 ------------------
 .../gnurobbo/files/gnurobbo-0.68-cflags-d.patch        | 14 ++++++++++++++
 .../{gnurobbo-0.66-r1.ebuild => gnurobbo-0.68.ebuild}  | 17 ++++++++++++-----
 4 files changed, 28 insertions(+), 24 deletions(-)