Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840526 - media-libs/tg_owt-0_pre20220209 - /.../module_common_types_public.h: error: uint32_t was not declared in this scope
Summary: media-libs/tg_owt-0_pre20220209 - /.../module_common_types_public.h: error: u...
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: PATCH
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-24 07:06 UTC by Toralf Förster
Modified: 2022-06-27 06:11 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.40 KB, text/plain)
2022-04-24 07:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,133.00 KB, text/plain)
2022-04-24 07:06 UTC, Toralf Förster
Details
environment (environment,92.04 KB, text/plain)
2022-04-24 07:06 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.40 KB, application/x-bzip)
2022-04-24 07:06 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.01 KB, application/x-bzip)
2022-04-24 07:06 UTC, Toralf Förster
Details
media-libs:tg_owt-0_pre20220209:20220423-234114.log.bz2 (media-libs:tg_owt-0_pre20220209:20220423-234114.log.bz2,24.67 KB, application/x-bzip)
2022-04-24 07:06 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,47.28 KB, application/x-bzip)
2022-04-24 07:06 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 2022-04-24 07:06:07 UTC
too long lines were shrinked:

FAILED: CMakeFiles/tg_owt.dir/src/modules/congestion_controller/rtp/transport_feedback_demuxer.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_pre20220209/work/tg_owt-4cba1acdd718b700bb33945c0258283689d4eac7/src/modules/congestion_controller/rtp/transport_feedback_demuxer.h:17,
                 from /var/tmp/portage/media-libs/tg_owt-0_pre20220209/work/tg_owt-4cba1acdd718b700bb33945c0258283689d4eac7/src/modules/congestion_controller/rtp/transport_feedback_demuxer.cc:10:
/var/tmp/portage/media-libs/tg_owt-0_pre20220209/work/tg_owt-4cba1acdd718b700bb33945c0258283689d4eac7/src/modules/include/module_common_types_public.h:43:41: error: uint32_t’ was not declared in this scope
   43 |                     std::numeric_limits<uint32_t>::max(),
      |                                         ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20220422-150005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.0
 [2] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit a46e376aa10758c6e9e2da2f330794220b7f1cef
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 23 22:04:23 2022 +0000

    2022-04-23 22:04:23 UTC

emerge -qpvO media-libs/tg_owt
[ebuild  N    ] media-libs/tg_owt-0_pre20220209  USE="X -screencast"
Comment 1 Toralf Förster gentoo-dev 2022-04-24 07:06:08 UTC
Created attachment 773932 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-24 07:06:09 UTC
Created attachment 773935 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-24 07:06:11 UTC
Created attachment 773938 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-24 07:06:12 UTC
Created attachment 773941 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-24 07:06:12 UTC
Created attachment 773944 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-24 07:06:13 UTC
Created attachment 773947 [details]
media-libs:tg_owt-0_pre20220209:20220423-234114.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-24 07:06:15 UTC
Created attachment 773950 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-11 19:19:35 UTC
Just needs cstdint include.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 03:24:05 UTC
(In reply to Sam James from comment #8)
> Just needs cstdint include.

I guess I'll do it...?
Comment 10 Larry the Git Cow gentoo-dev 2022-06-10 03:31:24 UTC
The bug has been closed via the following commit(s):

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

commit eb9294bd4c3269a98a9573ed2f832001b668a5f4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-10 03:31:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-10 03:31:09 +0000

    media-libs/tg_owt: fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/840526
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/tg_owt-0_pre20220209-gcc-12-cstddef.patch  | 20 ++++++++++++++++++++
 .../files/tg_owt-0_pre20220209-gcc-12-cstdint.patch  | 19 +++++++++++++++++++
 media-libs/tg_owt/tg_owt-0_pre20220209.ebuild        |  2 ++
 3 files changed, 41 insertions(+)
Comment 11 Esteve Varela Colominas 2022-06-10 08:01:59 UTC
Hey, sorry for taking so long with this one. I'm a bit busy as of late and I rely on prefix to test combinations like these, so I was focussing on bugs related to that first...
Thanks a lot for fixing it!
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 08:02:47 UTC
(In reply to Esteve Varela Colominas from comment #11)
> Hey, sorry for taking so long with this one. I'm a bit busy as of late and I
> rely on prefix to test combinations like these, so I was focussing on bugs
> related to that first...
> Thanks a lot for fixing it!

No problem at all! I'm sorry for being a bit grumpy -- just with some of these bugs, I end up screaming into the void a bit :)

I understand and I know you're normally v on top of stuff!