Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787848 - x11-wm/herbstluftwm-0.9.2 - /.../floating.cpp: error: numeric_limits is not a member of std (maybe gcc-11 related)
Summary: x11-wm/herbstluftwm-0.9.2 - /.../floating.cpp: error: numeric_limits is not a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-03 07:21 UTC by Toralf Förster
Modified: 2021-06-05 21:28 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.20 KB, text/plain)
2021-05-03 07:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,482.55 KB, text/plain)
2021-05-03 07:21 UTC, Toralf Förster
Details
environment (environment,147.90 KB, text/plain)
2021-05-03 07:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.59 KB, application/x-bzip)
2021-05-03 07:21 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.55 KB, application/x-bzip)
2021-05-03 07:21 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,36.09 KB, application/x-bzip)
2021-05-03 07:21 UTC, Toralf Förster
Details
x11-wm:herbstluftwm-0.9.2:20210503-045631.log (x11-wm:herbstluftwm-0.9.2:20210503-045631.log,34.16 KB, text/plain)
2021-05-03 07:21 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-05-03 07:21:50 UTC
/usr/bin/x86_64-pc-linux-gnu-g++  -isystem /usr/include/freetype2 -isystem /usr/include/uuid  -pipe -march=native -fno-diagnostics-color  -O2 -std=gnu++11 -MD -MT src/CMakeFiles/herbstluftwm.dir/floating.cpp.o -MF src/CMakeFiles/herbstluftwm.dir/floating.cpp.o.d -o src/CMakeFiles/herbstluftwm.dir/floating.cpp.o -c /var/tmp/portage/x11-wm/herbstluftwm-0.9.2/work/herbstluftwm-0.9.2/src/floating.cpp
/var/tmp/portage/x11-wm/herbstluftwm-0.9.2/work/herbstluftwm-0.9.2/src/floating.cpp: In static member function ‘static Point2D Floating::smartPlacement(HSTag*, Client*, Point2D, int)’:
/var/tmp/portage/x11-wm/herbstluftwm-0.9.2/work/herbstluftwm-0.9.2/src/floating.cpp:502:14: error: ‘numeric_limits’ is not a member of ‘std’
  502 |         std::numeric_limits<int>::max(),
      |              ^~~~~~~~~~~~~~
/var/tmp/portage/x11-wm/herbstluftwm-0.9.2/work/herbstluftwm-0.9.2/src/floating.cpp:502:29: error: expected primary-expression before ‘int’
  502 |         std::numeric_limits<int>::max(),

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210419-131016

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] 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
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

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	Mon May  3 00:50:21 UTC 2021

emerge -qpvO x11-wm/herbstluftwm
[ebuild  N    ] x11-wm/herbstluftwm-0.9.2  USE="-doc -examples -python" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-05-03 07:21:51 UTC
Created attachment 705567 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-03 07:21:53 UTC
Created attachment 705570 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-03 07:21:55 UTC
Created attachment 705573 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-03 07:21:56 UTC
Created attachment 705576 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-03 07:21:57 UTC
Created attachment 705579 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-03 07:21:58 UTC
Created attachment 705582 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-03 07:21:59 UTC
Created attachment 705585 [details]
x11-wm:herbstluftwm-0.9.2:20210503-045631.log
Comment 8 Florian Schmaus gentoo-dev 2021-05-03 09:53:05 UTC
Confirmed by upstream, they are working on a fix in https://github.com/herbstluftwm/herbstluftwm/pull/1305
Comment 9 Larry the Git Cow gentoo-dev 2021-06-05 21:28:44 UTC
The bug has been closed via the following commit(s):

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

commit 7bcb4761570bdf9fa59d97fa3c05dab45b06f5fb
Author:     Florian Schmaus <flo@geekplace.eu>
AuthorDate: 2021-05-08 08:18:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-05 21:26:56 +0000

    x11-wm/herbstluftwm: add 0.9.3, drop 0.9.2
    
    This also drops the 'examples' USE flag, as the examples are to small
    to justify their own USE flag. Furthermore, app-text/asciidoc is only
    needed when building from git, as the release tarballs of herbstluftwm
    contain precompiled HTML files.
    
    Closes: https://bugs.gentoo.org/787848
    Signed-off-by: Florian Schmaus <flo@geekplace.eu>
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-wm/herbstluftwm/Manifest                       |  2 +-
 ...ftwm-0.9.2.ebuild => herbstluftwm-0.9.3.ebuild} | 28 ++++++++++++++++++----
 2 files changed, 25 insertions(+), 5 deletions(-)