On Mon, Sep 14, 2026 at 12:32:43AM +0200, Patrice Dumas wrote:
> Hello,
> 
> There could be different settings in the main Texinfo directory, and in
> the texi2any tta directory, since in tta/ the build flags and compiler
> should be compatible with Perl building flags.  Therefore, using
> configure --config-cache/--cache-file arguments is very risky in
> Texinfo.  The features found in the main directory may be different from
> the features available in texi2any.  Using cached values could bring in
> values found for the main directory that are not correct in the context of
> texi2any.
> 
> We got bitten by that in the CI, we use clang with specific flags in a
> test platform, but tta uses gcc with other flags because this is what
> was used to build Perl, as found out by Bruno.  We passed --config-cache
> which lead to an header file being detected as being present with clang
> begin also present in tta, while the gcc used to build Perl does not
> have this file.
> 
> I have added some information along that in INSTALL in
> https://cgit.git.savannah.gnu.org/cgit/texinfo.git/commit/?id=0e6b8c86e5de6c420d68cc62cd74be3f784f8945
> 
> I do not know if it should be more visible.

What you wrote looks fine to me.  I don't use this option much so
haven't encountered the problem you are describing.  If I was running
configure a lot I might try to look for other possibilities.

Reply via email to