Dmitry Smirnov <> writes:

> Hi Rob,
> On Tuesday, 26 December 2017 9:17:34 AM AEDT Rob Browning wrote:
>> I'd like to remove guile-2.0 before the buster release, so please
>> migrate to guile-2.2 when you can.
> I tried to build Gnucash with "guile-2.2" but "dh_strip" failed as follows:
> ~~~~
> dh_strip --dbgsym-migration='gnucash-dbg (<< 1:2.6.13~)'
> strip: Unable to recognise the format of the input file `debian/gnucash/usr/
> lib/x86_64-linux-gnu/gnucash/gnucash/scm/ccache/2.2/report.go'
> dh_strip: strip --remove-section=.comment --remove-section=.note --strip-
> unneeded debian/gnucash/usr/lib/x86_64-linux-gnu/gnucash/gnucash/scm/ccache/
> 2.2/report.go returned exit code 1
> ~~~~
> There is no such problem with "guile-2.0"...
> Any ideas what could be done about that?

dh_strip just needs to ignore guile's .go files -- its guess is
uncorrect .  They're not normal object files, they just use the ELF

Although it might be too general, I wonder if "dh_strip ... -X.go" would
work, as long as you don't have any other files with .go in the name
that should be stripped.  What we'd really need is dh_strip globbing,
i.e. "*.go".

Alternately, you can just override the dh_strip target and only
(manually) strip the relevant *.so, etc. files in the override.

Hope this helps.
Rob Browning
rlb and
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4

Reply via email to