Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684028 - dev-libs/protobuf-c-1.3.1[test] with dev-libs/protobuf 3.7.*: t/generated-code2/cxx-generate-packed-data.cc:1001:36: error: Reflection in class google::protobuf::Message does not name a type
Summary: dev-libs/protobuf-c-1.3.1[test] with dev-libs/protobuf 3.7.*: t/generated-cod...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL: https://github.com/protobuf-c/protobu...
Whiteboard:
Keywords:
Depends on:
Blocks: protobuf-3.7
  Show dependency tree
 
Reported: 2019-04-21 19:30 UTC by Toralf Förster
Modified: 2019-05-05 19:05 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.34 KB, text/plain)
2019-04-21 19:30 UTC, Toralf Förster
Details
dev-libs:protobuf-c-1.3.1:20190420-031644.log (dev-libs:protobuf-c-1.3.1:20190420-031644.log,22.73 KB, text/plain)
2019-04-21 19:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,126.08 KB, text/plain)
2019-04-21 19:30 UTC, Toralf Förster
Details
environment (environment,77.92 KB, text/plain)
2019-04-21 19:30 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.37 KB, application/x-bzip)
2019-04-21 19:30 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.99 KB, application/x-bzip)
2019-04-21 19:30 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.26 KB, application/x-bzip)
2019-04-21 19:30 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 2019-04-21 19:30:12 UTC
/var/tmp/portage/dev-libs/protobuf-c-1.3.1/work/protobuf-c-1.3.1/t/generated-code2/cxx-generate-packed-data.cc: In function ‘void dump_test_unknown_fields()’:
/var/tmp/portage/dev-libs/protobuf-c-1.3.1/work/protobuf-c-1.3.1/t/generated-code2/cxx-generate-packed-data.cc:1001:36: error: ‘Reflection’ in ‘class google::protobuf::Message’ does not name a type
   const google::protobuf::Message::Reflection *reflection = mess.GetReflection();
                                    ^~~~~~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.3.1/work/protobuf-c-1.3.1/t/generated-code2/cxx-generate-packed-data.cc:1002:43: error: ‘reflection’ was not declared in this scope

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_libressl-test_20190417-081848

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





emerge -qpvO dev-libs/protobuf-c
[ebuild  N    ] dev-libs/protobuf-c-1.3.1  USE="test -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-04-21 19:30:15 UTC
Created attachment 573562 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-21 19:30:18 UTC
Created attachment 573564 [details]
dev-libs:protobuf-c-1.3.1:20190420-031644.log
Comment 3 Toralf Förster gentoo-dev 2019-04-21 19:30:21 UTC
Created attachment 573566 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-04-21 19:30:23 UTC
Created attachment 573568 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-04-21 19:30:26 UTC
Created attachment 573570 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-21 19:30:29 UTC
Created attachment 573572 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-04-21 19:30:31 UTC
Created attachment 573574 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-05-05 19:05:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a06dba99f561c4413c4dca9bfad0ff53b26467

commit 46a06dba99f561c4413c4dca9bfad0ff53b26467
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2019-05-05 01:54:51 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-05-05 19:04:00 +0000

    dev-libs/protobuf-c: Fix building with >=dev-libs/protobuf-3.7.
    
    Fixes: https://bugs.gentoo.org/684028
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../protobuf-c/files/protobuf-c-1.3.1-protobuf-3.7.patch    | 13 +++++++++++++
 dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild                 |  4 ++++
 2 files changed, 17 insertions(+)