[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Texinfo 7.0 can't find ARRAY
From: |
Mohammad Akhlaghi |
Subject: |
Texinfo 7.0 can't find ARRAY |
Date: |
Thu, 10 Nov 2022 02:44:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
Dear Texinfo developers,
I recently updated my Texinfo to version 7.0 but I am getting this error
message when I run 'make' in the 'doc/' directory of Gnuastro's source:
Can't use an undefined value as an ARRAY reference at
/usr/share/texinfo/Texinfo/Convert/Plaintext.pm line 1960.
I also updated my Gnulib to the latest commit (Commit 1db9041826f21c8;
Tue Nov 8 13:39:40 2022 -0800: a few hours ago). But that didn't solve
the problem.
You can see the full Gnuastro manual's Texinfo source here:
https://git.savannah.gnu.org/cgit/gnuastro.git/tree/doc/gnuastro.texi
In the P.S. I am also pasting the full output in case it can have
anything useful to help debug the problem.
The annoying thing is that 'gnuastro.info' is created! But it is empty.
So next time I run 'make', it simply doesn't do anything and unless I
delete 'gnuastro.info', I can't reproduce the problem.
Cheers,
Mohammad
P.S. Full output and error message when running 'make' in the 'doc'
directory of Gnuastro's source.
$ cd /path/to/gnuastro
$ make
make all-am
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd /path/to/gnuastro/doc && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh '/path/to/gnuastro/bootstrapped/build-aux/missing' makeinfo
--version) >/dev/null 2>&1; then \
for f in /path/to/gnuastro/doc/gnuastro.info
/path/to/gnuastro/doc/gnuastro.info-[0-9]
/path/to/gnuastro/doc/gnuastro.info-[0-9][0-9]
/path/to/gnuastro/doc/gnuastro.i[0-9]
/path/to/gnuastro/doc/gnuastro.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh '/path/to/gnuastro/bootstrapped/build-aux/missing' makeinfo
-I /path/to/gnuastro/bootstrapped/doc -I /path/to/gnuastro/doc -I
/path/to/gnuastro/doc \
-o /path/to/gnuastro/doc/gnuastro.info
/path/to/gnuastro/doc/gnuastro.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd /path/to/gnuastro/doc; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd /path/to/gnuastro/doc && \
$restore $backupdir/* `echo ".//path/to/gnuastro/doc/gnuastro.info" |
sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
Can't use an undefined value as an ARRAY reference at
/usr/share/texinfo/Texinfo/Convert/Plaintext.pm line 1960.
make[1]: *** [Makefile:2164: /path/to/gnuastro/doc/gnuastro.info] Error 25
- Texinfo 7.0 can't find ARRAY,
Mohammad Akhlaghi <=