From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 25 19:20:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5B3010657D8 for ; Sun, 25 May 2008 19:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 798498FC31 for ; Sun, 25 May 2008 19:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4PJK2Gj064785 for ; Sun, 25 May 2008 19:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4PJK2ZD064784; Sun, 25 May 2008 19:20:02 GMT (envelope-from gnats) Resent-Date: Sun, 25 May 2008 19:20:02 GMT Resent-Message-Id: <200805251920.m4PJK2ZD064784@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jonathan Lennox Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF3F1106566B for ; Sun, 25 May 2008 19:13:27 +0000 (UTC) (envelope-from lennox@cs.columbia.edu) Received: from cnr.cs.columbia.edu (cnr.cs.columbia.edu [128.59.19.133]) by mx1.freebsd.org (Postfix) with ESMTP id B510D8FC1C for ; Sun, 25 May 2008 19:13:27 +0000 (UTC) (envelope-from lennox@cs.columbia.edu) Received: from cnr.cs.columbia.edu (localhost [127.0.0.1]) by cnr.cs.columbia.edu (8.13.6/8.13.6) with ESMTP id m4PJDQYY035332 for ; Sun, 25 May 2008 15:13:26 -0400 (EDT) (envelope-from lennox@cnr.cs.columbia.edu) Received: (from lennox@localhost) by cnr.cs.columbia.edu (8.13.6/8.13.6/Submit) id m4PJDQje035329; Sun, 25 May 2008 15:13:26 -0400 (EDT) (envelope-from lennox) Message-Id: <200805251913.m4PJDQje035329@cnr.cs.columbia.edu> Date: Sun, 25 May 2008 15:13:26 -0400 (EDT) From: Jonathan Lennox To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/123985: devel/autoconf262 doesn't build with system texinfo on FreeBSD 5.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jonathan Lennox List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2008 19:20:02 -0000 >Number: 123985 >Category: ports >Synopsis: devel/autoconf262 doesn't build with system texinfo 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: Sun May 25 19:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jonathan Lennox >Release: FreeBSD 5.5-RELEASE-p20 i386 >Organization: Columbia University >Environment: System: FreeBSD cnr.cs.columbia.edu 5.5-RELEASE-p20 FreeBSD 5.5-RELEASE-p20 #27: Thu Apr 17 12:35:22 EDT 2008 lennox@cnr.cs.columbia.edu:/usr/obj/usr/src/sys/CNR i386 >Description: The port devel/autoconf262 doesn't build using the system texinfo on FreeBSD 5.x. The build fails as follows: gmake[2]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/doc' Updating ./version.texi restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/sh /usr/ports/devel/autoconf262/work/autoconf-2.62/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \ for f in autoconf-2.62.info autoconf-2.62.info-[0-9] autoconf-2.62.info-[0-9][0-9] autoconf-2.62.i[0-9] autoconf-2.62.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 /bin/sh /usr/ports/devel/autoconf262/work/autoconf-2.62/build-aux/missing --run makeinfo --no-split -I . \ -o autoconf-2.62.info autoconf-2.62.texi; \ then \ rc=0; \ cd .; \ else \ rc=$?; \ cd . && \ $restore $backupdir/* `echo "./autoconf-2.62.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc autoconf-2.62.texi:1723: Unknown command `'. autoconf-2.62.texi:3353: Unknown command `'. autoconf-2.62.texi:3920: Unknown command `'. [Many more instances of "Unknown command" error omitted.] makeinfo: Removing output file `autoconf-2.62.info' due to errors; use --force to preserve. gmake[2]: *** [autoconf-2.62.info] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/doc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62' gmake: *** [all] Error 2 *** Error code 2 >How-To-Repeat: On FreeBSD 5.x: portinstall devel/autoconf262 >Fix: The following patch fixes the problem, by using the version of makeinfo from the print/texinfo port on FreeBSD 5.x. See also PRs ports/106379 and ports/106385, which fixed the same problem for m4 and automake respectively. --- devel/autoconf262/Makefile.orig Sun May 25 15:03:59 2008 +++ devel/autoconf262/Makefile Sun May 25 15:04:58 2008 @@ -28,6 +28,13 @@ USE_GMAKE= yes USE_PERL5= yes INFO= autoconf-${BUILD_VERSION} +.include + +.if ${OSVERSION} < 600000 +BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo +CONFIGURE_ENV+= MAKEINFO="${LOCALBASE}/bin/makeinfo" +.endif + GNU_CONFIGURE= yes CONFIGURE_ENV+= CONFIG_SHELL=${SH} M4=${LOCALBASE}/bin/gm4 CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION} --without-lispdir @@ -57,4 +64,4 @@ post-install: @${INSTALL_SCRIPT} ${WRKSRC}/build-aux/${FILE} ${PREFIX}/share/autoconf-${BUILD_VERSION} .endfor -.include +.include >Release-Note: >Audit-Trail: >Unformatted: