Control: tags -1 + pending

Hi Manoj,

On Sat, Oct 08, 2016 at 06:58:16AM +0200, Helmut Grohne wrote:
> Can we please find a solution to this as it breaks very many packages
> close to the base system?

Given your unexpected silence on this matter, I have NMUed flex to
DELAYED/10 with the attached patch. It implements the solution that you
preferred in our previous discussion. I'll also carry out the MBF you
announced[1] and revalidated 270 packages, of which about 50 need an
additional dependency.

If any of this does not fit with you, please speak up soon so we can
cancel the upload.

Helmut

[1] https://lists.debian.org/debian-devel/2016/03/msg00162.html
diff -u flex-2.6.1/debian/NEWS.Debian flex-2.6.1/debian/NEWS.Debian
--- flex-2.6.1/debian/NEWS.Debian
+++ flex-2.6.1/debian/NEWS.Debian
@@ -1,3 +1,13 @@
+flex (2.6.1-1.1) UNRELEASED; urgency=medium
+
+   In this upload, the flex package drops its dependency on libfl-dev, because
+   it is impossible to forward the correct architecture constraint. It contains
+   the FlexLexer.h header and is thus required for using the FlexLexer C++
+   interface. Packages using this library need to add libfl-dev to their
+   Build-Depends.
+
+ -- Helmut Grohne <[email protected]>  Wed, 23 Nov 2016 13:18:32 +0100
+
 flex (2.5.33-7) unstable; urgency=low
 
    This version of Flex is a major upgrade from previous versions. There
diff -u flex-2.6.1/debian/changelog flex-2.6.1/debian/changelog
--- flex-2.6.1/debian/changelog
+++ flex-2.6.1/debian/changelog
@@ -1,3 +1,12 @@
+flex (2.6.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Demote flex dependency on libfl-dev to Recommends.
+  * Have libfl-dev depend on flex to enforce the same-version constraint.
+  * Annotate flex Multi-Arch: foreign again (Closes: #840080).
+
+ -- Helmut Grohne <[email protected]>  Thu, 24 Nov 2016 07:34:27 +0100
+
 flex (2.6.1-1) unstable; urgency=low
 
   * New upstream version. The development of flex ias transitionaing to
diff -u flex-2.6.1/debian/control flex-2.6.1/debian/control
--- flex-2.6.1/debian/control
+++ flex-2.6.1/debian/control
@@ -14,10 +14,11 @@
 Package: flex
 Architecture: any
 Pre-Depends: debconf | debconf-2.0
-Depends: ${shlibs:Depends}, m4, libfl-dev (= ${binary:Version}),
+Depends: ${shlibs:Depends}, m4,
          dpkg (>= 1.15.4) |  install-info, ${misc:Depends}
-Recommends: gcc | c-compiler
+Recommends: gcc | c-compiler, libfl-dev
 Suggests: bison, build-essential
+Multi-Arch: foreign
 Description: fast lexical analyzer generator
  Flex is a tool for generating scanners: programs which recognized lexical
  patterns in text. It reads the given input files for a description of a
@@ -48,7 +49,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, flex (= ${binary:Version})
 Replaces: flex (<< 2.5.39), flex-old (<= 2.5.4a-10)
 Breaks: flex (<< 2.5.39), flex-old (<= 2.5.4a-10)
 Description: static library for flex (a fast lexical analyzer generator)

Reply via email to