Hi Helmut,

Thanks for your efforts in getting packages crossbuilded and nice to
read from you.

On Wed, Sep 04, 2019 at 08:31:28PM +0200, Helmut Grohne wrote:
> Source: lnav
> Version: 0.8.5-2
> Tags: patch upstream
> User: debian-cr...@lists.debian.org
> Usertags: ftcbfs
> 
> lnav fails to cross build from source for multiple reasons. The
> immediate failure comes from adding /usr/lib/x86_64-linux-gnu to the
> library search path. This is totally wrong and leads gcc to using
> incompatible libraries.
> 
> The second failure is tring to execute bin2c. It's only used during
> building and it is a tool whose behaviour is not dependent on the
> architecture it is built on. Thus we should use the build architecture
> compiler here. It can be detected using the AX_CC_FOR_BUILD macro from
> the autoconf-archive.
> 
> Then ptimec fails to run for the same reason as failing to run bin2c.
> I'm not sure what ptimec does exactly and whether it can be similarly
> compiled using the build architecture compiler. Thus my patch only
> solves the former problems. Please consider applying it anyway as a step
> towards making lnav cross buildable. Please close this bug when doing
> so even though lnav will continue to fail cross building.

Do you care enought here that I can convice you to explain the issues
upstream via an upstream issue?

I can consider to apply the patch you provided, but I would like to
diverge as less from upstream as possible as I will likely need to
rebase the patch then on next update again athough it's trivial it
would be good to convince upstream on the issue.

Regards,
Salvatore

Reply via email to