Discussion:
Bug#946255: dwz: returns exit status 1, causing FTBFS in deal.ii
(too old to reply)
Graham Inggs
2019-12-06 10:10:02 UTC
Permalink
Source: dwz
Version: 0.13-3
Severity: important
Affects: src:deal.ii

Hi Maintainer

Since upgrading to dwz 0.13-3 (and with 0.13-4), deal.ii FTBFS with the
following error:

dh_dwz -O--max-parallel=2
dwz:
debian/libdeal.ii-9.1.1/usr/lib/x86_64-linux-gnu/libdeal.ii.so.9.1.1:
Too many DIEs, not optimizing
dwz: Too few files for multifile optimization
dh_dwz: dwz
-mdebian/libdeal.ii-9.1.1/usr/lib/debug/.dwz/x86_64-linux-gnu/libdeal.ii-9.1.1.debug
-M/usr/lib/debug/.dwz/x86_64-linux-gnu/libdeal.ii-9.1.1.debug --
debian/libdeal.ii-9.1.1/usr/lib/x86_64-linux-gnu/libdeal.ii.g.so.9.1.1
debian/libdeal.ii-9.1.1/usr/lib/x86_64-linux-gnu/libdeal.ii.so.9.1.1
returned exit code 1
make: *** [debian/rules:7: binary] Error 255

With dwz 0.13-1 and 0.13-2, the build is successful, but includes the
same warnings:

dh_dwz -O--max-parallel=2
dwz:
debian/libdeal.ii-9.1.1/usr/lib/x86_64-linux-gnu/libdeal.ii.so.9.1.1:
Too many DIEs, not optimizing
dwz: Too few files for multifile optimization
dh_dwz: No dwz multifile created, but not explicitly requested either so
ignoring it.
dh_dwz: Common issues include no debug information at all (missing -g) and
dh_dwz: compressed debug information (#931891).

Regards
Graham
Graham Inggs
2019-12-06 11:00:01 UTC
Permalink
Control: affects -1 src:deal.ii
Control: forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=25252


Testcase (~550MB) available at:
https://people.debian.org/~ginggs/dwz-deal.ii-testcase.tar.xz
Graham Inggs
2019-12-07 08:40:01 UTC
Permalink
Control: reassign -1 src:deal.ii 9.1.1-4
Control: severity -1 + serious
Control: tags -1 + ftbfs patch

As per upstream's comments, dwz exiting with status 0 when exceeding
the DIE limit was a bug introduced in 0.13. The exit status should be
1, and I think the solution for deal.ii is either to increase the DIE
limit (as below), or stop using dwz.


--- a/debian/rules
+++ b/debian/rules
@@ -72,6 +72,10 @@
# Do not compress example source code, and icons:
dh_compress -X.cc -X.ico

+override_dh_dwz:
+ # Double up the limit of debug information entries:
+ dh_dwz -- -L 100000000
+
VERSION := 9.1.1
get-orig-source:
wget --no-clobber -O deal.ii-$(VERSION).tar.gz
https://github.com/dealii/dealii/releases/download/v$(VERSION)/dealii-$(VERSION).tar.gz
Graham Inggs
2019-12-22 07:10:01 UTC
Permalink
Control: severity -1 serious
Control: tags -1 + pending
Control: block -1 by 944688

Fixed in git, waiting on #944688 in Trilinos which requires a trip through NEW.
Loading...