[ubuntu-dev] Bug#816097: cowbuilder-dist: pbuilder-satisfydepends segfaults when used with qemu-user-static

Danny Edel debian at danny-edel.de
Sat Feb 27 12:41:31 UTC 2016


Package: ubuntu-dev-tools
Version: 0.155
Severity: important

Hi,

I use cowbuilder-dist as a frontend to qemu-user-static, to track down a
build failure on mips.

the commands I used are:

export UBUNTUTOOLS_DEBIAN_MIRROR=http://10.x.x.x:3142/debian

(Note: this is my local apt-cacher-ng.  If I specify it by name,
debootstrap fails to resolve the DNS name, but if I give the IP it
works.  Not sure if this is misconfiguration on my side.)

cowbuilder-dist sid mips create --main-only


But if I try to build dspdfviewer using the "build" command it fails
when trying to set up the dependencies.

dget http://http.debian.net/debian/pool/main/d/dspdfviewer/dspdfviewer_1.14-2.dsc
cowbuilder-dist sid mips build dspdfviewer_1.14-2.dsc

(normal output snipped, the last few lines are)

Need to get 35.0 MB/120 MB of archives. After unpacking 550 MB will be used.
Writing extended state information...
/usr/lib/pbuilder/pbuilder-satisfydepends: line 28: 13953 Segmentation fault      (core dumped) $CHROOTEXEC env XDG_CACHE_HOME=/root aptitude -y --without-recommends -o APT::Install-Recommends=false "${APTITUDEOPT[@]}" -o Aptitude::ProblemResolver::StepScore=100 -o "Aptitude::ProblemResolver::Hints::KeepDummy=reject pbuilder-satisfydepends-dummy :UNINST" -o Aptitude::ProblemResolver::Keep-All-Level=55000 -o Aptitude::ProblemResolver::Remove-Essential-Level=maximum install pbuilder-satisfydepends-dummy
E: pbuilder-satisfydepends failed.
I: Copying back the cached apt archive contents
I: unmounting /pbuilder-ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build/cow.12716 


Since "build" is a core functionality of cowbuilder-dist, I
think this qualifies as "important".

Note that the problem is not specific to dspdfviewer as a
package-to-be-built, I get the same segfault when trying to build vim,
or even the hello package, which should have a really small dependency list.



Known workaround:

cowbuilder-dist sid mips login --bindmounts /dir/to/source
apt install devscripts equivs
cd /dir/to/source
mk-build-deps -ir
debuild -b -uc -us



In case I filed this against the wrong package, please redirect
accordingly.  I'm not sure which component actually triggers the
segfault.


Thank you,

- Danny


PS: In case the problem is not reproducible on your machine, please tell
me how to save the core dump from the segmentation fault.  I can't find
it in my ~/pbuilder folder, and I assume it got auto-deleted.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ubuntu-dev-tools depends on:
ii  binutils                   2.26-5
ii  dctrl-tools                2.24-2
ii  devscripts                 2.16.1
ii  diffstat                   1.61-1
ii  distro-info                0.14
ii  dpkg-dev                   1.18.4
ii  lsb-release                9.20160110
ii  perl                       5.22.1-7
ii  python                     2.7.11-1
ii  python-apt                 1.1.0~beta1
ii  python-debian              0.1.27
ii  python-distro-info         0.14
ii  python-httplib2            0.9.1+dfsg-1
ii  python-launchpadlib        1.10.3-3
ii  python-lazr.restfulclient  0.13.4-5
ii  python-ubuntutools         0.155
pn  python:any                 <none>
ii  sudo                       1.8.15-1.1

Versions of packages ubuntu-dev-tools recommends:
ii  bzr                     2.7.0-2
ii  bzr-builddeb            2.8.9
ii  ca-certificates         20160104
ii  cowdancer               0.78
ii  debian-archive-keyring  2014.3
ii  debian-keyring          2016.01.20
ii  debootstrap             1.0.79
ii  dput                    0.9.6.4
ii  genisoimage             9:1.1.11-3
ii  libwww-perl             6.15-1
ii  lintian                 2.5.41
ii  patch                   2.7.5-1
ii  pbuilder                0.223
ii  python-dns              2.3.6-3
ii  python-soappy           0.12.22-1
ii  quilt                   0.63-3
ii  reportbug               6.6.6

Versions of packages ubuntu-dev-tools suggests:
ii  python             2.7.11-1
ii  python-simplejson  3.8.1-1
ii  qemu-user-static   1:2.5+dfsg-5

-- no debconf information



More information about the ubuntu-dev-team mailing list