Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786906 - x11-terms/zutty-0.8 - ../.../font.cc: error: numeric_limits is not a member of std (maybe gcc-11 related)
Summary: x11-terms/zutty-0.8 - ../.../font.cc: error: numeric_limits is not a member o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Smith
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-29 18:00 UTC by Toralf Förster
Modified: 2021-05-18 13:31 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.90 KB, text/plain)
2021-04-29 18:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,441.98 KB, text/plain)
2021-04-29 18:00 UTC, Toralf Förster
Details
environment (environment,89.32 KB, text/plain)
2021-04-29 18:00 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,45.72 KB, application/x-bzip)
2021-04-29 18:00 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.32 KB, application/x-bzip)
2021-04-29 18:00 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.68 KB, application/x-bzip)
2021-04-29 18:00 UTC, Toralf Förster
Details
x11-terms:zutty-0.8:20210429-174153.log (x11-terms:zutty-0.8:20210429-174153.log,8.09 KB, text/plain)
2021-04-29 18:00 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 2021-04-29 18:00:30 UTC
19:42:04 runner ['x86_64-pc-linux-gnu-g++', '-pipe', '-march=native', '-fno-diagnostics-color', '-Og', '-g', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.8"', '-DLINUX', '-Werror', '-O3', '-march=native', '-mtune=native', '-flto', '-I/usr/include/freetype2', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/font.cc', '-c', '-o/var/tmp/portage/x11-terms/zutty-0.8/work/zutty-0.8/build/src/font.cc.1.o']
../src/font.cc: In member function ‘void zutty::Font::loadFixed(FT_FaceRec_* const&)’:
../src/font.cc:146:33: error: ‘numeric_limits’ is not a member of ‘std’
  146 |       int bestHeightDiff = std::numeric_limits<int>::max ();
      |                                 ^~~~~~~~~~~~~~
../src/font.cc:146:48: error: expected primary-expression before ‘int’
  146 |       int bestHeightDiff = std::numeric_limits<int>::max ();

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

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

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

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 following VMs are available for generation-2:
1)	IcedTea JDK 3.18.0 [icedtea-8]
2)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   jamvm 
  [3]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr 29 17:20:15 UTC 2021

emerge -qpvO x11-terms/zutty
[ebuild  N    ] x11-terms/zutty-0.8
Comment 1 Toralf Förster gentoo-dev 2021-04-29 18:00:32 UTC
Created attachment 704019 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-29 18:00:33 UTC
Created attachment 704022 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-29 18:00:35 UTC
Created attachment 704025 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-29 18:00:36 UTC
Created attachment 704028 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-29 18:00:37 UTC
Created attachment 704031 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-29 18:00:39 UTC
Created attachment 704034 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-29 18:00:40 UTC
Created attachment 704037 [details]
x11-terms:zutty-0.8:20210429-174153.log
Comment 8 Larry the Git Cow gentoo-dev 2021-05-18 13:31:30 UTC
The bug has been closed via the following commit(s):

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

commit 97eb5cc4fa6fddcabdc36aae25c74f53a6d371b3
Author:     Matt Smith <matt@offtopica.uk>
AuthorDate: 2021-04-29 18:39:55 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-05-18 13:31:23 +0000

    x11-terms/zutty: Fix build with gcc 11
    
    Closes: https://bugs.gentoo.org/786906
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Matt Smith <matt@offtopica.uk>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 x11-terms/zutty/files/zutty-0.8-gcc11.patch | 24 ++++++++++++++++++++++++
 x11-terms/zutty/zutty-0.8.ebuild            |  2 ++
 2 files changed, 26 insertions(+)