Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894992 - net-libs/google-cloud-cpp-1.36.0 - /.../iam_policy.h: error: const struct google::cloud::v1_36_0::IamPolicy has no member named ve
Summary: net-libs/google-cloud-cpp-1.36.0 - /.../iam_policy.h: error: const struct goo...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords: PATCH
: 900098 (view as bug list)
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-16 20:54 UTC by Toralf Förster
Modified: 2023-10-31 22:32 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.65 KB, text/plain)
2023-02-16 20:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,87.70 KB, text/plain)
2023-02-16 20:54 UTC, Toralf Förster
Details
environment (environment,95.03 KB, text/plain)
2023-02-16 20:54 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,39.63 KB, application/x-bzip)
2023-02-16 20:54 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.30 KB, application/x-bzip)
2023-02-16 20:54 UTC, Toralf Förster
Details
net-libs:google-cloud-cpp-1.36.0:20230216-203448.log (net-libs:google-cloud-cpp-1.36.0:20230216-203448.log,19.96 KB, text/plain)
2023-02-16 20:54 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.78 KB, application/x-bzip)
2023-02-16 20:54 UTC, Toralf Förster
Details
include patch (google-cloud-cpp-1.36.0_include_cstdint.patch,292 bytes, patch)
2023-08-26 21:45 UTC, Graziano Panzera
Details | Diff
sources patch (google-cloud-cpp-1.36.0_include_cstdint.patch,3.88 KB, patch)
2023-08-26 23:17 UTC, Graziano Panzera
Details | Diff
build file loading the patch (google-cloud-cpp-1.36.0.ebuild,1.45 KB, application/vnd.gentoo.ebuild)
2023-08-26 23:17 UTC, Graziano Panzera
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-16 20:54:18 UTC
too long lines were shrinked:

/usr/bin/x86_64-pc-linux-gnu-g++ -Dgoogle_cloud_cpp_common_EXPORTS -I/var/tmp/portage/net-libs/google-cloud-cpp-1.36.0/work/google-cloud-cpp-1.36.0 -isystem /var/tmp/portage/net-libs/google-cloud-cpp-1.36.0/work/google-cloud-cpp-1.36.0_build  -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX
In file included from /var/tmp/portage/net-libs/google-cloud-cpp-1.36.0/work/google-cloud-cpp-1.36.0/google/cloud/iam_policy.cc:15:
/var/tmp/portage/net-libs/google-cloud-cpp-1.36.0/work/google-cloud-cpp-1.36.0/google/cloud/iam_policy.h:39:8: error: int32_t in namespace std does not name a type
   39 |   std::int32_t version;
      |        ^~~~~~~
/var/tmp/portage/net-libs/google-cloud-cpp-1.36.0/work/google-cloud-cpp-1.36.0/google/cloud/iam_policy.h: In function bool google::cloud::v1_36_0::operator==(const IamPolicy&, const IamPolicy&):
/var/tmp/portage/net-libs/google-cloud-cpp-1.36.0/work/google-cloud-cpp-1.36.0/google/cloud/iam_policy.h:45:23: error: const struct google::cloud::v1_36_0::IamPolicy has no member named version
   45 |   return std::tie(lhs.version, lhs.bindings, lhs.etag) ==
      |                       ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20230216-050018

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 58abb44604e42bdde860c35f6bd826d8ddbb9261
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Feb 16 19:31:54 2023 +0000

    2023-02-16 19:31:54 UTC

emerge -qpvO net-libs/google-cloud-cpp
[ebuild  N    ] net-libs/google-cloud-cpp-1.36.0  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2023-02-16 20:54:19 UTC
Created attachment 851896 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-16 20:54:20 UTC
Created attachment 851898 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-16 20:54:22 UTC
Created attachment 851900 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-16 20:54:23 UTC
Created attachment 851902 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-16 20:54:24 UTC
Created attachment 851904 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-16 20:54:25 UTC
Created attachment 851906 [details]
net-libs:google-cloud-cpp-1.36.0:20230216-203448.log
Comment 7 Toralf Förster gentoo-dev 2023-02-16 20:54:26 UTC
Created attachment 851908 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-19 03:12:25 UTC
*** Bug 900098 has been marked as a duplicate of this bug. ***
Comment 9 Graziano Panzera 2023-08-26 21:45:15 UTC
Created attachment 868786 [details, diff]
include patch

This patch fixed the first error with GCC13, but it than breaks later at:
`/var/tmp/portage/net-libs/google-cloud-cpp-1.36.0/work/google-cloud-cpp-1.36.0_build/external/googleapis/google/storage/v2/storage.pb.h:13056:46: note: at offset 80 into destination object ‘google::storage::v2::Bucket::Impl_::lifecycle_’ of size 8`.
Looking into this second error.
Comment 10 Graziano Panzera 2023-08-26 23:17:20 UTC
Created attachment 868787 [details, diff]
sources patch
Comment 11 Graziano Panzera 2023-08-26 23:17:45 UTC
Created attachment 868788 [details]
build file loading the patch
Comment 12 Graziano Panzera 2023-08-26 23:18:44 UTC
Ok, there was a lot more placed that needed the include, with this patch it works for me :)