Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938326 - media-video/obs-studio-30.2.3 - [ncurses-6.5] [gcc-15] /.../json11.cpp: error: uint8_t does not name a type
Summary: media-video/obs-studio-30.2.3 - [ncurses-6.5] [gcc-15] /.../json11.cpp: error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chiitoo
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-08-22 17:15 UTC by Toralf Förster
Modified: 2024-08-25 15:41 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.49 KB, text/plain)
2024-08-22 17:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,72.56 KB, text/plain)
2024-08-22 17:15 UTC, Toralf Förster
Details
environment (environment,158.47 KB, text/plain)
2024-08-22 17:15 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-08-22 17:15 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,42.03 KB, application/x-xz)
2024-08-22 17:15 UTC, Toralf Förster
Details
media-video:obs-studio-30.2.3:20240822-151608.log.xz (media-video:obs-studio-30.2.3:20240822-151608.log.xz,13.93 KB, application/x-xz)
2024-08-22 17:15 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,158.01 KB, text/plain)
2024-08-22 17:15 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,33.37 KB, application/x-xz)
2024-08-22 17:15 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 2024-08-22 17:15:11 UTC
too long lines were shrinked:

[270/348] /usr/bin/x86_64-pc-linux-gnu-g++ -DDL_D3D11=\"\" -DDL_D3D9=\"\" -DDL_METAL=\"\" -DDL_OPENGL=\"libobs-opengl.so.1\" -DENABLE_HEVC -DHAVE_OBSCONFIG_H -DOBS_INSTALL_PREFIX=\"/usr\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_L
[271/348] /usr/bin/x86_64-pc-linux-gnu-g++ -DDL_D3D11=\"\" -DDL_D3D9=\"\" -DDL_METAL=\"\" -DDL_OPENGL=\"libobs-opengl.so.1\" -DENABLE_HEVC -DHAVE_OBSCONFIG_H -DOBS_INSTALL_PREFIX=\"/usr\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_L
[272/348] /usr/bin/x86_64-pc-linux-gnu-g++ -DDL_D3D11=\"\" -DDL_D3D9=\"\" -DDL_METAL=\"\" -DDL_OPENGL=\"libobs-opengl.so.1\" -DENABLE_HEVC -DHAVE_OBSCONFIG_H -DOBS_INSTALL_PREFIX=\"/usr\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_L
FAILED: UI/CMakeFiles/obs.dir/__/deps/json11/json11.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DDL_D3D11=\"\" -DDL_D3D9=\"\" -DDL_METAL=\"\" -DDL_OPENGL=\"libobs-opengl.so.1\" -DENABLE_HEVC -DHAVE_OBSCONFIG_H -DOBS_INSTALL_PREFIX=\"/usr\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSAFE_
/var/tmp/portage/media-video/obs-studio-30.2.3/work/obs-studio-30.2.3/deps/json11/json11.cpp: In function void json11::dump(const std::string&, std::string&):
/var/tmp/portage/media-video/obs-studio-30.2.3/work/obs-studio-30.2.3/deps/json11/json11.cpp:95:32: error: uint8_t does not name a type
   95 |         } else if (static_cast<uint8_t>(ch) <= 0x1f) {
      |                                ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_abi32+64-20240821-065002

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  >=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  (none found)
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit 8ac1575d3c8f3b2dea29ccbe38ff0a7af1a7ff1c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 22 13:19:11 2024 +0000

    2024-08-22 13:19:11 UTC

emerge -qpvO =media-video/obs-studio-30.2.3
[ebuild  N    ] media-video/obs-studio-30.2.3  USE="alsa ssl truetype v4l -browser -decklink -fdk -jack -lua (-mpegts) -nvenc -pipewire -pulseaudio -python -qsv -speex -test -vlc -wayland -websocket" LUA_SINGLE_TARGET="luajit" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-08-22 17:15:12 UTC
Created attachment 900967 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-22 17:15:13 UTC
Created attachment 900968 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-22 17:15:15 UTC
Created attachment 900969 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-22 17:15:16 UTC
Created attachment 900970 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-22 17:15:17 UTC
Created attachment 900971 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-22 17:15:18 UTC
Created attachment 900972 [details]
media-video:obs-studio-30.2.3:20240822-151608.log.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-22 17:15:19 UTC
Created attachment 900973 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-08-22 17:15:20 UTC
Created attachment 900974 [details]
temp.tar.xz
Comment 9 Paul Zander 2024-08-22 17:18:52 UTC
I have a patch for this. Just haven't gotten to PR it.
Comment 10 Larry the Git Cow gentoo-dev 2024-08-25 15:41:29 UTC
The bug has been closed via the following commit(s):

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

commit ff09c09923f119209970407540201cbdabccde4f
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-08-23 18:31:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-25 15:39:28 +0000

    media-video/obs-studio: Fix compilation on GCC 15
    
    Closes: https://bugs.gentoo.org/938326
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38268
    Signed-off-by: Sam James <sam@gentoo.org>

 .../obs-studio/files/json11-1.0.0-include-cstdint.patch      | 12 ++++++++++++
 media-video/obs-studio/obs-studio-30.2.3.ebuild              |  4 ++++
 media-video/obs-studio/obs-studio-9999.ebuild                |  4 ++++
 3 files changed, 20 insertions(+)