Hey Helmut,

> libfiu fails to cross build from source for multiple reasons. The 
> immediate failure arises from trying to use ldd to determine the libc 
> soname. ldd operates by running the target object and that's something 
> we cannot do during cross compilation. I propose inspecting the object 
> using objdump instead. Once that is resolved, the Python stuff is being 
> built for the build architecture as no cross compilation settings are 
> passed. The easiest way of doing this - using dh_auto_* things with the 
> pybuild buildsystem - fixes this while also reducing the rules file. 
> Last but not least, make install computes compiler flags depending on 
> the compiler and since dh_auto_install does not pass cross tools, make 
> install tries to rebuild everything as it perceives a change in flags. 
> We may simply export cross tools for all targets. [...]

Adding Alberto (upstream) to the CC.  Alberto, how do you feel about
applying the upstream parts from Helmut's patch [0]? I'm happy to
apply the Debian bits.


Chris


 [0] 
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1115966;filename=libfiu_1.2-4.1.debdiff;msg=5



-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] 🍥 chris-lamb.co.uk
       `-

Reply via email to