[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#922646: cadabra FTCBFS: wrong pkg-config/strip



I'm happy to merge this with my master branch, but please note that all development now takes place on cadabra2, for which packages will be in debian soon. There really isn't any good reason anymore to keep using cadabra1, except backward compatibility with existing old notebooks.

Cheers,
Kasper

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

Reply to: