Package Details: gz-msgs11 11.0.2-3

Git Clone URL: https://aur.archlinux.org/gz-msgs11.git (read-only, click to copy)
Package Base: gz-msgs11
Description: Messages for Gazebo robot simulation.
Upstream URL: https://github.com/gazebosim/gz-msgs
Licenses: Apache-2.0
Provides: gz-msgs
Submitter: oysstu
Maintainer: oysstu
Last Packager: oysstu
Votes: 0
Popularity: 0.000000
First Submitted: 2024-10-16 21:22 (UTC)
Last Updated: 2025-03-24 21:37 (UTC)

Dependencies (10)

Required by (21)

Sources (2)

Latest Comments

joaocandre commented on 2025-03-25 00:27 (UTC)

Thanks, it builds now. But that same patch may be needed for gz-transport14.

oysstu commented on 2025-03-24 21:50 (UTC)

There were some breaking changes in protobuf 30. I've applied a patch.

joaocandre commented on 2025-03-24 18:01 (UTC) (edited on 2025-03-24 18:22 (UTC) by joaocandre)

Package doesn't build, facing the following error:

  /home/user/.cache/trizen/sources/gz-msgs11/src/gz-msgs-gz-msgs11_11.0.2/core/generator/Generator.cc: In member function ‘virtual bool google::protobuf::compiler::cpp::Generator::Generate(const google::protobuf::FileDescriptor*, const std::string&, google::protobuf::compiler::OutputDirectory*, std::string*) const’:
  /home/user/.cache/trizen/sources/gz-msgs11/src/gz-msgs-gz-msgs11_11.0.2/core/generator/Generator.cc:135:43: error: invalid initialization of reference of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string<char>&’} from expression of type ‘google::protobuf::internal::DescriptorStringView’ {aka ‘std::basic_string_view<char>’}
    135 |     auto ns = getNamespaces(_file->package());
        |                             ~~~~~~~~~~~~~~^~
  /home/user/.cache/trizen/sources/gz-msgs11/src/gz-msgs-gz-msgs11_11.0.2/core/generator/Generator.cc:49:59: note: in passing argument 1 of ‘std::vector<std::__cxx11::basic_string<char> > google::protobuf::compiler::cpp::getNamespaces(const std::string&)’
     49 | std::vector<std::string> getNamespaces(const std::string &_package)
        |                                        ~~~~~~~~~~~~~~~~~~~^~~~~~~~
  /home/user/.cache/trizen/sources/gz-msgs11/src/gz-msgs-gz-msgs11_11.0.2/core/generator/Generator.cc:150:9: error: no match for ‘operator+’ (operand types are ‘const char [25]’ and ‘google::protobuf::internal::DescriptorStringView’ {aka ‘std::basic_string_view<char>’})
    149 |       ptrTypes += "typedef std::unique_ptr<"
        |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~
        |                   |
        |                   const char [25]
    150 |         + desc->name() + "> "
        |         ^ ~~~~~~~~~~~~
        |                     |
        |                     google::protobuf::internal::DescriptorStringView {aka std::basic_string_view<char>}