Bug#985660: libgazebo-dev built against wrong libprotobuf-dev version

Timon Engelke debian at timonengelke.de
Sun Mar 21 15:35:02 GMT 2021


Package: libgazebo-dev
Version: 11.1.0+dfsg-4+b3
Severity: important

Dear Maintainer,

I am building the gazebo_ros package from source, using libgazebo-dev header
files. When building, I get the following compiler error:

/usr/include/gazebo-11/gazebo/msgs/vector2d.pb.h:56:51: error: no type named
'AuxiliaryParseTableField' in namespace 'google::protobuf::internal'; did you
mean 'AuxillaryParseTableField'?
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField
aux[]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/google/protobuf/generated_message_table_driven.h:141:7: note:
'AuxillaryParseTableField' declared here
union AuxillaryParseTableField {
      ^

The fix for the typo, i.e. changing Auxillary to Auxiliary, is in this commit
in the protobuf source:
https://github.com/protocolbuffers/protobuf/commit/2ae7cf0e03c3469973e592e812565e4ee2470e0b
.
It is included in all releases of protobuf since v3.13.0 and it is also
included in v3.12.3 due to a wrongly tagged release
(https://github.com/protocolbuffers/protobuf/issues/7632). Notably, it is not
included in version 3.12.4. You can see that the typo is still in the source
code for v3.12.4 here:
https://github.com/protocolbuffers/protobuf/blob/v3.12.4/src/google/protobuf/generated_message_table_driven.h#L141
.
Version 3.12.4 is also the current version of protobuf on Debian Testing.
Therefore, libgazebo-dev and libprotobuf-dev are currently incompatible and,
unless I'm missing something, libgazebo-dev should probably be rebuilt against
version 3.12.4 of libprotobuf-dev.


Sincerely
Timon Engelke


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing'), (10, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-4-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libgazebo-dev depends on:
ii  fonts-dejavu-core                   2.37-2
ii  fonts-liberation                    1:1.07.4-11
ii  freeglut3-dev                       2.8.1-6
ii  gazebo-common                       11.1.0+dfsg-4
ii  gazebo-plugin-base                  11.1.0+dfsg-4+b3
ii  libavcodec-dev                      7:4.3.2-0+deb11u1
ii  libavformat-dev                     7:4.3.2-0+deb11u1
ii  libboost-dev                        1.74.0.3
ii  libbullet-dev                       3.06+dfsg-4
ii  libcurl4-openssl-dev [libcurl-dev]  7.74.0-1.1
ii  libdart-dev                         6.9.5-3
ii  libfreeimage-dev                    3.18.0+ds2-6
ii  libgazebo11                         11.1.0+dfsg-4+b3
ii  libgdal-dev                         3.2.1+dfsg-1+b1
ii  libignition-fuel-tools-dev          4.1.0+dfsg-5+b4
ii  libignition-math-dev                6.7.0+ds-3
ii  libignition-msgs-dev                5.1.0+dfsg-7
ii  libignition-transport-dev           8.0.0+dfsg-3+b2
ii  libogre-1.9-dev                     1.9.0+dfsg1-12.1
ii  libprotobuf-dev                     3.12.4-1
ii  libprotoc-dev                       3.12.4-1
ii  libqwt-qt5-dev                      6.1.4-2
ii  libsdformat-dev                     9.3.0+ds-3
ii  libsimbody-dev                      3.6.1+dfsg-7
ii  libswscale-dev                      7:4.3.2-0+deb11u1
ii  libtar-dev                          1.2.20-8+b1
ii  libtbb-dev                          2020.3-1
ii  libxml2-dev                         2.9.10+dfsg-6.3+b1
ii  qtbase5-dev                         5.15.2+dfsg-5

libgazebo-dev recommends no packages.

libgazebo-dev suggests no packages.



More information about the debian-science-maintainers mailing list