On 18 February 2019 20:17:28 GMT, Helmut Grohne <helmut@subdivi.de> wrote:
Source: cadabra
Version: 1.46-6
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap
cadabra fails to cross build from source. For some reason, it calls
pkg-config from Makefile.in. Specifically, the wrong pkg-config after
./configure detected the right one and thus it uses the wrong flags
after ./configure detected the right ones. Instead, the values detected
by ./configure should be propagated to the relevant Makefiles. It also
runs the wrong strip. Stripping is generally a bad idea, because it
breaks DEB_BUILD_OPTIONS=nostrip as well as generating -dbgsym packages
beyond breaking cross compilation. The attached patch fixes both and
should be upstreamable. Please consider applying it.
Helmut