Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786297 - sci-biology/uchime-4.2.40 - /.../myutils.h: error: reference to byte is ambiguous
Summary: sci-biology/uchime-4.2.40 - /.../myutils.h: error: reference to byte is ambig...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-28 07:16 UTC by Toralf Förster
Modified: 2021-06-15 02:35 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.92 KB, text/plain)
2021-04-28 07:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,287.24 KB, text/plain)
2021-04-28 07:16 UTC, Toralf Förster
Details
environment (environment,90.12 KB, text/plain)
2021-04-28 07:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.44 KB, application/x-bzip)
2021-04-28 07:16 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.56 KB, application/x-bzip)
2021-04-28 07:16 UTC, Toralf Förster
Details
sci-biology:uchime-4.2.40:20210428-064758.log (sci-biology:uchime-4.2.40:20210428-064758.log,17.96 KB, text/plain)
2021-04-28 07:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.00 KB, application/x-bzip)
2021-04-28 07:16 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-28 07:16:24 UTC
/usr/bin/x86_64-pc-linux-gnu-g++    -pipe -march=native -fno-diagnostics-color  -O2 -D_FILE_OFFSET_BITS=64 -DUCHIMES=1 -MD -MT CMakeFiles/uchime.dir/addtargets2.cpp.o -MF CMakeFiles/uchime.dir/addtargets2.cpp.o.d -o CMakeFiles/uchime.dir/addtargets2.cpp.o -c /var/tmp/portage/sci-biology/uchime-4.2.40/work/uchime4.2.40_src/addtargets2.cpp
In file included from /var/tmp/portage/sci-biology/uchime-4.2.40/work/uchime4.2.40_src/addtargets2.cpp:3:
/var/tmp/portage/sci-biology/uchime-4.2.40/work/uchime4.2.40_src/myutils.h:176:1: error: reference to ‘byte’ is ambiguous
  176 | byte *ReadAllStdioFile(FILE *f, off_t &FileSize);
      | ^~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39,

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.0
 [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 Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr 28 06:35:39 UTC 2021

emerge -qpvO sci-biology/uchime
[ebuild  N    ] sci-biology/uchime-4.2.40  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2021-04-28 07:16:25 UTC
Created attachment 703119 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-28 07:16:26 UTC
Created attachment 703122 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-28 07:16:28 UTC
Created attachment 703125 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-28 07:16:29 UTC
Created attachment 703128 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-28 07:16:30 UTC
Created attachment 703131 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-28 07:16:31 UTC
Created attachment 703134 [details]
sci-biology:uchime-4.2.40:20210428-064758.log
Comment 7 Toralf Förster gentoo-dev 2021-04-28 07:16:32 UTC
Created attachment 703137 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-06-15 02:35:57 UTC
The bug has been closed via the following commit(s):

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

commit 9bb2017d31f4467386be5262aa036ecf5dabf97a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-15 02:35:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-15 02:35:24 +0000

    sci-biology/uchime: workaround failure with GCC 11
    
    Force C++14 for now because we don't really want a large patch for
    typedefs.
    
    Closes: https://bugs.gentoo.org/786297
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-biology/uchime/uchime-4.2.40.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)