#1110487 opennds FTCBFS: uses build arch strip

Package:
opennds
Source:
opennds
Submitter:
Nilesh Patra
Date:
2025-08-31 15:55:06 UTC
Severity:
normal
Tags:
#1110487#5
Date:
2025-08-06 20:40:03 UTC
From:
To:
Dear Maintainer,

opendns uses `strip <binary>` in the Makefile which causes the strip of
the build arch to be invoked. It will fail during cross builds because the
binary is compiled for host arch.

It also uses STRIP as a bool var which is weird because there are buildsystems
that set it. It should conditionally set the same based on whether or not
its already defined.

In case of debian. dh_strip will take care of it already so we can simply set
this to true in d/rules.

I've attached a patch to fix this. Please consider applying.

Thanks
Nilesh