public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug compile/18113] New: GDB 7.9 fails to build when makeinfo is not installed
@ 2015-03-11 13:21 wpoely86 at gmail dot com
  2015-03-12 11:11 ` [Bug compile/18113] " wpoely86 at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: wpoely86 at gmail dot com @ 2015-03-11 13:21 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18113

            Bug ID: 18113
           Summary: GDB 7.9 fails to build when makeinfo is not installed
           Product: gdb
           Version: 7.9
            Status: NEW
          Severity: normal
          Priority: P2
         Component: compile
          Assignee: unassigned at sourceware dot org
          Reporter: wpoely86 at gmail dot com

This bug is more or less the same as
https://sourceware.org/bugzilla/show_bug.cgi?id=14678 , only this one is for
GDB 7.9.

If you don't have makeinfo installed, the make will fail:

make[5]: Entering directory
`/home/ward/tmp/eb_sandbox_20150311_13-46-46_buOYR/GDB/7.9/GCC-4.9.2/gdb-7.9/gdb/doc'
(test "ln -s" = "ln -s" && \
      ln -s ./all-cfg.texi gdb-cfg.texi) || \
    ln ./all-cfg.texi gdb-cfg.texi || \
    cp ./all-cfg.texi gdb-cfg.texi
date=`sed -n -e 's/^.* BFD_VERSION_DATE \(.*\)$/\1/p' ./../../bfd/version.h`; \
    sed -e "s/DATE/$date/" < ./../version.in > version.subst
echo "@set GDBVN `sed q version.subst`" > ./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 ./../../readline/doc"; then \
      echo "@set SYSTEM_READLINE" >> ./GDBvn.new; \
    fi
if [ -n "" ]; then \
      echo "@set SYSTEM_GDBINIT " >> ./GDBvn.new; \
    fi
mv GDBvn.new GDBvn.texi
/home/ward/tmp/eb_sandbox_20150311_13-46-46_buOYR/GDB/7.9/GCC-4.9.2/gdb-7.9/missing
makeinfo --split-size=5000000 --split-size=5000000   -I ./../../readline/doc -I
./../mi -I . \
        -o gdb.info ./gdb.texinfo
/home/ward/tmp/eb_sandbox_20150311_13-46-46_buOYR/GDB/7.9/GCC-4.9.2/gdb-7.9/missing:
line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <http://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <http://www.gnu.org/software/make/>
make[5]: *** [gdb.info] Error 127
make[5]: Leaving directory
`/home/ward/tmp/eb_sandbox_20150311_13-46-46_buOYR/GDB/7.9/GCC-4.9.2/gdb-7.9/gdb/doc'
make[4]: *** [subdir_do] Error 1
make[4]: Leaving directory
`/home/ward/tmp/eb_sandbox_20150311_13-46-46_buOYR/GDB/7.9/GCC-4.9.2/gdb-7.9/gdb'
make[3]: *** [install-only] Error 2
make[3]: Leaving directory
`/home/ward/tmp/eb_sandbox_20150311_13-46-46_buOYR/GDB/7.9/GCC-4.9.2/gdb-7.9/gdb'
make[2]: *** [install] Error 2
make[2]: Leaving directory
`/home/ward/tmp/eb_sandbox_20150311_13-46-46_buOYR/GDB/7.9/GCC-4.9.2/gdb-7.9/gdb'
make[1]: *** [install-gdb] Error 2
make[1]: Leaving directory
`/home/ward/tmp/eb_sandbox_20150311_13-46-46_buOYR/GDB/7.9/GCC-4.9.2/gdb-7.9'
make: *** [install] Error 2


This is because the missing script passes the return code (127) from the failed
call to makeinfo to make. Setting MAKEINFO=true (or false) will not help
because the configure script does a version check on makeinfo.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug compile/18113] GDB 7.9 fails to build when makeinfo is not installed
  2015-03-11 13:21 [Bug compile/18113] New: GDB 7.9 fails to build when makeinfo is not installed wpoely86 at gmail dot com
@ 2015-03-12 11:11 ` wpoely86 at gmail dot com
  2015-07-01  5:30 ` david.abdurachmanov at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: wpoely86 at gmail dot com @ 2015-03-12 11:11 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18113

wpoely86 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wpoely86 at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug compile/18113] GDB 7.9 fails to build when makeinfo is not installed
  2015-03-11 13:21 [Bug compile/18113] New: GDB 7.9 fails to build when makeinfo is not installed wpoely86 at gmail dot com
  2015-03-12 11:11 ` [Bug compile/18113] " wpoely86 at gmail dot com
