Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 787503

Summary: media-libs/rlottie-0.2 - ../.../vrle.cpp: error: numeric_limits is not a member of std (maybe gcc-11 related)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Joonas Niilola <juippis>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
media-libs:rlottie-0.2:20210501-185116.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-05-01 19:15:47 UTC
../rlottie-0.2/src/vector/vrle.cpp: In member function ‘void VRle::Data::updateBbox() const’:
../rlottie-0.2/src/vector/vrle.cpp:127:32: error: ‘numeric_limits’ is not a member of ‘std’
  127 |     int               l = std::numeric_limits<int>::max();
      |                                ^~~~~~~~~~~~~~
../rlottie-0.2/src/vector/vrle.cpp:127:47: error: expected primary-expression before ‘int’
  127 |     int               l = std::numeric_limits<int>::max();

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210423-202814

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3 *
  [2]   php7.4
  [3]   php8.0

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat May  1 18:35:19 UTC 2021

emerge -qpvO media-libs/rlottie
[ebuild  N    ] media-libs/rlottie-0.2  USE="-debug -examples -test"
Comment 1 Toralf Förster gentoo-dev 2021-05-01 19:15:48 UTC
Created attachment 705024 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-01 19:15:50 UTC
Created attachment 705027 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-01 19:15:52 UTC
Created attachment 705030 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-01 19:15:53 UTC
Created attachment 705033 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-01 19:15:54 UTC
Created attachment 705036 [details]
media-libs:rlottie-0.2:20210501-185116.log
Comment 6 Toralf Förster gentoo-dev 2021-05-01 19:15:55 UTC
Created attachment 705039 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-05-02 06:55:33 UTC
The bug has been closed via the following commit(s):

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

commit 382a860b36e142b991954d1ea4a3cc3b920b3fb6
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2021-05-02 06:54:38 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-05-02 06:54:38 +0000

    media-libs/rlottie: add a snapshot build for 0.2 to fix gcc-11 compat
    
    Closes: https://bugs.gentoo.org/787503
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-libs/rlottie/Manifest                     |  1 +
 media-libs/rlottie/rlottie-0.2_p20210405.ebuild | 45 +++++++++++++++++++++++++
 2 files changed, 46 insertions(+)