Bug#963247: ignition-fuel-tools FTBFS with Protobuf 3.12.3
Sebastian Ramacher
sramacher at debian.org
Sat Jul 11 15:54:59 BST 2020
Hi Jochen
On 2020-06-21 13:38:04 +0200, László Böszörményi wrote:
> Source: ignition-fuel-tools
> Severity: normal
> Justification: fails to build from source (but built successfully in the past)
> Tags: upstream ftbfs
>
> Hi,
>
> Soon the Protobuf transition will start. Your package FTBFS with the Protobuf
> 3.12.3-1 version, currently in experimental. The relevant lines hopefully:
> [ 9%] Building CXX object src/CMakeFiles/ignition-fuel_tools4.dir/ign.cc.o
> cd /build/ignition-fuel-tools-4.1.0+dfsg/obj-x86_64-linux-gnu/src &&
> /usr/bin/c++ -Dignition_fuel_tools4_EXPORTS
> -I/build/ignition-fuel-tools-4.1.0+dfsg/include
> -I/build/ignition-fuel-tools-4.1.0+dfsg/obj-x86_64-linux-gnu/include
> -I/build/ignition-fuel-tools-4.1.0+dfsg/obj-x86_64-linux-gnu/core/include
> -isystem /usr/include/ignition/common3 -isystem /usr/include/uuid
> -isystem /usr/include/ignition/msgs5 -isystem
> /usr/include/ignition/math6 -isystem /usr/include/jsoncpp -g -O2
> -fdebug-prefix-map=/build/ignition-fuel-tools-4.1.0+dfsg=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -fPIC -fPIC -I/usr/include/uuid
> -I/usr/include/jsoncpp -std=c++17 -o
> CMakeFiles/ignition-fuel_tools4.dir/ign.cc.o -c
> /build/ignition-fuel-tools-4.1.0+dfsg/src/ign.cc
> In file included from
> /build/ignition-fuel-tools-4.1.0+dfsg/src/FuelClient.cc:19:
> /usr/include/ignition/msgs5/ignition/msgs/fuel_metadata.pb.h:17:2:
> error: #error This file was generated by an older version of protoc
> which is
> 17 | #error This file was generated by an older version of protoc which is
> | ^~~~~
> /usr/include/ignition/msgs5/ignition/msgs/fuel_metadata.pb.h:18:2:
> error: #error incompatible with your Protocol Buffer headers. Please
> 18 | #error incompatible with your Protocol Buffer headers. Please
> | ^~~~~
> /usr/include/ignition/msgs5/ignition/msgs/fuel_metadata.pb.h:19:2:
> error: #error regenerate this file with a newer version of protoc.
> 19 | #error regenerate this file with a newer version of protoc.
> | ^~~~~
While the rebuilds succeeded, the autopkgtests triggered by protobuf for
the version of ignition-fuel-tools, ignition-msgs and ignition-transport
now fail due to the same error. This could be avoided if
libignition-msgs-dev which contains the protobuf-generated header files
would have a stricter dependency on libprotobuf-dev. Since these files
are only compatible with the same protobuf upstream version, it would
need to depend on the protobuf upstream version it was built with.
Cheers
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20200711/5ffe19d7/attachment.sig>
More information about the debian-science-maintainers
mailing list