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

Bug#891803: [PATCH] cracklib2: please remove the ":native" annotation from the cracklib-runtime build-dependency for cross-builds



Source: cracklib2
Version: 2.9.2-5
Severity: normal
Tags: patch
X-Debbugs-CC: debian-riscv@lists.debian.org
User: debian-riscv@lists.debian.org
Usertags: riscv64

Hello,

the cracklib2 build-dependency list in debian/control currently
contains the following entry:

  Build-Depends: cracklib-runtime:native <cross>

The cracklib-runtime package is (correctly) marked as "Multi-Arch:
foreign".  Because of this the ":native" annotation in the
cracklib2 build-depends needs to be removed as it creates an
unresolvable cross-dependency due to the fact that dpkg doesn't
consider M-A:foreign packages as valid candidates for fulfilling a
dependency with a ":native" annotation.

For more information regarding this please cf.
https://wiki.debian.org/Multiarch/MissingRationale#Why_do_M-A:foreign_packages_not_satisfy_:native_qualified_dependencies_in_build-dependencies.3F

Attached is a corresponding patch against the current
pkg-cracklib git head.

Regards,
Karsten
-- 
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.
>From b05de526f07fa7b28214521fc47d32a8e30e6d25 Mon Sep 17 00:00:00 2001
From: Karsten Merker <merker@debian.org>
Date: Wed, 28 Feb 2018 22:28:14 +0000
Subject: [PATCH] Remove the ":native" annotation from the cracklib-runtime
 <cross> b-d.

The cracklib2 debian/control file currently contains the following
entry:

  Build-Depends: cracklib-runtime:native <cross>

The cracklib-runtime package is (correctly) marked as "Multi-Arch:
foreign".  Because of this the ":native" annotation in the
cracklib2 build-depends needs to be removed as it creates an
unresolvable cross-dependency due to the fact that dpkg doesn't
consider M-A:foreign packages as valid candidates for fulfilling a
dependency with a ":native" annotation.

For more information, please cf.
https://wiki.debian.org/Multiarch/MissingRationale#Why_do_M-A:foreign_packages_not_satisfy_:native_qualified_dependencies_in_build-dependencies.3F
---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 8353858..f688b9a 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: autoconf (>=2.61),
                automake (>= 1.10),
                autotools-dev,
                chrpath,
-               cracklib-runtime:native <cross>,
+               cracklib-runtime <cross>,
                debhelper (>= 9),
                docbook-utils,
                docbook-xml,
-- 
2.16.2


Reply to: