Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 1995 16:25:53 -0800 (PST)
From:      bmk@dtr.com
To:        bde@zeta.org.au (Bruce Evans)
Cc:        current@freebsd.org
Subject:   Re: make world failed with -current
Message-ID:  <199511030025.QAA05775@dtr.com>
In-Reply-To: <199511021930.GAA00243@godzilla.zeta.org.au> from "Bruce Evans" at Nov 3, 95 06:30:02 am

next in thread | previous in thread | raw e-mail | index | archive | help

> >I've encountered several other problems building -current on a 2.0.5
> >system.  I've found workarounds for all of them except one.

> >gnu/usr.bin/groff/pic won't build, it complains of an unterminated
> >character constant.  (This is using sources obtained via CTM on Oct.
> >31).

> >|cc -O -I. -I/usr/src/gnu/usr.bin/groff/pic/../include -DHAVE_UNISTD_H=1
> >|-DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_DIR_H=1
> >|-DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1
> >|-DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1
> >|-DSTDIO_H_DECLARES_POPEN=1 -DSTDIO_H_DECLARE_PCLOSE=1 -DRETSIGTYPE=void
> >|-DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_SYS_SIGLIST=1   -c
> >|pic.c
> >|pic.y:1630: unterminated character constant
> >|*** Error code 1

> pic.c shouldn't exist.  groff/Makefile.cfg contains a .y.cc rule that
> is supposed to produce pic.cc.  It has always worked here.

Here's the wierdest part:  I grabbed the groff/pic sources from
ftp.freebsd.org:/pub/FreeBSD/FreeBSD-current/you-know-the-rest.  Just
for kicks, I diffed them against my tree.  No differences.  Did a 'make
all' on the fresh sources, and they compiled fine.

Something must have got dorked up during an intermediary step which
confused make.  Dunno.

I guess the moral of the story is "When in doubt, do a ``make clean''
first."  :)

Now that I've an almost-i100%-working -current system, I'm going to make 
clean the whole tree and see if the build can go 100% smoothly.  I have
a suspicion that it'll go a lot smoother than the build on top of 2.0.5.
:)




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