Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933863 - x11-misc/slop-7.6-r1 - [icu-75.1] /.../stringpiece.h: error: enable_if_t in namespace std does not name a template type
Summary: x11-misc/slop-7.6-r1 - [icu-75.1] /.../stringpiece.h: error: enable_if_t in n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: NRK
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: icu-75
  Show dependency tree
 
Reported: 2024-06-09 08:36 UTC by Toralf Förster
Modified: 2024-10-07 03:27 UTC (History)
9 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.95 KB, text/plain)
2024-06-09 08:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.71 KB, text/plain)
2024-06-09 08:36 UTC, Toralf Förster
Details
environment (environment,98.48 KB, text/plain)
2024-06-09 08:36 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-06-09 08:36 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.64 KB, application/x-xz)
2024-06-09 08:36 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,124.22 KB, text/plain)
2024-06-09 08:36 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.84 KB, application/x-xz)
2024-06-09 08:36 UTC, Toralf Förster
Details
x11-misc:slop-7.6-r1:20240609-082716.log (x11-misc:slop-7.6-r1:20240609-082716.log,10.83 KB, text/plain)
2024-06-09 08:36 UTC, Toralf Förster
Details
icu-75.1-cxx17.patch (icu-75.1-cxx17.patch,839 bytes, patch)
2024-08-09 07:14 UTC, Johannes Huber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-06-09 08:36:46 UTC
too long lines were shrinked:

[11/12] /usr/bin/x86_64-pc-linux-gnu-g++ -DCXXOPTS_USE_UNICODE -DSLOP_VERSION=\"v7.6\" -I/var/tmp/portage/x11-misc/slop-7.6-r1/work/slop-7.6_build  -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -fno-diagnostics-color -MD -MT CMakeFiles/slop.dir/src/main.cpp.o -MF CMakeFiles/slop.dir/src/
FAILED: CMakeFiles/slop.dir/src/main.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DCXXOPTS_USE_UNICODE -DSLOP_VERSION=\"v7.6\" -I/var/tmp/portage/x11-misc/slop-7.6-r1/work/slop-7.6_build  -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -fno-diagnostics-color -MD -MT CMakeFiles/slop.dir/src/main.cpp.o -MF CMakeFiles/slop.dir/src/main.cpp
In file included from /usr/include/unicode/unistr.h:39,
                 from /var/tmp/portage/x11-misc/slop-7.6-r1/work/slop-7.6/src/cxxopts.hpp:51,
                 from /var/tmp/portage/x11-misc/slop-7.6-r1/work/slop-7.6/src/main.cpp:28:
/usr/include/unicode/stringpiece.h:133:29: error: enable_if_t in namespace std does not name a template type
  133 |             typename = std::enable_if_t<
      |                             ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20240608-082504

  UNMASKED:
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.7
Python 3.12.4
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit e4b1f616d35db145377d74e34783e98c70ae8693
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jun 9 07:04:11 2024 +0000

    2024-06-09 07:04:09 UTC

emerge -qpvO x11-misc/slop
[ebuild  N    ] x11-misc/slop-7.6-r1  USE="icu -opengl"
Comment 1 Toralf Förster gentoo-dev 2024-06-09 08:36:46 UTC
Created attachment 895449 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-09 08:36:48 UTC
Created attachment 895450 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-06-09 08:36:49 UTC
Created attachment 895451 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-09 08:36:50 UTC
Created attachment 895452 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-09 08:36:50 UTC
Created attachment 895453 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-09 08:36:52 UTC
Created attachment 895454 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-06-09 08:36:53 UTC
Created attachment 895455 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-06-09 08:36:54 UTC
Created attachment 895456 [details]
x11-misc:slop-7.6-r1:20240609-082716.log
Comment 9 NRK 2024-06-09 10:02:15 UTC
Bug reported upstream: https://github.com/naelstrof/slop/issues/172
Comment 10 Johannes Huber 2024-08-09 07:14:48 UTC
Created attachment 899656 [details, diff]
icu-75.1-cxx17.patch

Builds fine by increasing the c++ standard in the cmake build file.
Comment 11 Larry the Git Cow gentoo-dev 2024-10-07 03:27:55 UTC
The bug has been closed via the following commit(s):

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

commit dfe1b1aab8e4ac6baf473ef0dc8a38c0ec813b67
Author:     NRK <nrk@disroot.org>
AuthorDate: 2024-09-20 21:16:54 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-10-07 03:23:56 +0000

    x11-misc/slop: fix build failure with newer icu
    
    Closes: https://bugs.gentoo.org/933863
    Signed-off-by: NRK <nrk@disroot.org>
    Closes: https://github.com/gentoo/gentoo/pull/37235
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 x11-misc/slop/files/icu-75.1-cxx17.patch | 21 +++++++++++++++++++++
 x11-misc/slop/slop-7.6-r1.ebuild         |  7 ++++++-
 2 files changed, 27 insertions(+), 1 deletion(-)