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

Re: libgl1-mesa-glx



Hi,

On Sat, Jun 09, 2007 at 02:31:51AM +0800, Samuel Thibault wrote:
> There is some issues with packages that depend on libgl1-mesa-glx |
> libgl1: on the Hurd we only build libgl1-mesa-swx11 which provides
> libgl1, but buildd isn't smart enough to install it. 

I am not sure that is the case; libgl1-mesa-glx is a proper binary
package which is not available (in theory) on the Hurd anymore though an
old binary is still on ftp.debian.org.  I think if we remove that
binary, sbuild/buildd would look at the second option; though I am not
sure whether a virtual package is valid here, I'll try to check this
out.

> A solution would be to ask maintainers to fix into libgl1-mesa-glx
> [!hurd-i386] | libgl1-mesa-swx11 [hurd-i386] | libgl1 ?

The [!arch] syntax is unfortunately only valid for Build-Depends, not
for Depends (Depends also usually gets partly populated during build).

One solution here is type-handling, but this is deprecated I think;
another solution is pending a proper fix in dpkg, but I am not sure
about the status.

Yet another solution would be to create different Depends: lines on
hurd-i386 and other architectures, but this needs more complicated
handling in debian/rules.
 
> In the meanwhile we may want to install libgl1-mesa-swx11 by hand on the
> buildd, so that these packages will go fine.

That would be a good interim solution, yes.  I think I tried to do this
some time ago, but ran into inter-depenencies with Arch: all package and
so on, and decided the best way would be to rebuild unstable's mesa with
your patch.


Michael



Reply to: