Opened 12 years ago

Closed 12 years ago

#37965 closed defect (fixed)

gdb-apple needs texinfo as a build dependency

Reported by: cooljeanius (Eric Gallager) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: gdb-apple

Description

I tried installing gdb-apple, and it failed with the following error:

Making info in doc
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gdb-apple/gdb-apple/work/gdb-1822/src-x86_64/bfd/doc'
restore=: && backupdir=".am$$" && \
	am__cwd=`pwd` && cd . && \
	rm -rf $backupdir && mkdir $backupdir && \
	if (/opt/local/bin/makeinfo --split-size=5000000 --version) >/dev/null 2>&1; then \
	  for f in bfd.info bfd.info-[0-9] bfd.info-[0-9][0-9] bfd.i[0-9] bfd.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 /opt/local/bin/makeinfo --split-size=5000000   -I . \
	 -o bfd.info bfd.texinfo; \
	then \
	  rc=0; \
	  cd .; \
	else \
	  rc=$?; \
	  cd . && \
	  $restore $backupdir/* `echo "./bfd.info" | sed 's|[^/]*$||'`; \
	fi; \
	rm -rf $backupdir; exit $rc
/bin/sh: /opt/local/bin/makeinfo: No such file or directory
make[2]: *** [bfd.info] Error 127
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-1822/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-1822/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-1822/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-1822/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
    while executing
"$procedure $targetname"
Warning: targets not executed for gdb-apple: org.macports.activate org.macports.build org.macports.destroot org.macports.install

After installing the texinfo port, which provides /opt/local/bin/makeinfo, gdb-apple built successfully.

Change History (1)

comment:1 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

r102697, thanks.

Note: See TracTickets for help on using tickets.