Package: yi
Version: 0.7.0-1
Severity: serious
Tags: upstream patch
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

I tried building yi and got the following error:

# apt-get build-dep yi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '0.7.0-1' (unstable) for yi
E: Failed to satisfy Build-Depends dependency for yi: Installed package alex is 
too new
#

A downgrade to alex 3.1.0 from testing solved this problem, but alex 3.1.3 from 
unstable is prohibited by yi.cabal as well as debian/control.

A new upstream version of yi (0.7.1) has no upper bound on its alex dependency, 
so I took the new upstream tarball as well as debian/ from yi-0.7.0-1 and 
deleted the upper bound to the alex dependency from debian/control.
The package built successfully, installed cleanly and the resulting yi binary 
had no obvious defects.

Since I am new to debian packaging, I append my patch to debian/control

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14.0-rc6 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages yi depends on:
ii  libatk1.0-0          2.10.0-2
ii  libc6                2.18-4
ii  libcairo2            1.12.16-2
ii  libffi6              3.0.13-12
ii  libfontconfig1       2.11.0-5
ii  libfreetype6         2.5.2-1
ii  libgdk-pixbuf2.0-0   2.30.6-1
ii  libghc-yi-dev        0.7.0-1+b5
ii  libghc-yi-doc        0.7.0-1
ii  libglib2.0-0         2.38.2-5
ii  libgmp10             2:5.1.3+dfsg-1
ii  libgtk2.0-0          2.24.22-1
ii  libncurses5          5.9+20140118-1
ii  libpango-1.0-0       1.36.2-2
ii  libpangocairo-1.0-0  1.36.2-2
ii  libpangoft2-1.0-0    1.36.2-2
ii  libtinfo5            5.9+20140118-1
ii  zlib1g               1:1.2.8.dfsg-1

yi recommends no packages.

yi suggests no packages.

-- no debconf information
--- yi-0.7.0/debian/control	2013-10-15 10:59:09.000000000 +0200
+++ yi-0.7.1/debian/control	2014-03-16 09:03:44.584639000 +0100
@@ -85,7 +85,6 @@
                , libghc-xdg-basedir-dev (<< 0.3)
                , libghc-xdg-basedir-prof
                , alex (>= 3.0.3)
-               , alex (<= 3.1.1)
                , libghc-gtk-dev
                , libghc-gtk-prof
                , libghc-vte-dev

Reply via email to