public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* [mingw,gdb cvs] make install error on gdb.textinfo
@ 2012-02-09 13:04 asmwarrior
  2012-02-09 13:35 ` Yao Qi
  0 siblings, 1 reply; 2+ messages in thread
From: asmwarrior @ 2012-02-09 13:04 UTC (permalink / raw)
  To: gdb

Hi, When I run the install command:

make -C gdb install INSTALL_PROGRAM='install -s' DESTDIR=/f/build_gdb/binnew

I get the error:

make: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb'
make[1]: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb'
make[2]: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/gnulib'
make  all-recursive
make[3]: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/gnulib'
make[4]: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/gnulib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/gnulib'
make[3]: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/gnulib'
make[2]: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/gnulib'
make[1]: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb'
make[1]: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb'
make[2]: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/doc'
make[2]: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/gdbserver'
make[2]: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/gdbserver'
make[2]: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/data-directory
'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/data-directory'

make[1]: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb'
make[1]: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb'
/bin/sh ../../gdb/gdb/../mkinstalldirs /f/build_gdb/binnew/mingw/share/gdb/pytho
n/gdb
mkdir -p -- /f/build_gdb/binnew/mingw/share/gdb/python/gdb
transformed_name=`t='s,y,y,'; \
                           echo gdb | sed -e "$t"` ; \
                 if test "x$transformed_name" = x; then \
                   transformed_name=gdb ; \
                 else \
                   true ; \
                 fi ; \
                 /bin/sh ../../gdb/gdb/../mkinstalldirs /f/build_gdb/binnew/mingw
/bin ; \
                 install -s gdb.exe \
                         /f/build_gdb/binnew/mingw/bin/$transformed_name.exe ; \
                 /bin/sh ../../gdb/gdb/../mkinstalldirs \
                         /f/build_gdb/binnew/mingw/share/man/man1 ; \
                 /bin/install -c -m 644 ../../gdb/gdb/gdb.1 \
                         /f/build_gdb/binnew/mingw/share/man/man1/$transformed_na
me.1 ; \
                 /bin/sh ../../gdb/gdb/../mkinstalldirs /f/build_gdb/binnew/mingw
/include/gdb ; \
                 /bin/install -c -m 644 jit-reader.h /f/build_gdb/binnew/mingw/in
clude/gdb/jit-reader.h
mkdir -p -- /f/build_gdb/binnew/mingw/bin
mkdir -p -- /f/build_gdb/binnew/mingw/share/man/man1
mkdir -p -- /f/build_gdb/binnew/mingw/include/gdb
make[2]: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb'
make[3]: Entering directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/doc'
(test "cp -p" = "ln -s" && \
           ln -s ../../../gdb/gdb/doc/all-cfg.texi gdb-cfg.texi) || \
         ln ../../../gdb/gdb/doc/all-cfg.texi gdb-cfg.texi || \
         cp ../../../gdb/gdb/doc/all-cfg.texi gdb-cfg.texi
echo "@set GDBVN `sed q ../../../gdb/gdb/doc/../version.in`" > ./GDBvn.new
if [ -n "(GDB) " ]; then \
           echo "@set VERSION_PACKAGE (GDB) " >> ./GDBvn.new; \
         fi
echo "@set BUGURL @uref{http://www.gnu.org/software/gdb/bugs/}" >> ./GDBvn.new
if [ "@uref{http://www.gnu.org/software/gdb/bugs/}" = "@uref{http://www.gnu.org/
software/gdb/bugs/}" ]; then \
           echo "@set BUGURL_DEFAULT" >> ./GDBvn.new; \
         fi
if test -z "-I ../../../gdb/gdb/doc/../../readline/doc"; then \
           echo "@set SYSTEM_READLINE" >> ./GDBvn.new; \
         fi
mv GDBvn.new GDBvn.texi
makeinfo --split-size=5000000 --split-size=5000000 -DHAVE_MAKEINFO_CLICK -I ../.
./../gdb/gdb/doc/../../readline/doc -I ../../../gdb/gdb/doc/../mi -I ../../../gd
b/gdb/doc \
                 -o gdb.info ../../../gdb/gdb/doc/gdb.texinfo
../../../gdb/gdb/doc/gdb.texinfo:24017: `@end' expected `defvar', but saw `table
'.
../../../gdb/gdb/doc/gdb.texinfo:23997: No matching `@end defvar'.
../../../gdb/gdb/doc/gdb.texinfo:23957: No matching `@end table'.
makeinfo: Removing output file `gdb.info' due to errors; use --force to preserve
.
make[3]: *** [gdb.info] Error 1
make[3]: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb/doc'
make[2]: *** [subdir_do] Error 1
make[2]: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb'
make[1]: *** [install-only] Error 2
make[1]: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb'
make: *** [install] Error 2
make: Leaving directory `/f/build_gdb/gdb/gdbgit/newbuild/gdb'


It looks like the last two changes in gdb.textinfo cause this error.

I revert back gdb.textinfo to 2012.01.27, and it works fine.

asmwarrior
ollydbg from codeblocks' forum

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [mingw,gdb cvs] make install error on gdb.textinfo
  2012-02-09 13:04 [mingw,gdb cvs] make install error on gdb.textinfo asmwarrior
@ 2012-02-09 13:35 ` Yao Qi
  0 siblings, 0 replies; 2+ messages in thread
From: Yao Qi @ 2012-02-09 13:35 UTC (permalink / raw)
  To: gdb, gdb-patches

On 02/09/2012 09:09 PM, asmwarrior wrote:
> Hi, When I run the install command:
> 
> make -C gdb install INSTALL_PROGRAM='install -s'
> DESTDIR=/f/build_gdb/binnew
> 

Hi, thanks for reporting this error.

> ../../../gdb/gdb/doc/gdb.texinfo:24017: `@end' expected `defvar', but
> saw `table
> '.
> ../../../gdb/gdb/doc/gdb.texinfo:23997: No matching `@end defvar'.
> ../../../gdb/gdb/doc/gdb.texinfo:23957: No matching `@end table'.
> makeinfo: Removing output file `gdb.info' due to errors; use --force to

This error exists on linux as well.  Here is the patch to fix.

-- 
Yao (齐尧) 

gdb/doc/

	* gdb.texinfo (Symbols In Python): Add missing `@end defvar'.

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 02beed7..4f863dd 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -23997,6 +23997,7 @@ of a symbol.  Each address class is a constant defined in the
 This is @code{True} if evaluating this symbol's value requires a frame
 (@pxref{Frames In Python}) and @code{False} otherwise.  Typically,
 local variables will require a frame, but other symbols will not.
+@end defvar
 
 @defvar Symbol.is_argument
 @code{True} if the symbol is an argument of a function.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-09 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-09 13:04 [mingw,gdb cvs] make install error on gdb.textinfo asmwarrior
2012-02-09 13:35 ` Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).