@ 2015-07-01  5:30 ` david.abdurachmanov at gmail dot com
  2015-09-03 14:11 ` david.abdurachmanov at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: david.abdurachmanov at gmail dot com @ 2015-07-01  5:30 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18113

David Abdurachmanov <david.abdurachmanov at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david.abdurachmanov at gmail dot c
                   |                            |om

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug compile/18113] GDB 7.9 fails to build when makeinfo is not installed
  2015-03-11 13:21 [Bug compile/18113] New: GDB 7.9 fails to build when makeinfo is not installed wpoely86 at gmail dot com
  2015-03-12 11:11 ` [Bug compile/18113] " wpoely86 at gmail dot com
  2015-07-01  5:30 ` david.abdurachmanov at gmail dot com
@ 2015-09-03 14:11 ` david.abdurachmanov at gmail dot com
  2022-02-22 15:19 ` [Bug build/18113] " tromey at sourceware dot org
  2023-08-25 17:48 ` bugmenot at mailinator dot com
  4 siblings, 0 replies; 6+ messages in thread
From: david.abdurachmanov at gmail dot com @ 2015-09-03 14:11 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18113

--- Comment #2 from David Abdurachmanov <david.abdurachmanov at gmail dot com> ---
Here is mine:
https://github.com/cms-sw/cmsdist/blob/IB/CMSSW_7_6_X/next/gdb-disable-makeinfo.patch
(probably not good for upstream)

Basically if MAKEINFO is true, keep it as-is and ignore resetting MAKEINFO to
something else.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug build/18113] GDB 7.9 fails to build when makeinfo is not installed
  2015-03-11 13:21 [Bug compile/18113] New: GDB 7.9 fails to build when makeinfo is not installed wpoely86 at gmail dot com
                   ` (2 preceding siblings ...)
  2015-09-03 14:11 ` david.abdurachmanov at gmail dot com
@ 2022-02-22 15:19 ` tromey at sourceware dot org
  2023-08-25 17:48 ` bugmenot at mailinator dot com
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2022-02-22 15:19 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18113

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
Dup.

*** This bug has been marked as a duplicate of bug 14678 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug build/18113] GDB 7.9 fails to build when makeinfo is not installed
  2015-03-11 13:21 [Bug compile/18113] New: GDB 7.9 fails to build when makeinfo is not installed wpoely86 at gmail dot com
                   ` (3 preceding siblings ...)
  2022-02-22 15:19 ` [Bug build/18113] " tromey at sourceware dot org
@ 2023-08-25 17:48 ` bugmenot at mailinator dot com
  4 siblings, 0 replies; 6+ messages in thread
From: bugmenot at mailinator dot com @ 2023-08-25 17:48 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18113

John Doe <bugmenot at mailinator dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugmenot at mailinator dot com

--- Comment #5 from John Doe <bugmenot at mailinator dot com> ---
Rechecked with GDB 13.1, texinfo seems to be still necessary. :-/

using https://ftp.gnu.org/gnu/gdb/gdb-13.1.tar.xz 

