[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How sbuild manages build alternatives?



Hi all,

We are in the middle of the ispell dictionaries and wordlist transition and have experienced problems with the new bison. Since ispell needs only yacc I tried to work around that problems with a

Build-Depends: bison (<= 1:1.35-3) | byacc, ...and other packages ...

line, but seems that the autobuilder do not recognise the versioned alternative. from the log:

The following NEW packages will be installed:
  bison debconf-utils ... and other packages ...

Unpacking bison (from .../bison_1%3a1.75-1_sparc.deb) ...
Setting up bison (1.75-1) ...

** It installed a bison version that does not match the build dependency

Checking correctness of source dependencies...
After installing, the following source dependencies are still unsatisfied:
bison(inst 1:1.75-1 ! <= wanted 1:1.35-3)|byacc(missing)
Source-dependencies not satisfied; skipping ispell

** failing as expected

In the meantime we can make it depend on plain byacc, but why did the above fail?

Cheers,

Agustin
--
=====================================================================
Agustin Martin Domingo, Dpto. de Fisica, ETS Arquitectura Madrid,
(U. Politecnica de Madrid)  tel: +34 91-336-6536, Fax: +34 91-336-6554,
email:agmartin@aq.upm.es, http://corbu.aq.upm.es/~agmartin/welcome.html



Reply to: