dwz 0.12.20190703-1 breaks verilator build

Bug #1835398 reported by Gianfranco Costamagna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dwz (Ubuntu)
Fix Released
Undecided
Matthias Klose
verilator (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

with old dwz 0.12-3
make[1]: Leaving directory '/verilator-4.016'
   dh_fixperms
   dh_missing
   dh_dwz
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   dh_gencontrol
dpkg-gencontrol: warning: package verilator: substitution variable ${perl:Depends} unused, but is defined
dpkg-gencontrol: warning: package verilator: substitution variable ${perl:Depends} unused, but is defined
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'verilator' in '../verilator_4.016-2_amd64.deb'.
dpkg-deb: building package 'verilator-dbgsym' in 'debian/.debhelper/scratch-space/build-verilator/verilator-dbgsym_4.016-2_amd64.deb'.
 Renaming verilator-dbgsym_4.016-2_amd64.deb to verilator-dbgsym_4.016-2_amd64.ddeb
 dpkg-genbuildinfo
 dpkg-genchanges >../verilator_4.016-2_amd64.changes
dpkg-genchanges: info: not including original source code in upload
 dpkg-source --after-build .
dpkg-source: info: unapplying reproducible_build.diff
dpkg-source: info: unapplying typos.diff
dpkg-source: info: unapplying pkgconfig.diff
dpkg-source: info: unapplying shebang.diff
dpkg-buildpackage: info: binary and diff upload (original source NOT included)

with the new one:
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_compress -Xexamples
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_fixperms
   dh_missing
   dh_dwz
dh_dwz: dwz -q -mdebian/verilator/usr/lib/debug/.dwz/x86_64-linux-gnu/verilator.debug -M/usr/lib/debug/.dwz/x86_64-linux-gnu/verilator.debug -- debian/verilator/usr/bin/verilator_bin debian/verilator/usr/bin/verilator_bin_dbg debian/verilator/usr/bin/verilator_coverage_bin_dbg returned exit code 1
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 20190704-0512

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

dwz -q -mdebian/verilator/usr/lib/debug/.dwz/x86_64-linux-gnu/verilator.debug -M/usr/lib/debug/.dwz/x86_64-linux-gnu/verilator.debug -- debian/verilator/usr/bin/verilator_bin debian/verilator/usr/bin/verilator_bin_dbg debian/verilator/usr/bin/verilator_coverage_bin_dbg

I can't attach the debian directory because verilator_bin_dbg is 70MB

Revision history for this message
Matthias Klose (doko) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

removing the blocking tag. It's unclear if dwz will change. verilator builds a binary without debug info, but why?

tags: removed: block-proposed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package verilator - 4.016-2ubuntu1

---------------
verilator (4.016-2ubuntu1) eoan; urgency=medium

  * honour system flags, to make the debug flags being injected correctly.
    (LP: #1835398)

 -- Gianfranco Costamagna <email address hidden> Sat, 06 Jul 2019 12:55:28 +0200

Changed in verilator (Ubuntu):
status: New → Fix Released
Changed in dwz (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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