Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708628 - media-video/obs-studio-24.0.5 : fails to build with -fno-common or gcc-10
Summary: media-video/obs-studio-24.0.5 : 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: Chiitoo
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-07 18:20 UTC by Toralf Förster
Modified: 2020-05-10 11:42 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.66 KB, text/plain)
2020-02-07 18:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,183.54 KB, text/plain)
2020-02-07 18:20 UTC, Toralf Förster
Details
environment (environment,128.59 KB, text/plain)
2020-02-07 18:20 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.94 KB, application/x-bzip)
2020-02-07 18:20 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.32 KB, application/x-bzip)
2020-02-07 18:20 UTC, Toralf Förster
Details
media-video:obs-studio-24.0.5:20200207-022815.log (media-video:obs-studio-24.0.5:20200207-022815.log,10.90 KB, text/plain)
2020-02-07 18:20 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.70 KB, application/x-bzip)
2020-02-07 18:20 UTC, Toralf Förster
Details

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-07 18:20:09 UTC
[2/305] /usr/bin/x86_64-pc-linux-gnu-gcc -DGLAD_GLAPI_EXPORT_BUILD -DUSE_XDG -Dglad_EXPORTS -I/var/tmp/portage/media-video/obs-studio-24.0.5/work/obs-studio-24.0.5/deps/glad/include  -DNDEBUG -Wall -Wextra -Wvla -Wno-unused-function -Werror-implicit-function-declaration -Wno-missing-braces -Wno-missing-field-initializers -O2 -pipe -march=native -fno-common -std=gnu99 -fno-strict-aliasing -fPIC   -DPIC -fvisibility=hidden -fPIC -MD -MT deps/glad/CMakeFiles/glad.dir/src/glad_glx.c.o -MF deps/glad/CMakeFiles/glad.dir/src/glad_glx.c.o.d -o deps/glad/CMakeFiles/glad.dir/src/glad_glx.c.o -c /var/tmp/portage/media-video/obs-studio-24.0.5/work/obs-studio-24.0.5/deps/glad/src/glad_glx.c
[3/305] : && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -Wall -Wextra -Wvla -Wno-unused-function -Werror-implicit-function-declaration -Wno-missing-braces -Wno-missing-field-initializers -O2 -pipe -march=native -fno-common -std=gnu99 -fno-strict-aliasing  -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libobsglad.so.0 -o deps/glad/libobsglad.so.0 deps/glad/CMakeFiles/glad.dir/src/glad.c.o deps/glad/CMakeFiles/glad.dir/src/glad_glx.c.o  -lX11  -ldl  -lGL && :
FAILED: deps/glad/libobsglad.so.0 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -Wall -Wextra -Wvla -Wno-unused-function -Werror-implicit-function-declaration -Wno-missing-braces -Wno-missing-field-initializers -O2 -pipe -march=native -fno-common -std=gnu99 -fno-strict-aliasing  -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libobsglad.so.0 -o deps/glad/libobsglad.so.0 deps/glad/CMakeFiles/glad.dir/src/glad.c.o deps/glad/CMakeFiles/glad.dir/src/glad_glx.c.o  -lX11  -ldl  -lGL && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: deps/glad/CMakeFiles/glad.dir/src/glad_glx.c.o:(.bss+0x4b8): multiple definition of `gladGetProcAddressPtr'; deps/glad/CMakeFiles/glad.dir/src/glad.c.o:(.bss+0x5008): first defined here
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200202-131532

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

  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 <==
Fri, 07 Feb 2020 00:48:22 +0000

emerge -qpvO media-video/obs-studio
[ebuild  N    ] media-video/obs-studio-24.0.5  USE="alsa ssl truetype -fdk -imagemagick -jack -luajit -nvenc -pulseaudio -python -speex -v4l -vlc" PYTHON_SINGLE_TARGET="python3_6 -python3_7" PYTHON_TARGETS="python3_6 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2020-02-07 18:20:12 UTC
Created attachment 612442 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-07 18:20:15 UTC
Created attachment 612444 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-07 18:20:18 UTC
Created attachment 612446 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-07 18:20:20 UTC
Created attachment 612448 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-07 18:20:23 UTC
Created attachment 612450 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-07 18:20:26 UTC
Created attachment 612452 [details]
media-video:obs-studio-24.0.5:20200207-022815.log
Comment 7 Toralf Förster gentoo-dev 2020-02-07 18:20:29 UTC
Created attachment 612454 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-05-10 11:42:17 UTC
The bug has been closed via the following commit(s):

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

commit 90c288ba534fba4d22130514387eca740151aa95
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2020-05-10 07:17:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-05-10 11:41:35 +0000

    media-video/obs-studio: remove version 24.0.5
    
    Closes: https://bugs.gentoo.org/708628
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/obs-studio/Manifest                 |   1 -
 media-video/obs-studio/obs-studio-24.0.5.ebuild | 132 ------------------------
 2 files changed, 133 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 2f867c799b979a69bce09868a6a5a55f73566bb2
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2020-05-10 07:16:34 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-05-10 11:41:35 +0000

    media-video/obs-studio: fix build with GCC-10
    
    Bug: https://bugs.gentoo.org/708628
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/15736
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/obs-studio-25.0.8-gcc-10-build.patch     | 30 ++++++++++++++++++++++
 media-video/obs-studio/obs-studio-25.0.8.ebuild    |  2 ++
 2 files changed, 32 insertions(+)