parallel build race condition between dh_gencontrol and dh_strip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
New
|
High
|
Unassigned |
Bug Description
We observed an FTBFS of vim with the attached build log. It seems there are two parallel threads of dh_strip and dh_gencontrol, and they step on each other:
Excerpt:
dh_strip --dbg-package=
dh_strip debug symbol extraction: enabling -a due to Build-Debug-
dh_strip debug symbol extraction: all non-arch-all packages for this build platform armhf: vim-common vim-tiny vim vim-dbg vim-gtk vim-nox vim-athena vim-gnome
dh_strip debug symbol extraction: not adding gnu debuglinks since --dbg-package is given
dh_strip debug symbol extraction: packages to act on: vim-gtk
dh_strip debug symbol extraction: ignored packages:
dh_strip debug symbol extraction: all non-arch-all packages for this build platform armhf: vim-common vim-tiny vim vim-dbg vim-gtk vim-nox vim-athena vim-gnome
dh_strip debug symbol extraction: all non-arch-all packages for this build platform armhf: vim-common vim-tiny vim vim-dbg vim-gtk vim-nox vim-athena vim-gnome
dh_strip debug symbol extraction: not adding gnu debuglinks since --dbg-package is given
dh_strip debug symbol extraction: packages to act on: vim-athena
dh_strip debug symbol extraction: ignored packages:
dh_strip debug symbol extraction: not adding gnu debuglinks since --dbg-package is given
dh_strip debug symbol extraction: packages to act on: vim-gnome
dh_strip debug symbol extraction: ignored packages:
we have -dbg package(s), not installing anything into ddeb
find: `/«PKGBUILDDIR»
we have -dbg package(s), not installing anything into ddeb
we have -dbg package(s), not installing anything into ddeb
find: `/«PKGBUILDDIR»
find: `/«PKGBUILDDIR»
dpkg-gencontrol: warning: -is is deprecated; it is without effect
dpkg-gencontrol: warning: -ip is deprecated; it is without effect
dpkg-gencontrol: warning: -is is deprecated; it is without effect
dpkg-gencontrol: warning: -ip is deprecated; it is without effect
dpkg-gencontrol: warning: -is is deprecated; it is without effect
dpkg-gencontrol: warning: -ip is deprecated; it is without effect
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: error: cannot read dhstrip-
/usr/bin/
/usr/bin/
Error: parsed ddeb section or priority is empty
make: *** [binary-
make: *** Waiting for unfinished jobs....
debian/rules:555: recipe for target 'binary-
dh_strip debug symbol extraction: all non-arch-all packages for this build platform armhf: vim-common vim-tiny vim vim-dbg vim-gtk vim-nox vim-athena vim-gnome
dh_strip debug symbol extraction: not adding gnu debuglinks since --dbg-package is given
dh_strip debug symbol extraction: packages to act on: vim-nox
dh_strip debug symbol extraction: ignored packages:
dh_compress
dh_compress
dh_fixperms
dh_fixperms
we have -dbg package(s), not installing anything into ddeb
find: `/«PKGBUILDDIR»
dh_lintian
dh_lintian
dh_installdeb
dh_installdeb
dpkg-gencontrol: warning: -is is deprecated; it is without effect
dpkg-gencontrol: warning: -ip is deprecated; it is without effect
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
/usr/bin/
dh_shlibdeps
dh_shlibdeps
dh_compress
dh_fixperms
dh_lintian
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_gencontrol debug symbol wrapper: all non-arch-all packages for this build platform armhf: vim-common vim-tiny vim vim-dbg vim-gtk vim-nox vim-athena vim-gnome
dh_gencontrol debug symbol wrapper: packages to act on: vim-nox
dh_gencontrol debug symbol wrapper: ignored packages:
dh_gencontrol debug symbol wrapper: processing package vim-nox (pkgdir debian/vim-nox, ddeb package dir debian/
dh_gencontrol debug symbol wrapper: building vim-nox-
dpkg-deb: building package 'vim-nox-dbgsym' in '../vim-
dh_gencontrol debug symbol wrapper: dpkg-distaddfile vim-nox-
This looks like a bug in vim's debian/rules:
doko | the indep and arch targets are run in parallel
pitti | ah, it never sets DH_OPTIONS=-a or -s, just -i