On Tue, Feb 28, 2023 at 11:13:24PM +0100, Andre Noll wrote:
> > 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?

As far as I understand it, you cannot. dh_auto_configure would pass
options that configure does not understand.

> 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?

If you are upstream, you can try making the build system behave more
like a standard autoconf one. We tend to expect that:
 * It uses a current version of autoconf that understands all options
   passed by dh_auto_configure (which could allow dropping the
   override).
 * Enabling use of dh_autoreconf.
 * Making the Makefile honour the settings (e.g. CC) detected by
   configure.

However, you may also choose to keep the present behaviour and apply my
patch to make it cross buildable.

I recommend scheduling this update for the trixie cycle as bookworm is
frozen and this is not an important bug.

Helmut

Reply via email to