[elbe-devel] [PATCH 2/2] debianize: barebox: control.mako: fix Multi-Arch pkgs in Build-Depends

Steffen Kothe steffen.kothe at linutronix.de
Mon Apr 12 08:01:52 CEST 2021


Add ':native' free pkg variants of flex and lzop in the Build-Depends:
section to prevent unwelcome errors in the pbuilder during build due
to a possible conflict of 'Multi-Arch:foreign' and ':native' declared
binary packages.

'Multi-Arch: foreign' and ':native' seems to conflict with each other
so lets get rid of it with an OR listing in the build dependencies for
the mentioned pkgs.

This also keeps compatibility to previous Debian versions without lzop
Multi-Arch binary pkgs.

Signed-off-by: Steffen Kothe <steffen.kothe at linutronix.de>
---
 elbepack/makofiles/debianize/barebox/control.mako | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/makofiles/debianize/barebox/control.mako b/elbepack/makofiles/debianize/barebox/control.mako
index 6b8a377eb..acc2ccbca 100644
--- a/elbepack/makofiles/debianize/barebox/control.mako
+++ b/elbepack/makofiles/debianize/barebox/control.mako
@@ -8,7 +8,7 @@ Source: barebox-${p_name}-${k_version}
 Section: admin
 Priority: optional
 Maintainer: ${m_name} <${m_mail}>
-Build-Depends: debhelper (>= 9), bc, lzop:native, flex, bison
+Build-Depends: debhelper (>= 9), bc, lzop | lzop:native, flex | flex:native, bison
 Standards-Version: 3.8.4
 Homepage: http://www.barebox.org/
 
-- 
2.20.1



More information about the elbe-devel mailing list