Package: libosmpbf-dev Version: 1.5.0-1 Severity: normal Dear Maintainer,
When compiling a c++ program including one of these files: /usr/include/osmpbf/fileformat.pb.h /usr/include/osmpbf/osmformat.pb.h I'm getting a compilation error linked to protobuf structures. Example: $ cat osmpbf-fail.cc #include <osmpbf/fileformat.pb.h> #include <osmpbf/osmformat.pb.h> int main () { } $ g++ osmpbf-fail.cc In file included from osmpbf-fail.cc:1: /usr/include/osmpbf/fileformat.pb.h:48:51: error: ‘AuxiliaryParseTableField’ in namespace ‘google::protobuf::internal’ does not name a type; did you mean ‘AuxillaryParseTableField’? 48 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] | ^~~~~~~~~~~~~~~~~~~~~~~~ | AuxillaryParseTableField In file included from osmpbf-fail.cc:2: /usr/include/osmpbf/osmformat.pb.h:49:51: error: ‘AuxiliaryParseTableField’ in namespace ‘google::protobuf::internal’ does not name a type; did you mean ‘AuxillaryParseTableField’? 49 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] | ^~~~~~~~~~~~~~~~~~~~~~~~ | AuxillaryParseTableField ... Should these two .h files be regenerated? The same file compiles correctly on Debian Buster. Thanks, Jocelyn -- System Information: Debian Release: 11.0 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libosmpbf-dev depends on: ii libosmpbf1 1.5.0-1 ii libprotobuf-dev 3.12.4-1 libosmpbf-dev recommends no packages. libosmpbf-dev suggests no packages. -- no debconf information