[debian-mysql] Bug#842454: Bug#842454: default-libmysqlclient-dev is unsatisfiable for cross builds

Helmut Grohne helmut at subdivi.de
Thu Nov 3 13:07:46 UTC 2016


On Thu, Nov 03, 2016 at 11:05:16AM +0100, Andreas Beckmann wrote:
> I think you rather want
> 
> Architecture: all
> Multi-Arch: allowed

Sadly that's neither correct nor possible. M-A:allowed is not permitted
on Arch:all packages.

And even if it was allowed, it would be wrong. Consider source package
foo, which wants to link the mysql client library. If it Build-Depends:
default-libmysqlclient-dev, then its dependency is cross-unsatisfiable,
because no package provides default-libmysqlclient-dev for non-native
architectures. If it Build-Depends: default-libmysqlclient-dev:any, it
gets the build architecture library when it wanted the host architecture
library.

What you propose is so deeply wrong. Please use the original patch.

Helmut



More information about the pkg-mysql-maint mailing list