[debian-devel:18997] Re: gbp buildpack ageがこける→dpkg -devの変更→pdebui ld変更で回避

Hideki Yamane <[email protected]>
Newsgroups gmane.linux.debian.jp.devel
Organization Debian JP Project
Message-ID <[email protected]>
On Thu, 18 Jun 2015 23:30:18 +0900
Hideki Yamane <[email protected]> wrote:
> pdebuilddpkg-buildpackage -d 
> 
> 
> 





From cd91bb5010858c8a717cbe67ff03b9de97ed6842 Mon Sep 17 00:00:00 2001
From: Hideki Yamane <[email protected]>
Date: Sun, 28 Jun 2015 16:36:45 +0900
Subject: [PATCH] fix Bug#786690

Due to changes in dpkg-dev 1.18.0, dpkg-buildpackage always checks
build-deps. However, pdebuild should ignore it, adding "-d" option
make it back to previous behavior.
---
 pdebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pdebuild b/pdebuild
index 971a273..c5ac78b 100644
--- a/pdebuild
+++ b/pdebuild
@@ -75,7 +75,7 @@ else
     if ! dpkg-checkbuilddeps -B ; then
 	log "W: Unmet build-dependency in source"
     fi
-    echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | \
+    echo "dpkg-buildpackage -S -d -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | \
 	perl -pe 's/(^|\s)-[AbBF](\s|$)/$1$2/g' | \
 	/bin/bash
     ${PBUILDERROOTCMD} \
-- 
2.1.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.