Date: Wed, 16 Aug 2017 22:54:06 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221572] devel/protobuf-c fails to build after devel/protobuf was updated to 3.4.0 Message-ID: <bug-221572-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221572 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@FreeBSD.org Reporter: vvd@unislabs.com CC: sunpoet@FreeBSD.org, truckman@FreeBSD.org CC: sunpoet@FreeBSD.org, truckman@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 me= an 'std::map'? map<string, string> variables_; ^~~ std::map=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /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 me= an 'Map'? map<string, string>* variables) { ^~~ Map=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 /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 'variab= les' (*variables)["name"] =3D FieldName(descriptor); ^ protoc-c/c_bytes_field.cc:79:5: error: use of undeclared identifier 'variab= les' (*variables)["default"] =3D ^ protoc-c/c_bytes_field.cc:81:5: error: use of undeclared identifier 'variab= les' (*variables)["deprecated"] =3D 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"] =3D 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] E= rror 1 gmake[2]: Leaving directory '/tmp/work/usr/ports/devel/protobuf-c/work/protobuf-c-1.2.1' *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221572-13>