From owner-freebsd-stable Wed Nov 13 7:45:31 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28D2237B401 for ; Wed, 13 Nov 2002 07:45:28 -0800 (PST) Received: from access.inet.co.th (access.inet.co.th [203.151.127.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70C7B43E9E for ; Wed, 13 Nov 2002 07:45:26 -0800 (PST) (envelope-from pirat@access.inet.co.th) Received: from radwaste.thai-aec.org (TruPPP0A234.inet.co.th [203.151.124.234]) by access.inet.co.th (8.8.8/8.8.8) with ESMTP id WAA21853; Wed, 13 Nov 2002 22:45:07 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (firak.thai-aec.org. [192.168.1.55]) by radwaste.thai-aec.org (8.12.6/8.12.5) with ESMTP id gADFnuo3010540; Wed, 13 Nov 2002 22:49:58 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (localhost [127.0.0.1]) by firak.thai-aec.org (8.12.6/8.12.6) with ESMTP id gADFn9ef002208; Wed, 13 Nov 2002 22:49:09 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: (from pirat@localhost) by firak.thai-aec.org (8.12.6/8.12.6/Submit) id gADFn2YM002207; Wed, 13 Nov 2002 22:49:02 +0700 (ICT) (envelope-from pirat@access.inet.co.th) X-Authentication-Warning: firak.thai-aec.org: pirat set sender to pirat@access.inet.co.th using -f Date: Wed, 13 Nov 2002 22:49:02 +0700 From: pirat To: "David A. Panariti" Cc: FreeBSD-stable@FreeBSD.ORG Subject: Re: unexpected error from make Message-ID: <20021113154902.GA2079@thai-aec.org> References: <20021111013430.GA1785@thai-aec.org> <02Nov11.143712nzdt.119042@homer.fire.org.nz> <20021110.214510.608042616.davep@meduseld.net> Mime-Version: 1.0 Content-Type: text/plain; charset=tis-620 Content-Disposition: inline In-Reply-To: <20021110.214510.608042616.davep@meduseld.net> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD firak.thai-aec.org 4.7-STABLE FreeBSD 4.7-STABLE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi sirs, after reading Andrew hints, my instinct tells me that i should cvsup a fresh(y) ports tree and remake agian. the result was once again unexpected. there is no error at all, sure enough after remaking world with GENERIC kernel. i do not understand also. my system is FreeBSD firak.thai-aec.org 4.7-STABLE FreeBSD 4.7-STABLE #2: Sun Nov 10 14:44:19 ICT 2002 root@firak.thai-aec.org:/usr/obj/usr/src/sys/Firak i386 % anyway, i thanks to you all very much indeed. with best regards, psr On Sun, Nov 10, 2002 at 09:45:10PM -0500, David A. Panariti wrote: > Date: Sun, 10 Nov 2002 21:45:10 -0500 (EST) > To: andy@fud.org.nz > Cc: FreeBSD-stable@FreeBSD.ORG > Subject: Re: unexpected error from make > From: "David A. Panariti" > X-Mailer: Mew version 2.2 on XEmacs 21.4.10 (Military Intelligence) > > >>>>> "Andrew" == Andrew Thompson writes: > > Andrew> pirat wrote: > >> hi sirs, > >> > >> i face an unexpected error from making ImageMagick. they are > >> > >> install -c -o root -g wheel -m 444 > >> ./www/Magick++/thumbnail-sample-plain.jpg /us > >> r/local/share/doc/ImageMagick/www/Magick++ ===> Generating > >> temporary packing list ===> Compressing manual pages for > >> ImageMagick-5.5.1.4 ===> Running ldconfig /sbin/ldconfig -m > >> /usr/local/lib Syntax error: "(" unexpected (expecting "fi") > >> *** Error code 2 > >> Stop in /usr/ports/graphics/ImageMagick. > >> > >> i do not know how to solve this problem. the only way is to > >> rebuild my machine from source again. after my mchine is up, i > >> remake the port again. and i still have the same error. > >> > >> > > Andrew> For what its worth, I have the same error with bison at the > Andrew> moment. > Andrew> Mabey something in bsd.port.mk? > > I ran into this with bison too. Here's the details. I sent this to > the ports list the other day. The ImageMagic error may be due to a > different variable w/shell metachars, or a different problem entirely. > > While installing the port for devel/bison, I kept getting errors. > It turns out that bison has a PORTCOMMENT value with parens in it > which confuses the shell. > Putting quotes around the ${PORTCOMMENT} being echoed into the > +COMMENT file fixed things. > There may be other cases where vars should be quoted, too. Sorry, but > I don't have the time to search for them. > I'm not subscribed to this list, so I appreciate being CC'd on any > followup. > > davep > > here is the patch: > > --- bsd.port.mk.ORIG Thu Nov 7 16:18:39 2002 > +++ bsd.port.mk Thu Nov 7 16:18:48 2002 > @@ -3566,7 +3566,7 @@ > if [ -f ${COMMENT} ]; then \ > ${CP} ${COMMENT} ${PKG_DBDIR}/${PKGNAME}/+COMMENT; \ > else \ > - ${ECHO_CMD} ${PORTCOMMENT} > ${PKG_DBDIR}/${PKGNAME}/+COMMENT; \ > + ${ECHO_CMD} "${PORTCOMMENT}" > ${PKG_DBDIR}/${PKGNAME}/+COMMENT; \ > fi; \ > if [ -f ${PKGINSTALL} ]; then \ > ${CP} ${PKGINSTALL} ${PKG_DBDIR}/${PKGNAME}/+INSTALL; \ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message