#42796: gdb-apple @1824: build failure due to texinfo5 ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: gdb-apple ---------------------+-------------------------------- The error looks like this: {{{ ./elf.texi:1: warning: @section missing argument bfd.texinfo:335: unknown command `colophon' bfd.texinfo:346: unknown command `cygnus' ./bfdt.texi:313: raising the section level of @subsubsection which is too low ./init.texi:5: raising the section level of @subsubsection which is too low ./archive.texi:54: raising the section level of @subsubsection which is too low ./format.texi:27: raising the section level of @subsubsection which is too low ./reloc.texi:495: raising the section level of @subsubsection which is too low ./core.texi:8: raising the section level of @subsubsection which is too low ./opncls.texi:5: raising the section level of @subsubsection which is too low ./libbfd.texi:10: raising the section level of @subsubsection which is too low ./cache.texi:14: raising the section level of @subsubsection which is too low ./elf.texi:13: raising the section level of @subsubsection which is too low make[2]: *** [bfd.info] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_gdb-apple/gdb-apple/work/gdb-1824/src- x86_64/bfd/doc' make[1]: *** [info-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_gdb-apple/gdb-apple/work/gdb-1824/src- x86_64/bfd' make: *** [all-bfd] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_gdb-apple/gdb-apple/work/gdb-1824/src- x86_64' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_gdb-apple/gdb-apple/work/gdb-1824/src- x86_64" && /usr/bin/make -w all MAKEINFO="/opt/local/bin/makeinfo" LEXLIB="/opt/local/lib/libfl.a" Exit code: 2 Error: org.macports.build for port gdb-apple returned: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: command execution failed }}} Whenever I ran into this error when building my fork of gdb-apple manually, I would always work around it by making sure that a copy of texinfo4 appeared first in my path... I guess the solution here would be to use the system `makeinfo` (i.e. `/usr/bin/makeinfo`) here instead of the MacPorts one, as that is still version 4, at least on my machine: {{{ Local-Admins-MacBook-Pro:~ ericgallager$ /usr/bin/makeinfo --version makeinfo (GNU texinfo) 4.8 Copyright (C) 2004 Free Software Foundation, Inc. There is NO warranty. You may redistribute this software under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING. }}} -- Ticket URL: <https://trac.macports.org/ticket/42796> MacPorts <http://www.macports.org/> Ports system for OS X