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

Launchpad Bug Tracker 1212208 at bugs.launchpad.net
Fri Jan 31 17:51:32 UTC 2014


This bug was fixed in the package autopkgtest - 2.7

---------------
autopkgtest (2.7) unstable; urgency=medium


  * adt-virt-lxc: Drop all the file-based checks for container bootup, and
    replace with "lxc-attach runlevel" to wait until the container booted to a
    numeric runlevel. This greatly simplifies the logic and drops the
    cloud-init requirement so that this runner is now suitable for Debian or
    debootstrap-based Ubuntu containers. (LP: #1273725)
  * adt-virt-lxc.1: Drop --gain-root in notes/example. It's unnecessary
    (adt-run will install fakeroot if missing) and confusing (as it's not
    related to LXC specifically and otherwise not really used/useful).
  * adt-virt-lxc.1: Add example how to create a Debian container, and some
    cleanup of obsolete commentary.
  * adt-virt-lxc: Add -s/--sudo option to run lxc-* commands through sudo; use
    this option if you run adt-run as normal user, but need to run the
    container itself as root (if you use LXC system-level containers).
    This drops the hardcoded sudo commands and thus the dependency on sudo,
    which is more palatable for Debian. (LP: #1273977)
  * adt-virt-lxc: Add -e shortcut for --ephemeral, as this is an option which
    you pretty much always want.
  * adt-virt-lxc.1: Move more important options to the top.
  * adt-virt-lxc: Stop hardcoding the "ubuntu" suggested normal user; instead,
    call "getent passwd" to detect the first user with uid >= 500. Don't
    advertise suggested-normal-user if none exists.
  * adt-run: Rearrange finalizing options and reading capabilities to happen
    after testbed opening. That allows the testbed to determine its full
    capablities in its open hook.
  * adt-run: Call dpkg-source --before-build for --unbuilt-tree arguments, to
    ensure that patches are applied for "3.0 (quilt)" source trees. This is
    useful to test *-buildpackage source trees where patches don't get
    applied. (LP: #1212208)

 -- Martin Pitt <mpitt at debian.org>  Fri, 31 Jan 2014 11:14:32 +0100

** Changed in: autopkgtest (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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