From owner-freebsd-ports Tue Jun 15 9:30: 3 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 24F3F1505F for ; Tue, 15 Jun 1999 09:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA10532; Tue, 15 Jun 1999 09:30:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 4839C15393; Tue, 15 Jun 1999 09:21:47 -0700 (PDT) Message-Id: <19990615162147.4839C15393@hub.freebsd.org> Date: Tue, 15 Jun 1999 09:21:47 -0700 (PDT) From: eischen@vigrid.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: ports/12224: DDD (version 3.1.5) port fails to build Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12224 >Category: ports >Synopsis: DDD (version 3.1.5) port fails to build >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 15 09:30:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Daniel Eischen >Release: 3.2-stable >Organization: NA >Environment: FreeBSD clcrtr1.clc.gdeb.com 3.2-STABLE FreeBSD 3.2-STABLE #0: Tue Jun 8 11:15:28 EDT 1999 i386 >Description: ==> Making all in ./ddd... gmake[1]: Entering directory `/opt/src/ports/devel/ddd/work/ddd-3.1.5/ddd' Building ddd-3.1.5-i386-portbld-freebsd3.2... [ compile messages elided ] c++ -DHAVE_CONFIG_H -DNDEBUG -O2 -W -Wall -Wno-uninitialized -pipe -fexternal-templates -felide-constructors -fconserve-space -trigraphs -c -I. -I. -I./.. -I/usr/dt/include -I/usr/X11R6/include -o VSLRead.o VSLRead.C In file included from VSLRead.C:112: /usr/share/misc/bison.simple:302: unterminated `#else' conditional VSLRead.C: In function `int VSLLib_parse()': VSLRead.C:120: parse error before `{' VSLRead.C:123: `s' undeclared (first use this function) [ more messages elided ] The problem is an incomplete work/ddd-3.1.5/ddd/vsl-gramma.C. The tail of vsl-gramma.C is: #ifdef YYLSP_NEEDED vslls = vslls1; #endif #else /* no vsloverflow */ /* Extend the stack our own way. */ if (vslstacksize >= YYMAXDEPTH) { vslerror("parser stack overflow"); return 2; } vslstacksize *= 2; if (vslstacksize > YYMAXDEPTH) vslstacksize = YYMAXDEPTH; vslss = (short *) alloca (vslstacksize * sizeof (*vslssp)); __vsl_memcpy ((char *)vslss, (char *)vslss1, size * sizeof (*vslssp)); If you take a look at ddd-3.1.5/ddd/Makefile, you can figure out how vsl-gramma.C is built. The script yacctoC is used to build y.tab.C with the command "sed -f yacctoC.bison y.tab.c > y.tab.C". If you try this yourself, you'll see that it will fail to generate the entire file. It seems to be the sed script that is wrong, because the same thing happens when I try the above command on a Solaris 7 box. >How-To-Repeat: cd /usr/ports/devel/ddd make >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message