Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708540 - games-kids/lletters-0.1.95-r3 : fails to build with -fno-common or gcc-10
Summary: games-kids/lletters-0.1.95-r3 : 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: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-06 22:27 UTC by Toralf Förster
Modified: 2020-10-15 20:31 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.02 KB, text/plain)
2020-02-06 22:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,139.10 KB, text/plain)
2020-02-06 22:27 UTC, Toralf Förster
Details
environment (environment,76.71 KB, text/plain)
2020-02-06 22:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.27 KB, application/x-bzip)
2020-02-06 22:27 UTC, Toralf Förster
Details
games-kids:lletters-0.1.95-r3:20200206-150932.log (games-kids:lletters-0.1.95-r3:20200206-150932.log,34.59 KB, text/plain)
2020-02-06 22:27 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.74 KB, application/x-bzip)
2020-02-06 22:27 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.40 KB, application/x-bzip)
2020-02-06 22:27 UTC, Toralf Förster
Details
lletters-0.1.95-no-common.patch (lletters-0.1.95-no-common.patch,3.54 KB, patch)
2020-02-21 21:43 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-06 22:27:15 UTC
      |    ^~~~~
/bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o lletters  list.o lln.o lln_window.o wav_play.o timer.o libqdwav/libqdwav.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  
mkdir .libs
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o lletters list.o lln.o lln_window.o wav_play.o timer.o  libqdwav/libqdwav.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: timer.o:(.bss+0x18): multiple definition of `cinfo'; wav_play.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: timer.o:(.bss+0x10): multiple definition of `dsp_fd'; wav_play.o:(.bss+0x20): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-abi32+64-20200203-051815

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

  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]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 06 Feb 2020 14:47:08 +0000

emerge -qpvO games-kids/lletters
[ebuild  N    ] games-kids/lletters-0.1.95-r3  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2020-02-06 22:27:18 UTC
Created attachment 612328 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-06 22:27:21 UTC
Created attachment 612330 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-06 22:27:24 UTC
Created attachment 612332 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-06 22:27:27 UTC
Created attachment 612334 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-06 22:27:30 UTC
Created attachment 612336 [details]
games-kids:lletters-0.1.95-r3:20200206-150932.log
Comment 6 Toralf Förster gentoo-dev 2020-02-06 22:27:33 UTC
Created attachment 612338 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-06 22:27:35 UTC
Created attachment 612340 [details]
temp.tbz2
Comment 8 Samuel Bauer 2020-02-21 21:43:42 UTC
Created attachment 614976 [details, diff]
lletters-0.1.95-no-common.patch
Comment 9 Larry the Git Cow gentoo-dev 2020-10-15 20:31:29 UTC
The bug has been closed via the following commit(s):

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

commit cea071f6cd314416dc6e9b944501ea9f8f7bc70b
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2020-10-03 19:35:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-15 20:26:34 +0000

    games-kids/lletters: fix build and crash on startup
    
    Closes: https://bugs.gentoo.org/708540
    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>

 .../files/lletters-0.1.95-fno-common.patch         | 41 ++++++++++++++++
 .../lletters/files/lletters-0.1.95-nolang.patch    | 14 ++++++
 games-kids/lletters/lletters-0.1.95-r4.ebuild      | 55 ++++++++++++++++++++++
 3 files changed, 110 insertions(+)