Bug#585767: Dependencies on linux-gnu or not+linux-gnu do not match armel or powerpcspe correctly
On Sun, Jun 13, 2010 at 02:04:35PM -0400, Kyle Moffett wrote:
> Package: dpkg
> Version: 1.15.7.2
> Severity: important
> User: debian-powerpcspe@breakpoint.cc
> Usertags: powerpcspe
>
> I'm actually a little unsure if this is a dpkg bug or a package bug, but
> I have had build failures from several packages which have Build-Depends
> like the following: (trimmed example from the gvfs-1.6.2-1 source package)
>
> libudev-dev (>= 0.139) | not+linux-gnu,
> libfuse-dev | hurd,
> libhal-dev (>= 0.5.10) | linux-gnu,
> libgdu-dev (>= 2.29.0) | not+linux-gnu,
> libgudev-1.0-dev (>= 001) | not+linux-gnu,
> libbluetooth-dev (>= 4.0) | not+linux-gnu,
> libimobiledevice-dev (>= 0.9.7) | hurd
>
> Unfortunately it seems like the "powerpcspe" and "armel" architectures
> do not provide the virtual packages "linux-gnu" and they do provide the
> virtual package "not+linux-gnu", although if I change those deps to
> "linux" and "not+linux" then they behave as expected.
>
I don't think it's a bug. The system type on those architectures is
"linux-gnuspe" or "linux-gnueabi", not "linux-gnu". If you only want to
match on the OS, you should use the "linux" and "not+linux" instead.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
Reply to: