Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2003 23:41:15 +0100
From:      Thomas Moestl <tmoestl@gmx.net>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Scott Long <scott_long@btc.adaptec.com>, re-builders@freebsd.org
Subject:   Re: Something's wrong with ports/devel...
Message-ID:  <20030110224115.GE1732@crow.dom2ip.de>
In-Reply-To: <20030110222829.GA1196@athlon.pn.xcllnt.net>
References:  <20030110214547.GA1100@athlon.pn.xcllnt.net> <3E1F43AF.40002@btc.adaptec.com> <20030110222829.GA1196@athlon.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2003/01/10 at 14:28:29 -0800, Marcel Moolenaar wrote:
> On Fri, Jan 10, 2003 at 03:05:35PM -0700, Scott Long wrote:
> > >\begin{tail}
> > >        :
> > >===> deskutils/xwrits
> > >===>   Creating README.html for xwrits-2.15
> > >===> deskutils/yank
> > >===>   Creating README.html for yank-0.2.0
> > >===> deskutils/zorro
> > >===>   Creating README.html for zorro-1.1.8
> > >===> devel
> > >===>  Creating README.html
> > >\end{tail}
> > >
> > I used PORTSRELEASETAG=RELEASE_5_0_0 and it worked fine.  Without
> > this variable I got into an endless loop in chinese/
> 
> Well, that's comforting, because it means something is wrong
> with the makefiles or with make(1). Now let's see where it
> goes wrong...
> 
> Got it: ports/devel/m6811-gcc/Makefile
> 
> Running make with full debugging shows:
> 
> \begin{tail}
> 	:
> Global:MAKEFILE = Makefile
> Global:PORTNAME = gcc
> Global:PORTVERSION = 2.95.3
> Global:CATEGORIES = devel
> Global:MASTER_SITES = ${MASTER_SITE_GNU}
> Global:MASTER_SITE_SUBDIR = gcc
> Global:PKGNAMEPREFIX = m6811-
> Global:PATCH_SITES = http://stephane.carrez.free.fr/snapshots/
> Global:PATCHFILES = ${PORTNAME}-${PORTVERSION}-m68hc1x-20010922.diffs.gz
> Global:PATCH_DIST_STRIP = -p1
> Global:MAINTAINER = dinoex@FreeBSD.org
> Global:BUILD_DEPENDS = ${LOCALBASE}/bin/m6811-elf-as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
> Global:BUILD_DEPENDS = ${LOCALBASE}/bin/m6811-elf-as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils autoconf:${PORTSDIR}/devel/autoconf
> Global:ONLY_FOR_ARCHS = i386
> Global:USE_GMAKE = yes
> Global:HAS_CONFIGURE = yes
> Applying :S to "-O -pipe "
> \end{tail}
> 
> It never get's past the "Applying :S ..." :-(
> 
> There's no update for the makefile. Is this a genuine make(1) bug?

See the attached patch. S///g does hang (unsurprisingly).

	- Thomas

-- 
Thomas Moestl <tmoestl@gmx.net>	http://www.tu-bs.de/~y0015675/
              <tmm@FreeBSD.org>	http://people.FreeBSD.org/~tmm/
PGP fingerprint: 1C97 A604 2BD0 E492 51D0  9C0F 1FE6 4F1D 419C 776C

Index: Makefile
===================================================================
RCS file: /d/ncvs/ports/devel/m6811-gcc/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile	24 Dec 2002 09:47:20 -0000	1.20
+++ Makefile	10 Jan 2003 22:41:38 -0000
@@ -28,7 +28,7 @@
 
 USE_GMAKE=	yes
 HAS_CONFIGURE=	yes
-CFLAGS:=	${CFLAGS:S/${_CPUCFLAGS}//g}
+CFLAGS:=	${CFLAGS:S/\${_CPUCFLAGS}//g}
 PLIST_SUB=	GCC_VER=${PORTVERSION}
 CONFIGURE_ARGS=		--prefix=${PREFIX} --target=m6811-elf   \
 			--program-prefix=m6811-elf-

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ia64" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030110224115.GE1732>