On Sun, Sep 01, 2024 at 09:50:07PM +0200, Bruno Haible wrote:
> The automated build recipe for several platforms
>   - Ubuntu GNU/Linux 22.04
>   - CentOS GNU/Linux 7
>   - AlmaLinux 9
>   - Alpine Linux
>   - macOS 12, 13 (all x86_64)
>   - macOS 14 (arm64)
>   - FreeBSD 14.0
>   - NetBSD 10.0
>   - OpenBSD 7.5
>   - Solaris 11.4
>   - Solaris 11 OmniOS
>   - Cygwin 3.3.6 (32 bit) and 3.5.3 (64 bit)
>   - mingw (32 bit and 64 bit)
> succeeded, except that, compared to the previous report [1]:
> 
>   * On mingw, there is a build error
>     "Can't locate Texinfo/ModulePath.pm in @INC":

Thanks for running these tests and reporting the results.

It should be one of the very first files built.  I found in your log file
(at 
https://github.com/gnu-texinfo/ci-check/actions/runs/10656114725/job/29534461473,
 with a Github account):

cd tp && make  Texinfo/ModulePath.pm
make[1]: Entering directory 
'/cygdrive/d/a/ci-check/ci-check/texinfo-7.1.0.91-20240901/build/tp'
/usr/bin/mkdir -p Texinfo
sed -e 's|[@]USE_EXTERNAL_LIBINTL[@]|no|' \
    -e 's|[@]USE_EXTERNAL_EASTASIANWIDTH[@]|no|' \
    -e 's|[@]USE_EXTERNAL_UNIDECODE[@]|no|' \
    -e 's|[@]ICONV_CONVERTS_EUC_CN[@]|no|' \
  ../../tp/Texinfo/ModulePath.pm.in >Texinfo/ModulePath.pm

That appeared to work ok.  Does the ModulePath.pm file actually exist?

> make[4]: Entering directory 
> '/cygdrive/d/a/ci-check/ci-check/texinfo-7.1.0.91-20240901/build/doc/tp_api'
> restore=: && backupdir=".am$$" && \
> rm -rf $backupdir && mkdir $backupdir && \
> if (TEXINFO_DEV_SOURCE=1 
> top_srcdir="/cygdrive/d/a/ci-check/ci-check/texinfo-7.1.0.91-20240901/build/.."
>  
> top_builddir="/cygdrive/d/a/ci-check/ci-check/texinfo-7.1.0.91-20240901/build"
>  /cygdrive/c/Strawberry/perl/bin/perl ../../../tp/texi2any.pl --version) 
> >/dev/null 2>&1; then \
>   for f in texi2any_internals.info texi2any_internals.info-[0-9] 
> texi2any_internals.info-[0-9][0-9] texi2any_internals.i[0-9] 
> texi2any_internals.i[0-9][0-9]; do \
>     if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
>   done; \
> else :; fi && \
> if TEXINFO_DEV_SOURCE=1 
> top_srcdir="/cygdrive/d/a/ci-check/ci-check/texinfo-7.1.0.91-20240901/build/.."
>  
> top_builddir="/cygdrive/d/a/ci-check/ci-check/texinfo-7.1.0.91-20240901/build"
>  /cygdrive/c/Strawberry/perl/bin/perl ../../../tp/texi2any.pl -c 
> INFO_SPECIAL_CHARS_WARNING=0 -c 
> TREE_TRANSFORMATIONS=complete_tree_nodes_menus  -I ../../../doc/tp_api \
>  -o texi2any_internals.info `test -f 'texi2any_internals.texi' || echo 
> '../../../doc/tp_api/'`texi2any_internals.texi; \
> then \
>   rc=0; \
> else \
>   rc=$?; \
>   $restore $backupdir/* `echo "./texi2any_internals.info" | sed 
> 's|[^/]*$||'`; \
> fi; \
> rm -rf $backupdir; exit $rc
> Can't locate Texinfo/ModulePath.pm in @INC (you may need to install the 
> Texinfo::ModulePath module) (@INC contains: 
> \cygdrive\d\a\ci-check\ci-check\texinfo-7.1.0.91-20240901\build\tp 
> C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib 
> C:/Strawberry/perl/lib) at ../../../tp/texi2any.pl line 86.
> BEGIN failed--compilation aborted at ../../../tp/texi2any.pl line 115.
> make[4]: *** [Makefile:1906: texi2any_internals.info] Error 2
> make[4]: Leaving directory 
> '/cygdrive/d/a/ci-check/ci-check/texinfo-7.1.0.91-20240901/build/doc/tp_api'

Could it be an issue with backslashes being used as directory separators
in \cygdrive\d\a\ci-check\ci-check ... ?  It is strange that the
path is passed with forward slashes on the command line in the environment
variables top_builddir but is given with backslashes in the error.  Is
there any automatic conversion of backslashes on this platform that
could be responsible?

Reply via email to