[Bug 1212208] Re: quilt patches are not applied during --unbuilt-tree build

Christoph Berg myon at debian.org
Wed Jan 29 17:52:34 UTC 2014


I have the same problem with --built-tree. I'm using git/bzr/svn checkouts instead of dpkg-source, so by default, the trees do not have quilt patches applied. dpkg-buildpackage will then apply all patches, build, but will pop all patches afterwards. This tree is compiled in the sense that it has all .o files and debian/$pkg directories, but it doesn't have patches.
Now, when I now run adt-run, it fails because the tests see the source tree without patches.
I could probably add "dpkg-source --before-build ." before running adt-run, but I'd prefer a solution inside adt.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1212208

Title:
  quilt patches are not applied during --unbuilt-tree build

Status in “autopkgtest” package in Ubuntu:
  Triaged

Bug description:
  Steps to reproduce:

  1. Pick a "3.0 (quilt) package" and unpack the source directory.
  2. Run "quilt pop -a"
  3. Run adt-run --unbuilt-tree against this source directory.

  Expected results: adt-run builds the source correctly, including an initial "quilt push -a" in its build area.
  Actual results: the package is built and tested without patches being applied.

  adt-run(1) says:

         --unbuilt-tree directory
                Specifies that tests from the unbuilt source tree directory should be run.  This is  very  similar  to
                specifing  --source  except that a directory tree (which should be pristine) is supplied, instead of a
                source package.

  It doesn't specify that patches will be applied, but "which should be
  pristine" is a bit ambiguous here. I'm not sure that it ever makes
  sense to build a package without quilt patches applied, and it is
  quite confusing and hard to track down when this happens. Please
  detect "3.0 (quilt)" and apply all patches by default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1212208/+subscriptions



More information about the foundations-bugs mailing list