Your message dated Sat, 21 Mar 2020 15:19:52 +0000
with message-id <[email protected]>
and subject line Bug#931836: fixed in protobuf 3.11.4-2
has caused the Debian Bug report #931836,
regarding protobuf: libprotobuf-dev should break with different versions of 
protobuf-compiler (or vice-versa)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
931836: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931836
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: protobuf
Version: 3.6.1.3-2
Tags: stretch,buster,bullseye,sid

Dear Maintainer,

during our build on stretch with backports ienabled with automatic solver
to install dependencies (libprotobuf-dev and protobuf-compiler), pbuiled
aptitude solver managed to install the two packages with two different versions:

libprotobuf-dev = 3.6.1-4~bpo9+1
protobuf-compiler = 3.0.0-9

This leads to broken protobuf toolchain and errors in the build:

[  3%] Building CXX object
CMakeFiles/acme-proto-bar.pb-obj.dir/acme/proto/bar.pb.cc.o
In file included from /src/foo-defs/build-docker/acme/proto/foo.pb.cc:5:0:
/src/foo-defs/build-docker/acme/proto/foo.pb.h:17:2: error: #error
This file was generated by an older version of protoc which is
 #error This file was generated by an older version of protoc which is
  ^~~~~
/src/foo-defs/build-docker/acme/proto/foo.pb.h:18:2: error: #error
incompatible with your Protocol Buffer headers. Please
 #error incompatible with your Protocol Buffer headers.  Please
  ^~~~~
/src/foo-defs/build-docker/acme/proto/foo.pb.h:19:2: error: #error
regenerate this file with a newer version of protoc.
 #error regenerate this file with a newer version of protoc.
  ^~~~~

Would you consider adding the Breaks dependency (see attached patch)
so the dependency solver is not offered the broken solution anymore?

Regards,

Jan Kriho
diff -Nru protobuf-3.6.1.3/debian/control protobuf-3.6.1.3/debian/control
--- protobuf-3.6.1.3/debian/control     2019-04-16 22:12:03.000000000 +0000
+++ protobuf-3.6.1.3/debian/control     2019-07-10 16:29:27.000000000 +0000
@@ -107,6 +107,7 @@
 Section: libdevel
 Depends: ${misc:Depends}, zlib1g-dev,
  libprotobuf17 (= ${binary:Version}), libprotobuf-lite17 (= ${binary:Version})
+Breaks: protobuf-compiler (<< ${binary:Version}), protobus-compiler (>> ${binary:Version})
 Description: protocol buffers C++ library (development files) and proto files
  Protocol buffers are a flexible, efficient, automated mechanism for
  serializing structured data - similar to XML, but smaller, faster, and


--- End Message ---
--- Begin Message ---
Source: protobuf
Source-Version: 3.11.4-2
Done: Laszlo Boszormenyi (GCS) <[email protected]>

We believe that the bug you reported is fixed in the latest version of
protobuf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated protobuf 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 21 Mar 2020 13:44:22 +0000
Source: protobuf
Architecture: source
Version: 3.11.4-2
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Closes: 931836 934665
Changes:
 protobuf (3.11.4-2) unstable; urgency=medium
 .
   * Upload to Sid (closes: #934665).
 .
   [ Jan Kriho <[email protected]> ]
   * Break different protobuf-compiler versions in libprotobuf-dev
     (closes: #931836).
Checksums-Sha1:
 52aac5aea38f2e8177b249f6e2dd95cc3c379b5b 2684 protobuf_3.11.4-2.dsc
 f57fec1f717001c324afe93ec12183749528abe9 26168 protobuf_3.11.4-2.debian.tar.xz
Checksums-Sha256:
 f460d6a37a04150417aec6588f3f355aa3132807480beaa2a4c3bae9d06b9899 2684 
protobuf_3.11.4-2.dsc
 669d07803745dc40e603a17370bb72a739f4e75378f48c6f4aac9f60bc7145d4 26168 
protobuf_3.11.4-2.debian.tar.xz
Files:
 179d30019f55ef716b1b720d2f5e9266 2684 devel optional protobuf_3.11.4-2.dsc
 2d5437ebbffe9bf45c35372077f5744e 26168 devel optional 
protobuf_3.11.4-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAl52K98ACgkQ3OMQ54ZM
yL+ATA//QEKPJSUX24IdQS1oEfbWmtKfp2Y5LzGUj8Q/gfcFCoT8hwRxkhUdQo6U
IsvJ3c4x6HfGvs84PssS+P43bOJVO2I8Qrkf4PdSagde6OvI0GQrNb7lpc0KfIro
/DCeKLV+kpIaF9opLbsrTroKrkC1CWijVL8WM73mRnl3OZbS2pyeSrqNhpVhblMj
kHloOu6SyDV/COedQiT9VX27f2VrcMgnyWE5d+8VFTFrKz7d5LggGDOi7b3yGqVx
j2Y7PgXHtyaS1J4lwEUTM5bcwlmZvr9z1V9j9PFGxstgw4bB73zEbTBeVsRd3Oy7
MaekgDpe3gJ7P9v4yUZ890bvinq3EnxyJUAvDySkWe/+0PEo7hqWMCQ1hrviJP8I
3Jpv2DWNcentLrw/B3L3us+gnfNUTLPDmyf2diz/5oU1qWVmm7kysg1snJKHthfv
S432xlhhMH4vP5FqoU9LhW3FKxcRmNJVi+0a/KxXYsyhDyBmAK7UjQlAIOaL5e9R
CCNDXzO0DXEus3nh4JKO7t422yWZlw4dxBoOmGSr5qBK1hC4WEBF2+kZpFchj5ii
jRrbMzKVfOdW1LgBmjsINxrG+TZ27ALU4I1XeDp5mcRbO0ZKA97Z9FrnylDcQw3n
eQFJQAY7fbo5/Q+slDMXzBCTPMKgA3YMtcvaz/KoMzJ3xt8eemo=
=cDI3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to