Date: Tue, 15 Jun 1999 09:21:47 -0700 (PDT) From: eischen@vigrid.com To: freebsd-gnats-submit@freebsd.org Subject: ports/12224: DDD (version 3.1.5) port fails to build Message-ID: <19990615162147.4839C15393@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990615162147.4839C15393>