Date: Tue, 5 Dec 2006 13:21:04 -0500 (EST) From: Jonathan Lennox <lennox@cs.columbia.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/106385: devel/gnu-automake 1.10 doesn't build on FreeBSD 5.x. Message-ID: <200612051821.kB5IL4Ik082884@cnr.cs.columbia.edu> Resent-Message-ID: <200612051830.kB5IUMZ6067518@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106385 >Category: ports >Synopsis: devel/gnu-automake 1.10 doesn't build on FreeBSD 5.x. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 05 18:30:21 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jonathan Lennox >Release: FreeBSD 5.4-RELEASE-p22 i386 >Organization: Columbia University >Environment: System: FreeBSD cnr.cs.columbia.edu 5.4-RELEASE-p22 FreeBSD 5.4-RELEASE-p22 #17: Mon Oct 16 12:06:59 EDT 2006 lennox@cnr.cs.columbia.edu:/usr/obj/usr/src/sys/CNR i386 >Description: 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. >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. >Fix: Make the port use the print/texinfo version of makeinfo on FreeBSD versions before 6.0. See also PR ports/106379. --- automake.patch begins here --- --- Makefile.orig Tue Dec 5 13:07:07 2006 +++ Makefile Tue Dec 5 13:14:10 2006 @@ -37,4 +37,12 @@ post-patch: @(cd ${WRKSRC}/doc && ${RM} -f *.info*) -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 600000 +# Texinfo files use features of makeinfo not present in FreeBSD 5.x's makeinfo 4.6 +BUILD_DEPENDS += ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo +CONFIGURE_ARGS += MAKEINFO=${LOCALBASE}/bin/makeinfo +.endif + +.include <bsd.port.post.mk> --- automake.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612051821.kB5IL4Ik082884>