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

Re: Hurd file locking: Was: Re: New hurd package version

tags 610448 patch

On Tue, 2011-03-22 at 23:35 +0100, Samuel Thibault wrote:
> Svante Signell, le Tue 22 Mar 2011 23:24:58 +0100, a écrit :
> > Don't know how to make python-apt build without disabling all tests,
> > though.
> Well, the package should be made to support DEB_BUILD_OPTIONS=nocheck
> In the mean time, we can upload a patched package on debian-ports.

The patch supporting DEB_BUILD_OPTIONS was already supported in bug
#610448,submitted by Pino Toscano, see below. However, the package
maintainer recommends an apt.conf setting Debug::NoLocking until the
file locking problem is solved. Since this is not yet implemented
we might go for the below solution for debian-ports.

--- a/debian/rules
+++ b/debian/rules
@@ -29,9 +29,13 @@
 	dh_compress -X.js -X_static/* -X _sources/* -X_sources/*/* -X.inv
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 	set -e; for python in $(shell pyversions -r); do \
 		$$python tests/test_all.py -q; \
+	echo "tests disabled"
 	dh_python2 -N python-apt-common

Reply to: