This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=68ab722604217d3ab836276acfc0ae1260b28f5f

The following commit(s) were added to refs/heads/main by this push:
     new 68ab72260 test: Pass --ignore-builtin-builddeps to dpkg-buildpackage
68ab72260 is described below

commit 68ab722604217d3ab836276acfc0ae1260b28f5f (HEAD -> main)
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Wed Apr 14 00:34:18 2021 +0200

    test: Pass --ignore-builtin-builddeps to dpkg-buildpackage
    
    We should ignore any builtin build dependencies (in particular
    build-essential, which is an arch:any package), as we are forcing the
    build and host architectures, which will make them not match whatever
    is on the system status file if present at all, and cause dependency
    unsatisfiability.
    
    Fixes: commit 0e2ae4e706e816a9ce200bb506674d19af25a55f
---
 scripts/t/dpkg_buildpackage.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/t/dpkg_buildpackage.t b/scripts/t/dpkg_buildpackage.t
index d529eb69c..47c6e184b 100644
--- a/scripts/t/dpkg_buildpackage.t
+++ b/scripts/t/dpkg_buildpackage.t
@@ -187,6 +187,7 @@ sub test_build
     chdir $dirname;
     spawn(exec => [ $ENV{PERL}, "$srcdir/dpkg-buildpackage.pl",
                     '--host-arch=amd64',
+                    '--ignore-builtin-builddeps',
                     '--unsigned-source', '--unsigned-changes',
                     '--unsigned-buildinfo',
                     "--build=$typename", '--check-command=' ],

-- 
Dpkg.Org's dpkg

Reply via email to