On Tue, Feb 28, 06:04, Helmut Grohne wrote
> Source: tfortune
> Version: 1.0.1-1
> Tags: patch
> User: debian-cr...@lists.debian.org
> Usertags: ftcbfs
> 
> tfortune fails to cross build from source.

First of all, thanks for pointing this out and for providing a
patch. Most likely, nobody has ever tried to cross build tfortune,
so failures are kind of expected...

> The immediate failure is failing to find the lopsub library since it
> configures for the build architecture. This happens as no --build nor --host
> is passed which would have happened automatically if dh_auto_configure could
> be used.  Thus it'll have to be passed manually.

Do you recommend to get rid of the override_dh_auto_configure target
in debian/rules?

> Then configure fails finding config.h.in, which for some reason is not
> created (nor asked for) by the override_dh_autoreconf. And finally, the
> actual Makefile does not pick up the compiler detected by configure and
> rather uses plain cc, so we'll have to tell it as well. All in all, the build
> system is quite arcane and requires many fiddles to make it work properly.
> I'm attaching a patch for your convenience and generally recommend using
> something more standard if possible.

I'm in favor of switching to something more standard, but I will
need your help. What's the best way forward to improve on the current
situation? Do you want me to apply your patch as is and push out the
result to the public repo? Is there anything else I can do to make
life easier for the Debian people?

Thanks again
Andre
-- 
Max Planck Institute for Biology
Tel: (+49) 7071 601 829
Max-Planck-Ring 5, 72076 Tübingen, Germany
http://people.tuebingen.mpg.de/maan/

Attachment: signature.asc
Description: PGP signature

Reply via email to