Package: opticalraytracer Version: 3.2-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu precise ubuntu-patch
Dear Maintainer, opticalraytracer fails to build in a clean schroot. Since the build process removes build.xml, there is then no rule file to build the binaries. See the build logs in Ubuntu: https://launchpadlibrarian.net/88517645/buildlog_ubuntu-precise-i386.opticalraytracer_3.2-1_FAILEDTOBUILD.txt.gz This happens to work when just debuild is called because dpkg-source then re-patches in build.xml just before getting to the debian/rules build target, which does not happen in a schroot: dpkg-source: info: mise en place de build-xml.patch dpkg-source: info: mise en place de jar-path.patch dpkg-source: info: mise en place de disable-ant-propertyfile.patch dpkg-source: info: construction de opticalraytracer à partir de ./opticalraytracer_3.2.orig.tar.gz dpkg-source: info: construction de opticalraytracer dans opticalraytracer_3.2-1ubuntu1.debian.tar.gz dpkg-source: info: construction de opticalraytracer dans opticalraytracer_3.2-1ubuntu1.dsc debian/rules build A simple fix to this is to have build require the patch target so that build.xml is added back in again. Thanks for considering the attached patch. I've also noticed ant clean gets called at least twice when starting the build process, I think it might be possible to simplify things to make it unnecessary to unpatch and repatch (especially given that format 3.0 (quilt) is used). -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-9-generic (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog' === modified file 'debian/rules' --- debian/rules 2011-12-09 20:23:33 +0000 +++ debian/rules 2012-01-24 01:40:22 +0000 @@ -45,7 +45,7 @@ dh_testdir touch configure-stamp -build: build-stamp +build: build-stamp patch build-stamp: configure-stamp $(QUILT_STAMPFN) dh_testdir