The texinfo documentation of automake version 1.10 uses the command @headitem, a texinfo feature introduced in texinfo version 4.7. /usr/src/contrib in FreeBSD 5 contains (a stripped-down version of) texinfo 4.6, and so the build of devel/gnu-automake 1.10 fails on those machines. Fix: Make the port use the print/texinfo version of makeinfo on FreeBSD versions before 6.0. See also PR ports/106379. How-To-Repeat: On a FreeBSD 5.x machine: cvsup your ports directory cd /usr/ports/devel/gnu-automake make The make will fail with: Making all in doc Updating ./version.texi restore=: && backupdir=".am$$" && am__cwd=`pwd` && cd . && rm -rf $backupdir && mkdir $backupdir && if (makeinfo --no-split --version) >/dev/null 2>&1; then for f in ./automake.info ./automake.info-[0-9] ./automake.info-[0-9][0-9] ./automake.i[0-9] ./automake.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 makeinfo --no-split -I . -o ./automake.info ./automake.texi; then rc=0; cd .; else rc=$?; cd . && $restore $backupdir/* `echo "././automake.info" | sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc ./automake.texi:645: Unknown command `headitem'. makeinfo: Removing output file `./automake.info' due to errors; use --force to preserve. *** Error code 1 Stop in /usr/ports/devel/gnu-automake/work/automake-1.10/doc. *** Error code 1 Stop in /usr/ports/devel/gnu-automake/work/automake-1.10. *** Error code 1 Stop in /usr/ports/devel/gnu-automake.
Responsible Changed From-To: freebsd-ports-bugs->ade Over to maintainer
ade 2006-12-05 19:28:07 UTC FreeBSD ports repository Modified files: devel/gnu-automake Makefile Log: Fix building documentation under FreeBSD < 6.0 PR: 106385 (with modifications) Submitted by: Jonathan Lennox <lennox@cs.columbia.edu> Revision Changes Path 1.64 +11 -2 ports/devel/gnu-automake/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with modifications, thanks.
I just observed the same original problem on a 5.4 box with the ports updated early morning (2008-06-30) using portsnap. Either the patch is not properly checked in or something else reversed it. Here is what worked for me: chmod a-x /usr/bin/info chmod a-x /usr/bin/texindex chmod a-x /usr/bin/makeinfo (I am not sure if all three are required, or a smaller subset will suffice) So, some patch to implement this may be needed.
1. This PR was closed on Tue Dec 5 19:28:20 UTC 2006 2. devel/gnu-automake does not exist any more 3. The only FreeBSD versions supported by the ports tree, as per numerous announcements, are RELENG_6 (currently 6.3-STABLE), RELENG_7 (currently 7.0-STABLE) and HEAD (currently 8.0-CURRENT). There's nothing to see here. Move along. -aDe