Package: org-mode Version: 7.7-2 Severity: serious Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu ubuntu-patch precise
org-mode fails to build on buildds because it requires the build target to run as root, contrary to section 4.9 of the policy manual: https://launchpadlibrarian.net/83079516/buildlog_ubuntu-precise-i386.org-mode_7.7-2_FAILEDTOBUILD.txt.gz Looking at debian/rules, it has a very odd arrangement of targets that doesn't match the usual patterns. The following patch fixes it up to be more conventional, and this works. * Rearrange debian/rules targets to avoid requiring root for build. diff -Nru org-mode-7.7/debian/rules org-mode-7.7/debian/rules --- org-mode-7.7/debian/rules 2011-09-27 14:48:20.000000000 +0100 +++ org-mode-7.7/debian/rules 2011-11-11 13:46:41.000000000 +0000 @@ -12,7 +12,9 @@ dh_clean rm -f $(DOC_FILES) $(DOC_TMP_FILES) -build: build-indep +build build-indep build-arch: + +install: build dh_testdir dh_testroot dh_clean -k @@ -24,7 +26,7 @@ find $(CURDIR)/debian/org-mode/usr/share/org-mode/ -name .DS_Store -exec rm -f {} \; find $(CURDIR)/debian/org-mode/usr/share/org-mode/ -name .gitignore -exec rm -f {} \; -build-indep: +binary-indep: install make $(DOC_FILES) rm -f $(DOC_TMP_FILES) dh_testdir @@ -41,9 +43,6 @@ dh_md5sums dh_builddeb -build-arch: - -binary-indep: build-indep binary-arch: build-arch binary: binary-indep binary-arch Thanks, -- Colin Watson [cjwat...@ubuntu.com] -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org