[Reproducible-builds] debhelper 9.20150811.0~reproducible2 incorrectly creating udeb -dbgsym packages in Jenkins

Chris Lamb lamby at debian.org
Sun Aug 30 09:04:11 UTC 2015


Hi Lunar,

Just a heads up that lowmem is FTBFS in Jenkins because something in the
dh_buildeb/dpkg-deb interface is creating the -dbgsym packages without a
.udeb extension:


dpkg-deb: building package 'lowmemcheck-dbgsym' in
'../lowmemcheck-dbgsym_1.43_amd64.deb'.
dpkg-deb: building package 'lowmem' in '../lowmem_1.43_all.udeb'.
dpkg-deb: building package 'lowmemcheck' in
'../lowmemcheck_1.43_amd64.udeb'.
 dpkg-genbuildinfo  >../lowmem_1.43_amd64.buildinfo
dpkg-genbuildinfo: error: cannot fstat file
../lowmemcheck-dbgsym_1.43_amd64.udeb: No such file or directory
dpkg-buildpackage: error: dpkg-genbuildinfo 
>../lowmem_1.43_amd64.buildinfo gave error exit status 2

debian/files is:

  lowmem_1.43_all.udeb debian-installer optional
  lowmem_1.43_amd64.buildinfo debian-installer optional
  lowmemcheck-dbgsym_1.43_amd64.udeb debugsym extra
             ^^^^^^^^^^^^^^^^^^^^^^^
  lowmemcheck_1.43_amd64.udeb debian-installer optional


I can paper over it with the attached patch but:

 * Is this specific to us? ie. because we are using some random Git
 version of debhelper?

 * Is this specific to dpkg-genbuildinfo? I don't think so given that
 debian/files and the filename itself is already out of sync by the time
 we are called.

 * I'm guessing the target filename should be .udeb (otherwise the debug
 symbols are uninstallable with d-i) rather than fixing it by always
 making debug symbol packages with .deb.

 * (Should we even be building ddeb's for udebs? Does d-i have the rest
 of the mechanism to make this remotely useful?)

Just to clarify, attached patch merely to concisely show the problem. I
mean, we should not be doing the filename calculation here (!) - I guess
dpkg-deb should be. But at *that* point it doesn't know to create a udeb
vs. deb, etc.

Anyway, just letting you know. Feel free to forward to the Debhelper
Maintainers list <debhelper-devel at lists.alioth.debian.org> or the BTS if
this is really an upstream issue, I'm afraid I just don't know enough
about the debug package proposal.

 [0] https://reproducible.debian.net/rb-pkg/unstable/amd64/lowmem.html


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debhelper.diff.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150830/bcb902a5/attachment.txt>


More information about the Reproducible-builds mailing list