parallel build race condition between dh_gencontrol and dh_strip

Bug #1509299 reported by Martin Pitt
6
This bug affects 1 person
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=vim-dbg
dh_strip debug symbol extraction: enabling -a due to Build-Debug-Symbols: yes in /CurrentlyBuilding
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»/debian/vim-gnome-dbgsym': No such file or directory
we have -dbg package(s), not installing anything into ddeb
we have -dbg package(s), not installing anything into ddeb
find: `/«PKGBUILDDIR»/debian/vim-gtk-dbgsym': No such file or directory
find: `/«PKGBUILDDIR»/debian/vim-athena-dbgsym': No such file or directory
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-dummy-debian-files: No such file or directory
/usr/bin/pkg_create_dbgsym: deferring build of .ddeb to dh_gencontrol
/usr/bin/pkg_create_dbgsym: deferring build of .ddeb to dh_gencontrol
Error: parsed ddeb section or priority is empty
make: *** [binary-arch-vim-athena] Error 1
make: *** Waiting for unfinished jobs....
debian/rules:555: recipe for target 'binary-arch-vim-athena' failed
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»/debian/vim-nox-dbgsym': No such file or directory
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/pkg_create_dbgsym: deferring build of .ddeb to dh_gencontrol
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/vim-nox-dbgsym)
dh_gencontrol debug symbol wrapper: building vim-nox-dbgsym_7.4.826-1ubuntu1_armhf.ddeb
dpkg-deb: building package 'vim-nox-dbgsym' in '../vim-nox-dbgsym_7.4.826-1ubuntu1_armhf.ddeb'.
dh_gencontrol debug symbol wrapper: dpkg-distaddfile vim-nox-dbgsym_7.4.826-1ubuntu1_armhf.ddeb editors extra

Revision history for this message
Martin Pitt (pitti) wrote :
Changed in pkg-create-dbgsym (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
Revision history for this message
Martin Pitt (pitti) wrote :

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

affects: pkg-create-dbgsym (Ubuntu) → vim (Ubuntu)
Changed in vim (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.