Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722106 - games-engines/renpy-6.99.12.4-r4 fails to build with -fno-common or gcc-10
Summary: games-engines/renpy-6.99.12.4-r4 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: Andrew Savchenko
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-05-10 11:56 UTC by Pavel Volkov
Modified: 2020-05-11 06:25 UTC (History)
0 users

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


Attachments
build.log (build.log,15.36 KB, text/plain)
2020-05-10 11:57 UTC, Pavel Volkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Volkov 2020-05-10 11:56:58 UTC
games-engines/renpy-6.99.12.4-r4 fails to build:

x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=znver2 -I/usr/include/fribidi /var/tmp/portage/games-engines/renpy-6.99.12.4-r4/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-r4/work/renpy-6.99.12.4-source-python2_7/build/temp.linux-x86_64-2.7/renpybidicore.o -L/usr/lib64 -L/usr/lib -L/usr/lib64 -lfribidi -lpython2.7 -o /var/tmp/portage/games-engines/renpy-6.99.12.4-r4/work/renpy-6.99.12.4-source-python2_7/build/lib/_renpybidi.so
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-engines/renpy-6.99.12.4-r4/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-r4/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/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-engines/renpy-6.99.12.4-r4/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-r4/work/renpy-6.99.12.4-source-python2_7/build/temp.linux-x86_64-2.7/gen/_renpybidi.o:(.bss+0x10): first defined here
collect2: error: ld returned 1 exit status
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

Reproducible: Always
Comment 1 Pavel Volkov 2020-05-10 11:57:21 UTC
Created attachment 637514 [details]
build.log
Comment 2 Andrew Savchenko gentoo-dev 2020-05-10 16:51:41 UTC
Please use renpy-7.3.5, it builds fine with gcc-10.
I will stabilize it later after it gets some user testing.
Comment 3 Pavel Volkov 2020-05-10 20:29:27 UTC
Currently there are packages with RENPY_SLOT="6.99".
Comment 4 Andrew Savchenko gentoo-dev 2020-05-11 06:25:04 UTC
(In reply to Pavel Volkov from comment #3)
> Currently there are packages with RENPY_SLOT="6.99".

This is stable package, so use stable compiler with it.
Futhermore renpy-6.99* will be remove as soon as 7.3.5 will go to stable.
Do you have any reason to keep using 6.99?