Public bug reported:

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

** Affects: pkg-create-dbgsym (Ubuntu)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: New

** Attachment added: "build log"
   
https://bugs.launchpad.net/bugs/1509299/+attachment/4503103/+files/buildlog_ubuntu-xenial-armhf.vim_2%3A7.4.826-1ubuntu1_BUILDING.txt.gz

** Changed in: pkg-create-dbgsym (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

** Changed in: pkg-create-dbgsym (Ubuntu)
   Importance: Undecided => High

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

Title:
  parallel build race condition between dh_gencontrol and dh_strip

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkg-create-dbgsym/+bug/1509299/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to