Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786657 - app-text/cuneiform-1.1.0-r3 - /.../limits: error: redefinition of struct std::numeric_limits<short int> (maybe gcc-11 related)
Summary: app-text/cuneiform-1.1.0-r3 - /.../limits: error: redefinition of struct std:...
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-11
  Show dependency tree
 
Reported: 2021-04-29 07:13 UTC by Toralf Förster
Modified: 2021-05-23 08:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.03 KB, text/plain)
2021-04-29 07:13 UTC, Toralf Förster
Details
app-text:cuneiform-1.1.0-r3:20210428-195037.log (app-text:cuneiform-1.1.0-r3:20210428-195037.log,481.33 KB, text/plain)
2021-04-29 07:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,290.02 KB, text/plain)
2021-04-29 07:13 UTC, Toralf Förster
Details
environment (environment,92.13 KB, text/plain)
2021-04-29 07:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.83 KB, application/x-bzip)
2021-04-29 07:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.92 KB, application/x-bzip)
2021-04-29 07:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,34.12 KB, application/x-bzip)
2021-04-29 07:13 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 07:13:21 UTC
                 from /var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/hh/internal.h:87,
                 from /var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/std/src/std.cpp:59:
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/limits:920:12: error: redefinition of ‘struct std::numeric_limits<short int>’
  920 |     struct numeric_limits<short>
      |            ^~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/limits:663:12: note: previous definition of ‘struct std::numeric_limits<short int>’
  663 |     struct numeric_limits<wchar_t>

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20210421-084009

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-10.3.0
 [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:
*)	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	Wed Apr 28 19:20:13 UTC 2021

emerge -qpvO app-text/cuneiform
[ebuild  N    ] app-text/cuneiform-1.1.0-r3  USE="-debug -graphicsmagick"
Comment 1 Toralf Förster gentoo-dev 2021-04-29 07:13:22 UTC
Created attachment 703548 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-29 07:13:24 UTC
Created attachment 703551 [details]
app-text:cuneiform-1.1.0-r3:20210428-195037.log
Comment 3 Toralf Förster gentoo-dev 2021-04-29 07:13:26 UTC
Created attachment 703554 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-29 07:13:27 UTC
Created attachment 703557 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-29 07:13:29 UTC
Created attachment 703560 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-29 07:13:30 UTC
Created attachment 703563 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-29 07:13:31 UTC
Created attachment 703566 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-05-23 08:32:58 UTC
The bug has been closed via the following commit(s):

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

commit fd8e596c6a5eab634656e265c3da5241f5ceee8c
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2021-05-23 08:14:00 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2021-05-23 08:32:43 +0000

    app-text/cuneiform: Fix build with g++-11
    
    Closes: https://bugs.gentoo.org/786657
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 app-text/cuneiform/cuneiform-1.1.0-r3.ebuild       |  1 +
 .../cuneiform/files/cuneiform-1.1.0-gcc11.patch    | 30 ++++++++++++++++++++++
 2 files changed, 31 insertions(+)