+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/protobuf-c-1.5.0nb9/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/protobuf-c-1.5.0nb9/work.log ===> Building for protobuf-c-1.5.0nb9 GEN protobuf-c/protobuf-c.pb.cc GEN protobuf-c/protobuf-c.pb.h CXX protoc-c/protoc_gen_c-main.o GEN t/test-full.pb.cc GEN t/test-full.pb.h CXX protoc-c/protoc_gen_c-c_bytes_field.o CXX protoc-c/protoc_gen_c-c_enum.o CXX protoc-c/protoc_gen_c-c_enum_field.o protoc-c/c_bytes_field.cc: In function 'void google::protobuf::compiler::c::SetBytesVariables(const google::protobuf::FieldDescriptor*, std::map, std::__cxx11::basic_string >*)': protoc-c/c_bytes_field.cc:80:52: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 80 | "\"" + CEscape(descriptor->default_value_string()) + "\""; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from protoc-c/c_bytes_field.cc:64: ./protoc-c/c_helpers.h:88:40: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::CEscape(const std::string&)' 88 | std::string CEscape(const std::string& src); | ~~~~~~~~~~~~~~~~~~~^~~ protoc-c/c_bytes_field.cc: In member function 'virtual void google::protobuf::compiler::c::BytesFieldGenerator::GenerateStructMembers(google::protobuf::io::Printer*) const': protoc-c/c_bytes_field.cc:99:29: warning: 'google::protobuf::internal::FieldDescriptorLite::Label google::protobuf::FieldDescriptor::label() const' is deprecated: Use is_required() or is_repeated() instead. [-Wdeprecated-declarations] 99 | switch (descriptor_->label()) { | ~~~~~~~~~~~~~~~~~~^~ In file included from ./protoc-c/c_field.h:68, from ./protoc-c/c_bytes_field.h:68, from protoc-c/c_bytes_field.cc:63: ./google/protobuf/descriptor.h:2900:31: note: declared here 2900 | inline FieldDescriptor::Label FieldDescriptor::label() const { | ^~~~~~~~~~~~~~~ protoc-c/c_bytes_field.cc: In member function 'virtual void google::protobuf::compiler::c::BytesFieldGenerator::GenerateDefaultValueDeclarations(google::protobuf::io::Printer*) const': protoc-c/c_bytes_field.cc:117:70: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 117 | vars["default_value_data"] = FullNameToLower(descriptor_->full_name(), descriptor_->file()) | ~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:124:48: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToLower(const std::string&, const google::protobuf::FileDescriptor*)' 124 | std::string FullNameToLower(const std::string &full_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ protoc-c/c_bytes_field.cc: In member function 'virtual void google::protobuf::compiler::c::BytesFieldGenerator::GenerateDefaultValueImplementations(google::protobuf::io::Printer*) const': protoc-c/c_bytes_field.cc:125:70: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 125 | vars["default_value_data"] = FullNameToLower(descriptor_->full_name(), descriptor_->file()) | ~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:124:48: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToLower(const std::string&, const google::protobuf::FileDescriptor*)' 124 | std::string FullNameToLower(const std::string &full_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ protoc-c/c_bytes_field.cc:127:62: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 127 | vars["escaped"] = CEscape(descriptor_->default_value_string()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:88:40: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::CEscape(const std::string&)' 88 | std::string CEscape(const std::string& src); | ~~~~~~~~~~~~~~~~~~~^~~ protoc-c/c_bytes_field.cc: In member function 'virtual std::string google::protobuf::compiler::c::BytesFieldGenerator::GetDefaultValue() const': protoc-c/c_bytes_field.cc:135:49: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 135 | + FullNameToLower(descriptor_->full_name(), descriptor_->file()) | ~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:124:48: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToLower(const std::string&, const google::protobuf::FileDescriptor*)' 124 | std::string FullNameToLower(const std::string &full_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ protoc-c/c_bytes_field.cc: In member function 'virtual void google::protobuf::compiler::c::BytesFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer*) const': protoc-c/c_bytes_field.cc:140:29: warning: 'google::protobuf::internal::FieldDescriptorLite::Label google::protobuf::FieldDescriptor::label() const' is deprecated: Use is_required() or is_repeated() instead. [-Wdeprecated-declarations] 140 | switch (descriptor_->label()) { | ~~~~~~~~~~~~~~~~~~^~ ./google/protobuf/descriptor.h:2900:31: note: declared here 2900 | inline FieldDescriptor::Label FieldDescriptor::label() const { | ^~~~~~~~~~~~~~~ protoc-c/c_enum.cc: In member function 'void google::protobuf::compiler::c::EnumGenerator::GenerateDefinition(google::protobuf::io::Printer*)': protoc-c/c_enum.cc:85:57: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 85 | vars["classname"] = FullNameToC(descriptor_->full_name(), descriptor_->file()); | ~~~~~~~~~~~~~~~~~~~~~~^~ In file included from protoc-c/c_enum.cc:67: ./protoc-c/c_helpers.h:128:44: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToC(const std::string&, const google::protobuf::FileDescriptor*)' 128 | std::string FullNameToC(const std::string &class_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ protoc-c/c_enum.cc:87:59: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 87 | vars["uc_name"] = FullNameToUpper(descriptor_->full_name(), descriptor_->file()); | ~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:125:48: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToUpper(const std::string&, const google::protobuf::FileDescriptor*)' 125 | std::string FullNameToUpper(const std::string &full_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ protoc-c/c_enum.cc:101:58: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 101 | vars["prefix"] = FullNameToUpper(descriptor_->full_name(), descriptor_->file()) + "__"; | ~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:125:48: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToUpper(const std::string&, const google::protobuf::FileDescriptor*)' 125 | std::string FullNameToUpper(const std::string &full_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ protoc-c/c_enum.cc: In member function 'void google::protobuf::compiler::c::EnumGenerator::GenerateDescriptorDeclarations(google::protobuf::io::Printer*)': protoc-c/c_enum.cc:135:57: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 135 | vars["classname"] = FullNameToC(descriptor_->full_name(), descriptor_->file()); | ~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:128:44: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToC(const std::string&, const google::protobuf::FileDescriptor*)' 128 | std::string FullNameToC(const std::string &class_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ protoc-c/c_enum.cc:136:63: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 136 | vars["lcclassname"] = FullNameToLower(descriptor_->full_name(), descriptor_->file()); | ~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:124:48: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToLower(const std::string&, const google::protobuf::FileDescriptor*)' 124 | std::string FullNameToLower(const std::string &full_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ protoc-c/c_enum.cc: In member function 'void google::protobuf::compiler::c::EnumGenerator::GenerateValueInitializer(google::protobuf::io::Printer*, int)': protoc-c/c_enum.cc:157:69: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 157 | vars["c_enum_value_name"] = FullNameToUpper(descriptor_->full_name(), descriptor_->file()) + "__" + vd->name(); | ~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:125:48: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToUpper(const std::string&, const google::protobuf::FileDescriptor*)' 125 | std::string FullNameToUpper(const std::string &full_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ protoc-c/c_enum.cc: In member function 'void google::protobuf::compiler::c::EnumGenerator::GenerateEnumDescriptor(google::protobuf::io::Printer*)': protoc-c/c_enum.cc:187:63: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 187 | vars["lcclassname"] = FullNameToLower(descriptor_->full_name(), descriptor_->file()); | ~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:124:48: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToLower(const std::string&, const google::protobuf::FileDescriptor*)' 124 | std::string FullNameToLower(const std::string &full_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ protoc-c/c_enum.cc:188:53: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 188 | vars["cname"] = FullNameToC(descriptor_->full_name(), descriptor_->file()); | ~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:128:44: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToC(const std::string&, const google::protobuf::FileDescriptor*)' 128 | std::string FullNameToC(const std::string &class_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ protoc-c/c_enum.cc:204:37: error: 'using absl::lts_20250512::string_view = using std::string_view = class std::basic_string_view' {aka 'class std::basic_string_view'} has no member named 'c_str'; did you mean 'const char* std::basic_string_view::_M_str'? (not accessible from this context) 204 | name_index[j].name = vd->name().c_str(); | ^~~~~ In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/basic_string.h:47, from /opt/tools/gcc13/include/c++/13.3.0/string:54, from ./protoc-c/c_enum.h:66, from protoc-c/c_enum.cc:66: /opt/tools/gcc13/include/c++/13.3.0/string_view:585:21: note: declared private here 585 | const _CharT* _M_str; | ^~~~~~ protoc-c/c_enum.cc:207:38: error: 'using absl::lts_20250512::string_view = using std::string_view = class std::basic_string_view' {aka 'class std::basic_string_view'} has no member named 'c_str'; did you mean 'const char* std::basic_string_view::_M_str'? (not accessible from this context) 207 | value_index[j].name = vd->name().c_str(); | ^~~~~ /opt/tools/gcc13/include/c++/13.3.0/string_view:585:21: note: declared private here 585 | const _CharT* _M_str; | ^~~~~~ CXX protoc-c/protoc_gen_c-c_extension.o protoc-c/c_enum_field.cc: In function 'void google::protobuf::compiler::c::SetEnumVariables(const google::protobuf::FieldDescriptor*, std::map, std::__cxx11::basic_string >*)': protoc-c/c_enum_field.cc:81:72: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 81 | (*variables)["type"] = FullNameToC(descriptor->enum_type()->full_name(), descriptor->enum_type()->file()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from protoc-c/c_enum_field.cc:64: ./protoc-c/c_helpers.h:128:44: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToC(const std::string&, const google::protobuf::FileDescriptor*)' 128 | std::string FullNameToC(const std::string &class_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ protoc-c/c_enum_field.cc:83:77: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 83 | (*variables)["default"] = FullNameToUpper(default_value->type()->full_name(), default_value->type()->file()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:125:48: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToUpper(const std::string&, const google::protobuf::FileDescriptor*)' 125 | std::string FullNameToUpper(const std::string &full_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ protoc-c/c_enum_field.cc: In member function 'virtual void google::protobuf::compiler::c::EnumFieldGenerator::GenerateStructMembers(google::protobuf::io::Printer*) const': protoc-c/c_enum_field.cc:101:29: warning: 'google::protobuf::internal::FieldDescriptorLite::Label google::protobuf::FieldDescriptor::label() const' is deprecated: Use is_required() or is_repeated() instead. [-Wdeprecated-declarations] 101 | switch (descriptor_->label()) { | ~~~~~~~~~~~~~~~~~~^~ In file included from ./protoc-c/c_field.h:68, from ./protoc-c/c_enum_field.h:68, from protoc-c/c_enum_field.cc:63: ./google/protobuf/descriptor.h:2900:31: note: declared here 2900 | inline FieldDescriptor::Label FieldDescriptor::label() const { | ^~~~~~~~~~~~~~~ protoc-c/c_enum_field.cc: In member function 'virtual void google::protobuf::compiler::c::EnumFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer*) const': protoc-c/c_enum_field.cc:123:29: warning: 'google::protobuf::internal::FieldDescriptorLite::Label google::protobuf::FieldDescriptor::label() const' is deprecated: Use is_required() or is_repeated() instead. [-Wdeprecated-declarations] 123 | switch (descriptor_->label()) { | ~~~~~~~~~~~~~~~~~~^~ ./google/protobuf/descriptor.h:2900:31: note: declared here 2900 | inline FieldDescriptor::Label FieldDescriptor::label() const { | ^~~~~~~~~~~~~~~ protoc-c/c_enum_field.cc: In member function 'virtual void google::protobuf::compiler::c::EnumFieldGenerator::GenerateDescriptorInitializer(google::protobuf::io::Printer*) const': protoc-c/c_enum_field.cc:141:79: error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} from expression of type 'absl::lts_20250512::string_view' {aka 'std::basic_string_view'} 141 | std::string addr = "&" + FullNameToLower(descriptor_->enum_type()->full_name(), descriptor_->enum_type()->file()) + "__descriptor"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./protoc-c/c_helpers.h:124:48: note: in passing argument 1 of 'std::string google::protobuf::compiler::c::FullNameToLower(const std::string&, const google::protobuf::FileDescriptor*)' 124 | std::string FullNameToLower(const std::string &full_name, const FileDescriptor *file); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ gmake: *** [Makefile:1563: protoc-c/protoc_gen_c-c_bytes_field.o] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [Makefile:1577: protoc-c/protoc_gen_c-c_enum.o] Error 1 gmake: *** [Makefile:1591: protoc-c/protoc_gen_c-c_enum_field.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/protobuf-c *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/protobuf-c