Package: pbuilder Version: 0.199 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty ubuntu-patch
*** /tmp/tmppAGg53 In Ubuntu, we've applied the attached patch to achieve the following: * debian/rules: install temporary locale so man page tests don't cause FTBFS. We thought you might be interested in doing the same. -- System Information: Debian Release: squeeze/sid APT prefers maverick-updates APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick-proposed'), (500, 'maverick') Architecture: amd64 (x86_64) Kernel: Linux 2.6.35-23-generic (SMP w/2 CPU cores) Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru pbuilder-0.199ubuntu2/debian/changelog pbuilder-0.199ubuntu3/debian/changelog diff -Nru pbuilder-0.199ubuntu2/debian/rules pbuilder-0.199ubuntu3/debian/rules --- pbuilder-0.199ubuntu2/debian/rules 2010-10-13 13:13:54.000000000 -0400 +++ pbuilder-0.199ubuntu3/debian/rules 2010-11-23 11:36:33.000000000 -0500 @@ -1,5 +1,9 @@ #!/usr/bin/make -f +LOCALE_PATH := debian/tmpdir/usr/lib/locale +LOCALE_NAME := en_US +LOCALE_CHARSET := UTF-8 + build: build-stamp build-stamp: dh_testdir @@ -18,7 +22,11 @@ dh_prep dh_installdirs ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - $(MAKE) check + mkdir -p $(LOCALE_PATH) + localedef -i $(LOCALE_NAME) -c -f $(LOCALE_CHARSET) \ + -A /usr/share/locale/locale.alias --quiet \ + $(LOCALE_PATH)/$(LOCALE_NAME).$(LOCALE_CHARSET) + LOCPATH=$(LOCALE_PATH) LC_ALL=$(LOCALE_NAME).$(LOCALE_CHARSET) $(MAKE) check endif $(MAKE) install DESTDIR=$(CURDIR)/debian/pbuilder dh_movefiles -ppbuilder-uml --sourcedir=debian/pbuilder