Bug#214736: apt: problems resolving build-dependencies of avifile
On Wed, Oct 08, 2003 at 02:21:02PM +0200, Guido Guenther wrote:
> apt-get build-dep avifile gives:
> E: Build-Depends dependency for avifile cannot be satisfied because no
> available versions of package automake can satisfy version requirements
>
> Although I can't see why these can't be satisfied. In fact I already
> have automake1.7 installed. The build-dependencies are:
>
> debhelper, libqt3-mt-dev (>= 3:3.1.1-2) | libqt-dev | libqt2-dev,
> libsdl1.2-dev | libsdl1.1-dev | libsdl1.0-dev , libaudiofile-dev,
> libjpeg62-dev, libvorbis-dev, libogg-dev, libmad0-dev, g++, autoconf (>=
> 2.13-1), automake (>= 1.4-1) | automake1.7 | automake1.4 , libtool,
> gettext, patch, netpbm | pnmtopng
>
> And if I install them by hand there are no problems. Am I missing
> something?
>From apt-get.cc:
* TODO: this means that if there's a build-dep on A|B and B is
* installed, we'll still try to install A; more importantly,
* if A is currently broken, we cannot go back and try B. To fix
* this would require we do a Resolve cycle for each package we
* add to the install list. Ugh
To fix this for the simple case (where one of the alternatives is already
installed) should not require this Resolve cycle, I wouldn't think, so it
may be feasible to fix that case.
However:
- It isn't trivial to implement
- build-depending on automake is evil
- the first alternative should be a correct default
- I don't have time or bandwidth to work on build-dep handling at the moment
--
- mdz
Reply to: