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

Bug 710884

Summary: games-engines/renpy-6.99.12.4-r3 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andrew Savchenko <bircoph>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-engines:renpy-6.99.12.4-r3:20200226-042037.log

Description Toralf Förster gentoo-dev 2020-02-26 17:15:01 UTC
/usr/include/fribidi/fribidi.h:102:19: note: expected FriBidiParType * {aka enum <anonymous> *} but argument is of type int *
  102 |   FriBidiParType *pbase_dir, /* requested and resolved paragraph
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I/usr/include/fribidi /var/tmp/portage/games-engines/renpy-6.99.12.4-r3/work/renpy-6.99.12.4-source-python2_7/build/temp.linux-x86_64-2.7/gen/_renpybidi.o /var/tmp/portage/games-engines/renpy-6.99.12.4-r3/work/renpy-6.99.12.4-source-python2_7/build/temp.linux-x86_64-2.7/renpybidicore.o -L/usr/lib -L/usr/lib64 -lfribidi -lpython2.7 -o /var/tmp/portage/games-engines/renpy-6.99.12.4-r3/work/renpy-6.99.12.4-source-python2_7/build/lib/_renpybidi.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-engines/renpy-6.99.12.4-r3/work/renpy-6.99.12.4-source-python2_7/build/temp.linux-x86_64-2.7/renpybidicore.o:(.bss+0x0): multiple definition of `fribidi_version_info'; /var/tmp/portage/games-engines/renpy-6.99.12.4-r3/work/renpy-6.99.12.4-source-python2_7/build/temp.linux-x86_64-2.7/gen/_renpybidi.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-engines/renpy-6.99.12.4-r3/work/renpy-6.99.12.4-source-python2_7/build/temp.linux-x86_64-2.7/renpybidicore.o:(.bss+0x8): multiple definition of `fribidi_unicode_version'; /var/tmp/portage/games-engines/renpy-6.99.12.4-r3/work/renpy-6.99.12.4-source-python2_7/build/temp.linux-x86_64-2.7/gen/_renpybidi.o:(.bss+0x10): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl_abi32+64-20200220-171851

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

  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:
1)	IcedTea JDK 3.15.0 [icedtea-8]
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm
  [3]   jamvm 
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 26 Feb 2020 02:37:14 +0000

emerge -qpvO games-engines/renpy
[ebuild  N    ] games-engines/renpy-6.99.12.4-r3  USE="-development -doc -examples" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2020-02-26 17:15:06 UTC
Created attachment 616028 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-26 17:15:11 UTC
Created attachment 616030 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-26 17:15:14 UTC
Created attachment 616032 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-26 17:15:16 UTC
Created attachment 616034 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-26 17:15:19 UTC
Created attachment 616036 [details]
games-engines:renpy-6.99.12.4-r3:20200226-042037.log
Comment 6 Larry the Git Cow gentoo-dev 2020-05-09 13:10:46 UTC
The bug has been closed via the following commit(s):

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

commit be246890dcb968ff90c903b9a2a63ac4c175cc02
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2020-05-09 13:03:04 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2020-05-09 13:10:28 +0000

    games-engines/renpy: Update to version 7.3.5
    
    - This is a major update to version 7.3.5.
    - Multislot support is dropped since upstream provides backward
      compatibility for older games.
    - renpy-7.3.5-use-system-fribidi.patch is based on fribidi patch
      from bug 671008 by Alex <barracuda72@bk.ru>, though it was
      improved further.
    
    Closes: https://bugs.gentoo.org/671008
    Closes: https://bugs.gentoo.org/710884
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 games-engines/renpy/Manifest                       |   1 +
 .../renpy/files/renpy-7.3.5-system-path.patch      |  19 ++++
 .../files/renpy-7.3.5-use-system-fribidi.patch     |  42 ++++++++
 games-engines/renpy/renpy-7.3.5.ebuild             | 108 +++++++++++++++++++++
 4 files changed, 170 insertions(+)