[Bug 221572] devel/protobuf-c fails to build after devel/protobuf was updated to 3.4.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 16 22:54:07 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221572
Bug ID: 221572
Summary: devel/protobuf-c fails to build after devel/protobuf
was updated to 3.4.0
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: vvd at unislabs.com
CC: sunpoet at FreeBSD.org, truckman at FreeBSD.org
CC: sunpoet at FreeBSD.org, truckman at FreeBSD.org
11.1 amd64 and 11.1 i386.
Part of build log:
In file included from protoc-c/c_bytes_field.cc:63:
./protoc-c/c_bytes_field.h:89:3: error: unknown type name 'map'; did you mean
'std::map'?
map<string, string> variables_;
^~~
std::map
/usr/include/c++/v1/__tree:1465:77: note: 'std::map' declared here
template <class, class, class, class> friend class _LIBCPP_TEMPLATE_VIS
map;
^
In file included from protoc-c/c_bytes_field.cc:63:
./protoc-c/c_bytes_field.h:89:6: error: expected member name or ';' after
declaration specifiers
map<string, string> variables_;
~~~^
protoc-c/c_bytes_field.cc:77:25: error: unknown type name 'map'; did you mean
'Map'?
map<string, string>* variables) {
^~~
Map
/usr/local/include/google/protobuf/map.h:122:7: note: 'Map' declared here
class Map {
^
protoc-c/c_bytes_field.cc:77:28: error: expected ')'
map<string, string>* variables) {
^
protoc-c/c_bytes_field.cc:76:23: note: to match this '('
void SetBytesVariables(const FieldDescriptor* descriptor,
^
protoc-c/c_bytes_field.cc:78:5: error: use of undeclared identifier 'variables'
(*variables)["name"] = FieldName(descriptor);
^
protoc-c/c_bytes_field.cc:79:5: error: use of undeclared identifier 'variables'
(*variables)["default"] =
^
protoc-c/c_bytes_field.cc:81:5: error: use of undeclared identifier 'variables'
(*variables)["deprecated"] = FieldDeprecated(descriptor);
^
protoc-c/c_bytes_field.cc:89:34: error: use of undeclared identifier
'variables_'
SetBytesVariables(descriptor, &variables_);
^
protoc-c/c_bytes_field.cc:90:3: error: use of undeclared identifier
'variables_'
variables_["default_value"] = descriptor->has_default_value()
^
protoc-c/c_bytes_field.cc:101:22: error: use of undeclared identifier
'variables_'
printer->Print(variables_, "ProtobufCBinaryData $name$$deprecated$;\n");
^
protoc-c/c_bytes_field.cc:105:24: error: use of undeclared identifier
'variables_'
printer->Print(variables_, "protobuf_c_boolean
has_$name$$deprecated$;\n");
^
protoc-c/c_bytes_field.cc:106:22: error: use of undeclared identifier
'variables_'
printer->Print(variables_, "ProtobufCBinaryData $name$$deprecated$;\n");
^
protoc-c/c_bytes_field.cc:109:22: error: use of undeclared identifier
'variables_'
printer->Print(variables_, "size_t n_$name$$deprecated$;\n");
^
protoc-c/c_bytes_field.cc:110:22: error: use of undeclared identifier
'variables_'
printer->Print(variables_, "ProtobufCBinaryData *$name$$deprecated$;\n");
^
protoc-c/c_bytes_field.cc:142:22: error: use of undeclared identifier
'variables_'
printer->Print(variables_, "$default_value$");
^
protoc-c/c_bytes_field.cc:145:22: error: use of undeclared identifier
'variables_'
printer->Print(variables_, "0,$default_value$");
^
4 warnings and 16 errors generated.
gmake[2]: *** [Makefile:1172: protoc-c/protoc_c_protoc_c-c_bytes_field.o] Error
1
gmake[2]: Leaving directory
'/tmp/work/usr/ports/devel/protobuf-c/work/protobuf-c-1.2.1'
*** Error code 1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list