Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895560 - dev-libs/rapidjson-1.1.0-r3 - /.../gtest-internal.h: error: it was not declared in this scope
Summary: dev-libs/rapidjson-1.1.0-r3 - /.../gtest-internal.h: error: it was not declar...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-20 17:22 UTC by Toralf Förster
Modified: 2024-03-25 07:02 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.58 KB, text/plain)
2023-02-20 17:22 UTC, Toralf Förster
Details
dev-libs:rapidjson-1.1.0-r3:20230219-214457.log (dev-libs:rapidjson-1.1.0-r3:20230219-214457.log,45.28 KB, text/plain)
2023-02-20 17:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,120.98 KB, text/plain)
2023-02-20 17:22 UTC, Toralf Förster
Details
environment (environment,97.42 KB, text/plain)
2023-02-20 17:22 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,711 bytes, application/x-bzip)
2023-02-20 17:22 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,32.44 KB, application/x-bzip)
2023-02-20 17:22 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.00 KB, application/x-bzip)
2023-02-20 17:22 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.53 KB, application/x-bzip)
2023-02-20 17:22 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-20 17:22:14 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 541021b509ffb54f2e0ebec9fcb4fcd949dd50bb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 19 20:46:58 2023 +0000

    2023-02-19 20:46:57 UTC

emerge -qpvO dev-libs/rapidjson
[ebuild  N    ] dev-libs/rapidjson-1.1.0-r3  USE="test -doc -examples"
Comment 1 Toralf Förster gentoo-dev 2023-02-20 17:22:15 UTC
Created attachment 853220 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-20 17:22:17 UTC
Created attachment 853222 [details]
dev-libs:rapidjson-1.1.0-r3:20230219-214457.log
Comment 3 Toralf Förster gentoo-dev 2023-02-20 17:22:18 UTC
Created attachment 853224 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-02-20 17:22:19 UTC
Created attachment 853226 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-02-20 17:22:20 UTC
Created attachment 853228 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-20 17:22:21 UTC
Created attachment 853230 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-20 17:22:22 UTC
Created attachment 853232 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-02-20 17:22:23 UTC
Created attachment 853234 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-30 06:37:39 UTC
ping, this should be a trivial missing include. please take a look & send the patch upstream as well for other distros
Comment 10 jy6x2b32pie9 2024-03-25 07:02:53 UTC
Bug most likely fixed upstream.

Upstream has regular code churn, but had not had a new release in 8 years. 

We need to pick a date, make a code snapshot and stick to it for this bug to be fixed.