Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840359 - app-admin/xstow-1.0.2 - string_utils.h: error: no match for operator<< (operand types are std::stringstream {aka std::_cxx11::basi
Summary: app-admin/xstow-1.0.2 - string_utils.h: error: no match for operator<< (opera...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-23 17:39 UTC by Toralf Förster
Modified: 2022-05-07 04:20 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.66 KB, text/plain)
2022-04-23 17:39 UTC, Toralf Förster
Details
app-admin:xstow-1.0.2:20220423-173500.log (app-admin:xstow-1.0.2:20220423-173500.log,38.13 KB, text/plain)
2022-04-23 17:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,138.93 KB, text/plain)
2022-04-23 17:39 UTC, Toralf Förster
Details
environment (environment,71.78 KB, text/plain)
2022-04-23 17:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.59 KB, application/x-bzip)
2022-04-23 17:40 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.79 KB, application/x-bzip)
2022-04-23 17:40 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.36 KB, application/x-bzip)
2022-04-23 17:40 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-23 17:39:53 UTC
                 from setup.cpp:11:
string_utils.h: In instantiation of std::string x2s(T) [with T = std::vector<std::__cxx11::basic_string<char> >; std::string = std::__cxx11::basic_string<char>]’:
setup_config.h:193:106:   required from std::ostream& operator<<(std::ostream&, const Value<T>&) [with T = std::vector<std::__cxx11::basic_string<char> >; std::ostream = std::basic_ostream<char>]’
setup.cpp:318:34:   required from here
string_utils.h:106:7: error: no match for operator<<’ (operand types are std::stringstream’ {aka std::__cxx11::basic_stringstream<char>’} and std::vector<std::__cxx11::basic_string<char> >’)
  106 |   str << what ENDS;
      |   ~~~~^~~~~~~

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

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

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

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
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.60.0
  [2]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

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

  HEAD of ::gentoo
commit 09c8bfb01a70f07c561974eea69216f81debf80c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 23 16:19:25 2022 +0000

    2022-04-23 16:19:25 UTC

emerge -qpvO app-admin/xstow
[ebuild  N    ] app-admin/xstow-1.0.2  USE="ncurses"
Comment 1 Toralf Förster gentoo-dev 2022-04-23 17:39:54 UTC
Created attachment 773660 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-23 17:39:55 UTC
Created attachment 773663 [details]
app-admin:xstow-1.0.2:20220423-173500.log
Comment 3 Toralf Förster gentoo-dev 2022-04-23 17:39:57 UTC
Created attachment 773666 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-23 17:39:58 UTC
Created attachment 773669 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-23 17:40:00 UTC
Created attachment 773672 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-23 17:40:00 UTC
Created attachment 773675 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-23 17:40:02 UTC
Created attachment 773678 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-05-07 04:20:00 UTC
The bug has been closed via the following commit(s):

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

commit 84a47e6543c593e187987df9fc7dd5fa09be8b35
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-07 04:19:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-07 04:19:37 +0000

    app-admin/xstow: update EAPI 7 -> 8; fix build with GCC 12 and Clang
    
    Also dodir -> keepdir, hence revbump.
    
    Closes: https://bugs.gentoo.org/729114
    Closes: https://bugs.gentoo.org/840359
    Signed-off-by: Sam James <sam@gentoo.org>

 .../xstow/files/xstow-1.0.1-gcc12-clang.patch      | 33 +++++++++++++
 app-admin/xstow/xstow-1.0.2-r1.ebuild              | 54 ++++++++++++++++++++++
 2 files changed, 87 insertions(+)