[Bug 1916105] Re: pkgbinarymangler runs in parallel and is confusing

Dimitri John Ledkov 1916105 at bugs.launchpad.net
Fri Feb 19 04:02:52 UTC 2021


** Summary changed:

- pkgbinarymangler slows down all builds, unnecessory
+ pkgbinarymangler runs in parallel and is confusing

** Description changed:

- pkgbinarymangler slows down all builds, unnecessarily.
+ pkgbinarymangler installs dh_builddeb wrapper.
  
- pkgbinarymangler prevents running the io intensive dpkg-builddeb in
- parrallel which is the default.
+ instead of actually doing all the things and then executing the real
+ dh_builddeb, it instead only creates lockfiles, and then when
+ dh_builddeb spawns dpkg-deb some of them are starved awaiting lockfiles.
  
- instead of making the builds use dpkg-builddeb in parallel, it makes all
- packages getting processed serially for the symlink_doc functionality.
+ also the buildlog is very ugly, as it intermixes pkgbinarymangler output
+ with inflight parallel invocations of the real dh_builddeb/dpkg-deb.
  
- i wonder if we can integrate this better.
+ also it seems to not check return codes from dh_builddeb. as it calls
+ system{} without die, it should porbably instead do exec.

** Changed in: debhelper (Ubuntu)
       Status: New => Invalid

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

Title:
  pkgbinarymangler runs in parallel and is confusing

Status in debhelper package in Ubuntu:
  Invalid
Status in pkgbinarymangler package in Ubuntu:
  New

Bug description:
  pkgbinarymangler installs dh_builddeb wrapper.

  instead of actually doing all the things and then executing the real
  dh_builddeb, it instead only creates lockfiles, and then when
  dh_builddeb spawns dpkg-deb some of them are starved awaiting
  lockfiles.

  also the buildlog is very ugly, as it intermixes pkgbinarymangler
  output with inflight parallel invocations of the real dh_builddeb
  /dpkg-deb.

  also it seems to not check return codes from dh_builddeb. as it calls
  system{} without die, it should porbably instead do exec.

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



More information about the foundations-bugs mailing list