#1104342 tty-solitaire FTCBFS: multiple reasons

#1104342#5
Date:
2025-04-29 07:47:24 UTC
From:
To:
tty-solitaire fails to cross build from source for multiple reasons. For
one thing the bare make invocation will use the build architecture
compiler combined with the host architecture compiler flags and that
tends to end badly.

Then there is help2man, which fundamentally cannot work for cross
builds.

I propose doing two builds. First, a native build is performed even when
a cross build is requested. Matching compiler flags are generated using
--reload-all-buildenv-variables. After running help2man on the native
build, the build can be redone as needed.

The double build requires duplicating the ncurses dependency.

I'm attaching a patch for your convenience

Helmut