[elbe-devel] [PATCH] debianize u-boot: Add cross-build dependencies

Torben Hohn torben.hohn at linutronix.de
Fri Dec 6 13:26:13 CET 2019


On Thu, Nov 28, 2019 at 09:06:57AM +0100, Kurt Kanzenbach wrote:
> On Tue, Nov 26, 2019 at 12:38:58PM +0000, Ahmed S. Darwish wrote:
> > Complete the list of u-boot build dependencies, so it can also be
> > cross-compiled using `dpkg-buildpackage -a ${p_arch} -us -uc`.
> >
> > Debian packages "which can satisfy dependencies of a package of a
> > different architecture" should mark themselves with:
> >
> >     Multi-Arch: foreign
> >
> > Correctly, this is the case for packages like make, gzip, flex,
> > bison, etc.
> >
> > lzop should've marked itself similarly, but it doesn't.  Thus
> > cross-building u-boot's debian package leads to the error:
> >
> >     dpkg-checkbuilddeps: error: Unmet build dependencies: lzop
> >
> > So in the case of lzop, force-use its :native version instead. As
> > stated in the Multiarch HOWTO:
> >
> >    "Any exceptions to the default rules are marked package:any
> >     or package:native in the package source."
> >
> > Link: https://wiki.debian.org/Multiarch/HOWTO
> > Signed-off-by: Ahmed S. Darwish <a.darwish at linutronix.de>
> 
> Reviewed-by: Kurt Kanzenbach <kurt at linutronix.de>

please send a pull request.



> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel


-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list