Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787611 - dev-libs/cxxtools-3.0 - /.../string_view: error: static assertion failed
Summary: dev-libs/cxxtools-3.0 - /.../string_view: error: static assertion failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-02 08:52 UTC by Toralf Förster
Modified: 2021-09-20 17:39 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.08 KB, text/plain)
2021-05-02 08:52 UTC, Toralf Förster
Details
dev-libs:cxxtools-3.0:20210501-225212.log (dev-libs:cxxtools-3.0:20210501-225212.log,63.93 KB, text/plain)
2021-05-02 08:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,189.46 KB, text/plain)
2021-05-02 08:52 UTC, Toralf Förster
Details
environment (environment,19.61 KB, text/plain)
2021-05-02 08:52 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.02 KB, application/x-bzip)
2021-05-02 08:52 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.09 KB, application/x-bzip)
2021-05-02 08:52 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,11.93 KB, application/x-bzip)
2021-05-02 08:52 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-02 08:52:13 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string_view: In instantiation of ‘class std::basic_string_view<cxxtools::Char, std::char_traits<cxxtools::Char> >’:
settingswriter.cpp:42:26:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string_view:102:21: error: static assertion failed
  102 |       static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>);
      |                     ^~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string_view:102:21: note: ‘std::is_trivial_v<cxxtools::Char>’ evaluates to false
make[2]: *** [Makefile:920: settingswriter.lo] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20210427-181545

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

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

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

emerge -qpvO dev-libs/cxxtools
[ebuild  N    ] dev-libs/cxxtools-3.0
Comment 1 Toralf Förster gentoo-dev 2021-05-02 08:52:14 UTC
Created attachment 705156 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-02 08:52:16 UTC
Created attachment 705159 [details]
dev-libs:cxxtools-3.0:20210501-225212.log
Comment 3 Toralf Förster gentoo-dev 2021-05-02 08:52:17 UTC
Created attachment 705162 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-02 08:52:18 UTC
Created attachment 705165 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-02 08:52:20 UTC
Created attachment 705168 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-02 08:52:21 UTC
Created attachment 705171 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-02 08:52:22 UTC
Created attachment 705174 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-05-09 19:17:45 UTC
The bug has been closed via the following commit(s):

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

commit 8f22de4eac8e79af8be65960861ac489fefbcaf4
Author:     Joerg Bornkessel <hd_brummy@gentoo.org>
AuthorDate: 2021-05-09 19:17:22 +0000
Commit:     Joerg Bornkessel <hd_brummy@gentoo.org>
CommitDate: 2021-05-09 19:17:22 +0000

    dev-libs/cxxtools: compile fix gcc-11
    
    Closes: https://bugs.gentoo.org/787611
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>

 dev-libs/cxxtools/cxxtools-3.0-r1.ebuild         | 36 ++++++++++++++++++++++++
 dev-libs/cxxtools/files/cxxtools-3.0_gcc11.patch | 23 +++++++++++++++
 2 files changed, 59 insertions(+)