[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-devel:18997] Re: gbp buildpackageがこける→dpkg-devの変更→pdebuild変更で回避
On Thu, 18 Jun 2015 23:30:18 +0900
Hideki Yamane <henrich@debian.or.jp> wrote:
> pdebuild内でのdpkg-buildpackageのオプションに -d を追加すれば
> 回避可能です。
>
> で、どうするのが一番正解なんでしょうね?
一応この修正と同じような形で、別の人がアップロードするようです。
年のためにパッチ貼っときます。
From cd91bb5010858c8a717cbe67ff03b9de97ed6842 Mon Sep 17 00:00:00 2001
From: Hideki Yamane <henrich@debian.org>
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