Bug#993895: libosmpbf-dev: Compilation error with g++ when including /usr/include/osmpbf/osmformat.pb.h
Sebastiaan Couwenberg
sebastic at xs4all.nl
Sat Sep 11 18:11:29 BST 2021
Control: tags -1 - moreinfo
Control: tags -1 + pending
On 9/11/21 6:49 PM, Jocelyn Jaubert wrote:
> Here is the test file I used, which only includes the files causing the
> compilation error, without using any function. (file osmpbf-fail.cc)
>
> Do you need a full example?
>
> If so, I'm using a program based on
> https://github.com/CanalTP/libosmpbfreader. I could provide a very simple
> example if necessary.
>
>
> For information, I've just recompiled libosmpbf-dev on bullseye with
> "debuild -b -uc -us + dpkg -i", and the program is working with the new
> version. Comparing the two packages, I see that the files generated by
> protobuf are very different.
Thanks for the test case, I can confirm the issue with osmpbf (1.5.0-1)
and the fix after rebuilding with protobuf 3.12.4.
Interestingly it doesn't affect the java package used by mkgmap-splitter
for example.
A new upload to unstable to fix this issue will follow shortly, along
with a proposed update for bullseye.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-grass-devel
mailing list