Subject: Re: -current build status
To: None <wsoren@gmail.com>
From: Havard Eidnes <he@NetBSD.org>
List: current-users
Date: 01/22/2005 00:12:07
> actually i was really blind, forgot to log the stderr,
> it's been a hard day. Sorry.

;-)

> #    create  libgroff/cmap.d
> CC=3D/usr/src/obj/tooldir.NetBSD-2.0-i386/bin/i386--netbsdelf-gcc /us=
r/src/obj/tooldir.NetBSD-2.0-i386/bin/nbmkdep -f cmap.d --     -nostdin=
c++ -isystem-cxx  /usr/src/obj/destdir.i386/usr/include/g++     -nostdi=
nc -isystem /usr/src/obj/destdir.i386/usr/include  /usr/src/gnu/dist/gr=
off/src/libs/libgroff/cmap.cpp
> /usr/src/gnu/dist/groff/src/libs/libgroff/cmap.cpp:24:18: cmap.h: No =
such file or directory
> nbmkdep: compile failed.

Hmm...  In my case it does:

#    create  libgroff/cmap.d
CC=3D/usr/tools/bin/i386--netbsdelf-gcc /usr/tools/bin/nbmkdep -f cmap.=
d --   -DHAVE_CONFIG_H -I/usr/users/he/src/gnu/dist/groff/src/include -=
I/usr/users/he/src/gnu/usr.bin/groff/src/include  -nostdinc++ -isystem-=
cxx  /usr/dest/i386/usr/include/g++     -nostdinc -isystem /usr/dest/i3=
86/usr/include  /usr/users/he/src/gnu/dist/groff/src/libs/libgroff/cmap=
.cpp

and succeeds.  Note that a couple of things are missing in your command=

line: -DHAVE_CONFIG_H and an -I specification of the place where cmap.h=

version 1.1.1.1 is to be found.  Hmm, you have not by any chance a dire=
ct
assignment to CFLAGS in your /etc/mk.conf?  You need to do CFLAGS+=3D
instead, CFLAGS is being added to in src/gnu/usr.bin/groff/Makefile.inc=
.=


Regards,

- H=E5vard