$ cd /tmp
$ tar xf gdb-13.1.tar.gz
$ mkdir gdb-13.1/build
$ cd gdb-13.1/build
$ ../configure --prefix=/opt/gdb-13.1 --with-python --with-lzma
$ gmake -k  # output ignored
$ gmake 
gmake[1]: Entering directory `/tmp/gdb-13.1/build'
gmake[2]: Entering directory `/tmp/gdb-13.1/build/libiberty'
gmake[3]: Entering directory `/tmp/gdb-13.1/build/libiberty/testsuite'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tmp/gdb-13.1/build/libiberty/testsuite'
gmake[2]: Leaving directory `/tmp/gdb-13.1/build/libiberty'
gmake[2]: Entering directory `/tmp/gdb-13.1/build/intl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tmp/gdb-13.1/build/intl'
gmake[2]: Entering directory `/tmp/gdb-13.1/build/zlib'
gmake[2]: Nothing to be done for `all'.
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc -std=gnu99" "CFLAGS=-g -O2    "
"CXXFLAGS=-g -O2    " "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2"
"INSTALL=/bin/install -c" "INSTALL_DATA=/bin/install -c -m 644"
"INSTALL_PROGRAM=/bin/install -c" "INSTALL_SCRIPT=/bin/install -c" "LDFLAGS="
"LIBCFLAGS=-g -O2  " "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=gmake"
"MAKEINFO=/tmp/gdb-13.1/missing makeinfo --split-size=5000000
--split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh"
"EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/opt/gdb-13.1"
"infodir=/opt/gdb-13.1/share/info" "libdir=/opt/gdb-13.1/lib"
"prefix=/opt/gdb-13.1" "tooldir=/opt/gdb-13.1/x86_64-pc-linux-gnu" "AR=ar "
"AS=as" "CC=gcc -std=gnu99" "CXX=g++" "LD=ld" "LIBCFLAGS=-g -O2  " "NM=nm"
"PICFLAG=" "RANLIB=ranlib " "DESTDIR=" DO=all multi-do # gmake
gmake[2]: Leaving directory `/tmp/gdb-13.1/build/zlib'
gmake[2]: Entering directory `/tmp/gdb-13.1/build/libsframe'
gmake  all-am
gmake[3]: Entering directory `/tmp/gdb-13.1/build/libsframe'
gmake[3]: Leaving directory `/tmp/gdb-13.1/build/libsframe'
gmake[2]: Leaving directory `/tmp/gdb-13.1/build/libsframe'
gmake[2]: Entering directory `/tmp/gdb-13.1/build/bfd'
Making info in po
gmake[3]: Entering directory `/tmp/gdb-13.1/build/bfd/po'
gmake[3]: Nothing to be done for `info'.
gmake[3]: Leaving directory `/tmp/gdb-13.1/build/bfd/po'
gmake[3]: Entering directory `/tmp/gdb-13.1/build/bfd'
  MAKEINFO doc/bfd.info
/tmp/gdb-13.1/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <http://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <http://www.gnu.org/software/make/>
gmake[3]: *** [doc/bfd.info] Error 127
gmake[3]: Leaving directory `/tmp/gdb-13.1/build/bfd'
gmake[2]: *** [info-recursive] Error 1
gmake[2]: Leaving directory `/tmp/gdb-13.1/build/bfd'
gmake[1]: *** [all-bfd] Error 2
gmake[1]: Leaving directory `/tmp/gdb-13.1/build'
gmake: *** [all] Error 2


So I think the bug should be reopened.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2023-08-25 17:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-11 13:21 [Bug compile/18113] New: GDB 7.9 fails to build when makeinfo is not installed wpoely86 at gmail dot com
2015-03-12 11:11 ` [Bug compile/18113] " wpoely86 at gmail dot com
2015-07-01  5:30 ` david.abdurachmanov at gmail dot com
2015-09-03 14:11 ` david.abdurachmanov at gmail dot com
2022-02-22 15:19 ` [Bug build/18113] " tromey at sourceware dot org
2023-08-25 17:48 ` bugmenot at mailinator dot com

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).