]> git.saurik.com Git - apt.git/commitdiff
test: Pass -d to dpkg-buildpackage
authorJulian Andres Klode <jak@debian.org>
Tue, 30 Aug 2016 15:37:59 +0000 (17:37 +0200)
committerJulian Andres Klode <jak@debian.org>
Tue, 30 Aug 2016 15:37:59 +0000 (17:37 +0200)
This works around an issue on Fedora where dpkg complains about
missing  build-essential:

dpkg-checkbuilddeps: Unmet build dependencies: build-essential:native

Gbp-Dch: ignore

test/integration/framework

index 9a908a9ec53d77282ac4623a0ef12e56f7d99880..067cc6e8ad573eb9e8b59b7fca7cca3855818432 100644 (file)
@@ -813,7 +813,7 @@ buildpackage() {
        if [ "$ARCH" = "all" ]; then
                ARCH="$(dpkg-architecture -qDEB_HOST_ARCH 2> /dev/null)"
        fi
-       testsuccess --nomsg dpkg-buildpackage -uc -us -a$ARCH
+       testsuccess --nomsg dpkg-buildpackage -uc -us -a$ARCH -d
        cp "${TMPWORKINGDIRECTORY}/rootdir/tmp/testsuccess.output" "$BUILDLOG"
        local PKGS="$(grep '^dpkg-deb: building package' "$BUILDLOG" | cut -d'/' -f 2 | sed -e "s#'\.##")"
        local SRCS="$(grep '^dpkg-source: info: building' "$BUILDLOG" | grep -o '[a-z0-9._+~-]*$')"