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

Bug#137560: apt: build-deps not resolved

On Sun, 2003-08-03 at 08:47, Matt Zimmerman wrote:
> retitle 137560 [apt-get] build-dep cannot resolve conflicts between build dependencies (e.g., boot-floppies)
> thanks
> The problem seems to be that if the default choice of each OR expression in
> boot-floppies' build-depends is chosen, the result is incompatible.
> Specifically, it build-depends on:
> slang1-pic | slang1-utf8-pic, libnewt-dev | libnewt-utf8-dev
> However:
> mizar:[...otmine/boot-floppies-3.0.23] sudo apt-get install slang1-pic libnewt-dev
> Reading Package Lists... Done
> Building Dependency Tree... Done
> libnewt-dev is already the newest version.
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> The following packages have unmet dependencies:
>   slang1-pic: Depends: slang1-dev (= 1.4.5-2.1) but it is not going to be installed
> E: Broken packages
> zsh: exit 100   sudo apt-get install slang1-pic libnewt-dev

A separate issue is that you are building boot-floppies in a sid
environment (presuming this is deliberate, for the moment; if you are
building for 3.0r2, then do so in woody);  libnewt and slang have
changed in woody. In sid, libnewt-utf8-dev no longer exists: there is
both versions have been merged into libnewt-dev, so remove
libnewt-utf8-dev refereences. This has not been done for slang1 as it
would break binary interfaces of existing programs; nevertheless I would
strongly recommend not using non-UTF8 slang1. So use:
	slang1-utf8-pic, libnewt-pic

> libnewt-dev Depends on slang1-utf8-dev, which conflicts with slang1-dev
> (depended upon by slang1-pic).  A simple workaround would be to change the
> dependency to be:
> slang1-utf8-pic | slang1-pic, libnewt-dev | libnewt-utf8-dev
> (reverse the order of the first OR)
> build-dep presumably could be made smart enough to detect this situation and
> backtrack to find a better solution, but currently it selects the first
> package that it finds to satisfy each dependency.
> -- 
>  - mdz


Alastair McKinstry <mckinstry@debian.org>
GPG Key fingerprint = 9E64 E714 8E08 81F9 F3DC  1020 FA8E 3790 9051 38F4

He that would make his own liberty secure must guard even his enemy from
oppression; for if he violates this duty he establishes a precedent that
will reach to himself.

- --Thomas Paine

Reply to: