[Build-common-hackers] Bug#620348: cdbs parallel build fails

rosea grammostolla rosea.grammostola at gmail.com
Fri Apr 1 10:28:39 UTC 2011


Package: cdbs
Version: 0.4.92
Severity: normal

cdbs parallel build fails:

When building cdbs on the opensuse buildservice (obs) cdbs fails. Obs is using
parallel building for debian packages as default.

This some debug info:

> > PASS: distutils-8.sh
> > FAIL: distutils-9.sh
> > FAIL: distutils-10.sh
> > FAIL: distutils-11.sh
> > PASS: ant-1.sh
> > ====================
> > 3 of 30 tests failed
> > ====================
Checking the current build failures on the linked project, the tests
actually pass all fine (even though it seems to be only 28 checks)

The builds abort due to a 'build appears to be stuck' error => trying a
local build shows that bash is actually dieing:

 \_ /usr/bin/make install-am
    \_ /usr/bin/make install-exec-am install-data-am
          \_ [bash] <defunct>
          \_ [bash] <defunct>
          \_ [bash] <defunct>

So the clue is actually to find out why bash defunts on us in our build
environment.

A small verification with osc build -j 1 shows that once more, debian
stuff just does not work properly in parallel builds...

Comment on the obs mailinglist:


> And what would the packager do to enable parallel builds ?
He would do some bash scripting in the rules file to get the # of parallel
builds to from the DEB_BUILD_OPTIONS env variable and then calls make with the
parsed argument which is butt ugly to say it politely.

IMHO the debian way plain sucks and shouldn't be repeated. Instead some
"DISABLE_PARALLEL_BUILD=1" in the packages meta data is much preferable.

See also http://www.debian.org/doc/debian-policy/ch-source.html section 4.9.1

(besides that parallel builds being broken _IS_ a bug in the packages build
system which should be filed upstream and not at debian)



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33.7.2-rt30-multimedia-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdbs depends on:
ii  debhelper                     8.1.2      helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20100122.1 Update infrastructure for config.{

Versions of packages cdbs suggests:
ii  devscripts                    2.10.71    scripts to make the life of a Debi
ii  doc-base                      0.10.1     utilities to manage online documen

-- no debconf information





More information about the Build-common-hackers mailing list