hefur: Incompatible with protobuf 30.0

Hello hello, Arch Linux packager here πŸ‘‹πŸ»

We have recently started the protobuf 30.0 rebuild and the hefur package is one of the holdups that came up along the way due to the following compiler error:

/build/hefur/src/hefur/mimosa/mimosa/rpc/gen/protoc-gen-mimosa.cc:7:10: fatal error: google/protobuf/compiler/cpp/generator.h: No such file or directory
    7 | #include <google/protobuf/compiler/cpp/generator.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [mimosa/mimosa/rpc/gen/CMakeFiles/protoc-gen-mimosa.dir/build.make:79: mimosa/mimosa/rpc/gen/CMakeFiles/protoc-gen-mimosa.dir/protoc-gen-mimosa.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1772: mimosa/mimosa/rpc/gen/CMakeFiles/protoc-gen-mimosa.dir/all] Error 2

I think this is due to a few string interface changes, see for example the changes from https://github.com/protobuf-c/protobuf-c/pull/762 πŸ€—

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 1
  • Comments: 27 (13 by maintainers)

Most upvoted comments

Though, I could probably rewrite a better hefur within 50 hours in rust. πŸ€”

OK, so at least I did the compilation fixes with the std::string errors.

Did you already have a chance to look into this @dbermond? hefur is now the last package after I patched a few more on the list 😊

Done! Thanks @christian-heusel and @abique for the assistance!

Many of these appear.

Is this something addressable?

Yeah this is not too hard to do, you just need to sparkle in some conversations to std::string 😊 See for example https://github.com/astroidmail/astroid/pull/763 or https://github.com/USBGuard/usbguard/pull/650

I’ll look into it a bit more and report to protobuf if neccessary πŸ˜…

@dbermond could you look into this? 😊