Code review comment for lp:~roadmr/checkbox/ppppcc-glmark2-es2

Revision history for this message
Daniel Manrique (roadmr) wrote :

I tested that this builds correctly, and it does. On my test system, it spit out an amd64-specific package for the metapackage:

 Package: plainbox-glmark2-es2-meta
 Source: plainbox-provider-canonical-certification
 Version: 0.6
 Architecture: amd64
 Maintainer: Ubuntu Developers <email address hidden>
 Installed-Size: 27
 Section: utils
 Priority: optional

Here you can see it doesn't depend on anything, so it will not try to pull glmark2-es2 on amd64.

I can't do an arm* build, but I imagine it'd have a Depends: field in that case.

And this is why an arch:all package can't have this restriction: the way the arch-specific dependency works is by "mangling" the control data accordingly to account for the selective dependency. This is explained in detail here: https://www.debian.org/doc/debian-policy/ch-relationships.html (maybe I could have avoided the earlier build problem if I'd read this carefully).

« Back to merge proposal