Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895476 - app-arch/snappy-1.1.9-r1 - /.../gtest-internal.h: error: it was not declared in this scope
Summary: app-arch/snappy-1.1.9-r1 - /.../gtest-internal.h: error: it was not declared ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Azamat H. Hackimov
URL:
Whiteboard:
Keywords:
Depends on: 895190
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-19 20:46 UTC by Toralf Förster
Modified: 2023-02-22 17:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.63 KB, text/plain)
2023-02-19 20:46 UTC, Toralf Förster
Details
app-arch:snappy-1.1.9-r1:20230219-203630.log (app-arch:snappy-1.1.9-r1:20230219-203630.log,16.56 KB, text/plain)
2023-02-19 20:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,115.91 KB, text/plain)
2023-02-19 20:46 UTC, Toralf Förster
Details
environment (environment,109.76 KB, text/plain)
2023-02-19 20:46 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,711 bytes, application/x-bzip)
2023-02-19 20:46 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,32.42 KB, application/x-bzip)
2023-02-19 20:46 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.54 KB, application/x-bzip)
2023-02-19 20:46 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.84 KB, application/x-bzip)
2023-02-19 20:46 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 2023-02-19 20:46:32 UTC
  619 |     return registered_tests_.count(test_name) > 0;
      |                              ^~~~~
/usr/include/gtest/internal/gtest-internal.h: In member function const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const std::string&) const:
/usr/include/gtest/internal/gtest-internal.h:623:40: error: qualified-id in declaration before it
  623 |     RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
      |                                        ^~
/usr/include/gtest/internal/gtest-internal.h:624:5: error: it was not declared in this scope; did you mean int?
  624 |     GTEST_CHECK_(it != registered_tests_.end());
      |     ^~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4_test-20230218-170028

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit 651d1b16315be265cba61f50daa0210cc48e469e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 19 20:02:02 2023 +0000

    2023-02-19 20:02:01 UTC

emerge -qpvO app-arch/snappy
[ebuild  N    ] app-arch/snappy-1.1.9-r1  USE="test"
Comment 1 Toralf Förster gentoo-dev 2023-02-19 20:46:33 UTC
Created attachment 853124 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-19 20:46:34 UTC
Created attachment 853126 [details]
app-arch:snappy-1.1.9-r1:20230219-203630.log
Comment 3 Toralf Förster gentoo-dev 2023-02-19 20:46:35 UTC
Created attachment 853128 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-02-19 20:46:37 UTC
Created attachment 853130 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-02-19 20:46:37 UTC
Created attachment 853132 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-19 20:46:39 UTC
Created attachment 853134 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-19 20:46:40 UTC
Created attachment 853136 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-02-19 20:46:41 UTC
Created attachment 853138 [details]
temp.tar.bz2
Comment 9 Azamat H. Hackimov 2023-02-21 14:20:59 UTC
I believe https://github.com/gentoo/gentoo/pull/29653 should fix it.