Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 788331

Summary: sci-biology/mosaik-2.2.30 - MruCache.h: error: reference to unordered_map is ambiguous
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Biology related packages <sci-biology>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=791784
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
sci-biology:mosaik-2.2.30:20210505-111143.log

Description Toralf Förster gentoo-dev 2021-05-05 12:45:12 UTC
In file included from JumpDnaHash.h:23,
                 from JumpDnaHash.cpp:13:
MruCache.h:43:9: error: reference to ‘unordered_map’ is ambiguous
   43 |         unordered_map<K, LinkedListNode<K,V>*> mMruMap;
      |         ^~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/tr1/unordered_map:42,
                 from UnorderedMap.h:48,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210423-202814

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [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.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3 *
  [2]   php7.4
  [3]   php8.0

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed May  5 10:35:11 UTC 2021

emerge -qpvO sci-biology/mosaik
[ebuild  N    ] sci-biology/mosaik-2.2.30
Comment 1 Toralf Förster gentoo-dev 2021-05-05 12:45:13 UTC
Created attachment 706167 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-05 12:45:15 UTC
Created attachment 706170 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-05 12:45:16 UTC
Created attachment 706173 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-05 12:45:17 UTC
Created attachment 706176 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-05 12:45:19 UTC
Created attachment 706179 [details]
sci-biology:mosaik-2.2.30:20210505-111143.log
Comment 6 David Seifert gentoo-dev 2021-07-25 22:04:36 UTC
*** Bug 791784 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2021-07-25 23:06:49 UTC
The bug has been closed via the following commit(s):

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

commit 60b0fd58e2765499b9d2a83c3293b7021b05908c
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-07-25 23:06:31 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-07-25 23:06:31 +0000

    sci-biology/mosaik: Fix GCC 11 build
    
    Closes: https://bugs.gentoo.org/788331
    Signed-off-by: David Seifert <soap@gentoo.org>

 sci-biology/mosaik/files/mosaik-2.2.30-gcc11.patch | 60 ++++++++++++++++++++++
 sci-biology/mosaik/mosaik-2.2.30.ebuild            |  8 +--
 2 files changed, 64 insertions(+), 4 deletions(-)