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)
Though, I could probably rewrite a better hefur within 50 hours in rust. π€
It seems weβre getting the headers back! https://github.com/protocolbuffers/protobuf/commit/0b1a9c99c4238fc45cbc685dffc89ea8b69b6e5a
OK, so at least I did the compilation fixes with the
std::stringerrors.Done! Thanks @christian-heusel and @abique for the assistance!
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/650Iβll look into it a bit more and report to protobuf if neccessary π
@dbermond could you look into this? π