ports/127728: ports/games/freebsd-games doesn't build, and larn(6) segfaults!

clemens fischer ino-news at spotteswoode.dnsalias.org
Mon Sep 29 20:20:01 UTC 2008


>Number:         127728
>Category:       ports
>Synopsis:       ports/games/freebsd-games doesn't build, and larn(6) segfaults!
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 29 20:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     clemens fischer
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD spotteswoode.dnsalias.org 8.0-CURRENT FreeBSD
8.0-CURRENT #3 r183438M: Sun Sep 28 20:40:36 CEST 2008
root at spotteswoode.dnsalias.org:/usr/obj/usr/src-main/sys/spott_fbsd8_i386

>Description:

people!  larn(6) of the freebsd games collection has ceased to function,
has ceased to provide us old folks with that cosy feeling of ... sorry,
i can't speak anymore ...

At first, I didn't want to alarm anyone:  It got into trouble on the
7 -> 8 transition or when the compiler got the big 4 in its version.

symptom:  segfaults whenever restoring a previous game or when reading
scrolls, right after the first few moves.  I cannot precisely locate the
problem, even after using CFLAGS=-g on it.

when trying to build the port, this is what happens (although i'm only
interested in larn(6), atc(6) comes first in the build and doesn't even
compile):

...
cd atc && make depend && make all
yacc -d grammar.y
cp y.tab.c grammar.c
lex -t  lex.l > lex.c
rm -f .depend
mkdep -f .depend -a     extern.c grammar.c graphics.c input.c lex.c list.c log.c main.c tunable.c update.c
echo atc: /usr/lib/libc.a /usr/lib/libl.a /usr/lib/libm.a /usr/lib/libcurses.a >> .depend
Warning: Object directory not changed from original /usr/ports/games/freebsd-games/work/freebsd-games-5.1.1/atc
cc -g -c extern.c
extern.c:68: error: storage size of 'tty_start' isn't known
*** Error code 1
...

>How-To-Repeat:

for the build, just try to "make" in the ports directory.  for larn(6),
cd into its directory, make(1) there and try it out with "./larn" and
doing some moves.

regards, clemens
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list