Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895384 - media-libs/tg_owt-0_pre20230105 - /.../base64.h: error: uint8_t was not declared in this scope
Summary: media-libs/tg_owt-0_pre20230105 - /.../base64.h: error: uint8_t was not decla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Esteve Varela Colominas
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-19 11:14 UTC by Toralf Förster
Modified: 2023-04-17 20:16 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.16 KB, text/plain)
2023-02-19 11:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,115.06 KB, text/plain)
2023-02-19 11:14 UTC, Toralf Förster
Details
environment (environment,96.88 KB, text/plain)
2023-02-19 11:14 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,697 bytes, application/x-bzip)
2023-02-19 11:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.78 KB, application/x-bzip)
2023-02-19 11:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.18 KB, application/x-bzip)
2023-02-19 11:14 UTC, Toralf Förster
Details
media-libs:tg_owt-0_pre20230105:20230219-050300.log.bz2 (media-libs:tg_owt-0_pre20230105:20230219-050300.log.bz2,7.86 KB, application/x-bzip)
2023-02-19 11:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.71 KB, application/x-bzip)
2023-02-19 11:14 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 2023-02-19 11:14:48 UTC
too long lines were shrinked:

[175/1376] /usr/bin/x86_64-pc-linux-gnu-g++ -DABSL_ALLOCATOR_NOTHROW=1 -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_NETINET_IN_H -DHAVE_SCTP -DHAVE_WEBRTC_VIDEO -DNO_MAIN_THREAD_WRAPPING -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_VP9 -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENAB
[176/1376] /usr/bin/x86_64-pc-linux-gnu-g++ -DABSL_ALLOCATOR_NOTHROW=1 -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_NETINET_IN_H -DHAVE_SCTP -DHAVE_WEBRTC_VIDEO -DNO_MAIN_THREAD_WRAPPING -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_VP9 -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENAB
[177/1376] /usr/bin/x86_64-pc-linux-gnu-g++ -DABSL_ALLOCATOR_NOTHROW=1 -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_NETINET_IN_H -DHAVE_SCTP -DHAVE_WEBRTC_VIDEO -DNO_MAIN_THREAD_WRAPPING -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_VP9 -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENAB
FAILED: CMakeFiles/tg_owt.dir/src/rtc_base/third_party/base64/base64.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DABSL_ALLOCATOR_NOTHROW=1 -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_NETINET_IN_H -DHAVE_SCTP -DHAVE_WEBRTC_VIDEO -DNO_MAIN_THREAD_WRAPPING -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_VP9 -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF
In file included from /var/tmp/portage/media-libs/tg_owt-0_pre20230105/work/tg_owt-5098730b9eb6173f0b52068fe2555b7c1015123a/src/rtc_base/third_party/base64/base64.cc:17:
/var/tmp/portage/media-libs/tg_owt-0_pre20230105/work/tg_owt-5098730b9eb6173f0b52068fe2555b7c1015123a/src/rtc_base/third_party/base64/base64.h:78:43: error: uint8_t was not declared in this scope
   78 |                               std::vector<uint8_t>* result,
      |                                           ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20230218-040024

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.21.0 [icedtea-8]
2)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit b6239c6b893dfec88cd67f12335356757c4c0493
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 19 04:46:57 2023 +0000

    2023-02-19 04:46:57 UTC

emerge -qpvO media-libs/tg_owt
[ebuild  N    ] media-libs/tg_owt-0_pre20230105  USE="X screencast"
Comment 1 Toralf Förster gentoo-dev 2023-02-19 11:14:49 UTC
Created attachment 852902 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-19 11:14:50 UTC
Created attachment 852904 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-19 11:14:52 UTC
Created attachment 852906 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-19 11:14:52 UTC
Created attachment 852908 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-19 11:14:53 UTC
Created attachment 852910 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-19 11:14:55 UTC
Created attachment 852912 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-19 11:14:56 UTC
Created attachment 852914 [details]
media-libs:tg_owt-0_pre20230105:20230219-050300.log.bz2
Comment 8 Toralf Förster gentoo-dev 2023-02-19 11:14:57 UTC
Created attachment 852916 [details]
temp.tar.bz2
Comment 9 Esteve Varela Colominas 2023-02-19 11:37:44 UTC
That's the most elaborate emerge-info I've seen thus far...
I assume it's gcc upgrade season?
Comment 10 Joonas Niilola gentoo-dev 2023-02-28 17:54:19 UTC
Ideally upstream should have a fix for that already.
Comment 11 Esteve Varela Colominas 2023-02-28 22:41:07 UTC
That's quite wishful for a project that only cares about centos 7
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 22:42:11 UTC
It's trivial anyway. Just chuck in a #include <cstdint>.
Comment 13 Esteve Varela Colominas 2023-02-28 23:10:53 UTC
You're probably right, I just haven't gotten around to building gcc 13 for testing yet. I'll check it out when I'm back home next week.
Comment 14 Larry the Git Cow gentoo-dev 2023-04-17 20:16:11 UTC
The bug has been closed via the following commit(s):

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

commit c37f4475d696ec22a3cbb148c4697c5fb8a5422a
Author:     Esteve Varela Colominas <esteve.varela@gmail.com>
AuthorDate: 2023-04-10 23:28:51 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2023-04-17 20:15:49 +0000

    media-libs/tg_owt: Fix gcc 13 support
    
    Closes: https://bugs.gentoo.org/895384
    Thanks-to: Toralf Förster <toralf@gentoo.org>
    Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 .../tg_owt-0_pre20230105-gcc-13-cstdint.patch      | 22 ++++++++++++++++++++++
 media-libs/tg_owt/tg_owt-0_pre20230105.ebuild      |  4 ++++
 2 files changed, 26 insertions(+)