Re: make buildworld fails:: cmap.h: No such file or directory

2005-12-06 Thread Ruslan Ermilov
On Sun, Dec 04, 2005 at 01:14:01PM -0600, Michael Bowerman wrote:
The poblem ended up being that I had in my make.conf:
CFLAGS= -O2 -pipe
CXXFLAGS= -O2 -pipe
 
I ended up just removing the CXXFLAGS line.  I probably cold have used
CXXFLAGS+=...  But, I don't think I have any needs for specific C++ flags.
 
Yes, CXXFLAGS is an addition to CFLAGS:

CXXFLAGS?=  ${CFLAGS:N-std=*:N-Wnested-externs:N-W*-prototypes}

That is, anything added to CFLAGS is also added to CXXFLAGS with
some exceptions.


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld fails:: cmap.h: No such file or directory

2005-12-04 Thread Ruslan Ermilov
On Sun, Dec 04, 2005 at 09:55:11AM +0200, Ruslan Ermilov wrote:
 On Sat, Dec 03, 2005 at 05:57:09PM -0600, Michael Bowerman wrote:
  When I do a make buildword, I get a bunch of .h files not found:
  /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/cmap.cpp:27:18:
  cmap.h: No such file or directory
  
  The cmap.h file is in another place in the source tree (an include
  directory, I think).  I'm wondering if this is a bug or some error on my
  part.  I tried to rm -rf /usr/src/* and rm -rf /usr/obj/*, before a cvsup.
  But, that didn't seem to help, and I tried a different cvsup mirror with no
  luck.
  
  I like to run update in one command so I can (when everything goes well)
  leave the computer to do its thing.  So, I typed: cvsup -g -L 2
  ~/stable-supfile   ! ~/buildworld.log  make -j4 buildworld  
  ~/buildworld.log  make -j4 buildkernel   ~/buildworld.log  make -j4
  installkernel   ~/buildworld.log 
  
  Here is the tail buildworld.log:
  
 You seem to be hard-wiring your CFLAGS in such a way that -I's from makefiles
 don't get passed to it.  The command should have been
 
 mkdep -f .depend -a -DHAVE_CONFIG_H -I.../contrib/groff/src/include ...
 
Forgot to add: this likely happens because you pass CFLAGS on the make's
command line, such as make ... CFLAGS=  This way, make(1) actually
has two CFLAGS variables: command-line and global.  CFLAGS+= adds to the
global CFLAGS variable but ${CFLAGS} expands a value of the command-line
CFLAGS variable (which has a higher precedence).  Go learn the different
types of make variables in the make(1) manpage.


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer


pgpBbtgGnkaOb.pgp
Description: PGP signature


Re: make buildworld fails:: cmap.h: No such file or directory

2005-12-04 Thread Michael Bowerman
The poblem ended up being that I had in my make.conf:
CFLAGS= -O2 -pipe
CXXFLAGS= -O2 -pipe

I ended up just removing the CXXFLAGS line.  I probably cold have used
CXXFLAGS+=...  But, I don't think I have any needs for specific C++ flags.


Thanks for the help,
Mike


On 12/4/05, Ruslan Ermilov [EMAIL PROTECTED] wrote:

 On Sun, Dec 04, 2005 at 09:55:11AM +0200, Ruslan Ermilov wrote:
  On Sat, Dec 03, 2005 at 05:57:09PM -0600, Michael Bowerman wrote:
   When I do a make buildword, I get a bunch of .h files not found:
  
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/cmap.cpp:27:18:
   cmap.h: No such file or directory
  
   The cmap.h file is in another place in the source tree (an include
   directory, I think).  I'm wondering if this is a bug or some error on
 my
   part.  I tried to rm -rf /usr/src/* and rm -rf /usr/obj/*, before a
 cvsup.
   But, that didn't seem to help, and I tried a different cvsup mirror
 with no
   luck.
  
   I like to run update in one command so I can (when everything goes
 well)
   leave the computer to do its thing.  So, I typed: cvsup -g -L 2
   ~/stable-supfile   ! ~/buildworld.log  make -j4 buildworld  
   ~/buildworld.log  make -j4 buildkernel   ~/buildworld.log  make
 -j4
   installkernel   ~/buildworld.log 
  
   Here is the tail buildworld.log:
  
  You seem to be hard-wiring your CFLAGS in such a way that -I's from
 makefiles
  don't get passed to it.  The command should have been
 
  mkdep -f .depend -a -DHAVE_CONFIG_H -I.../contrib/groff/src/include ...
 
 Forgot to add: this likely happens because you pass CFLAGS on the make's
 command line, such as make ... CFLAGS=  This way, make(1) actually
 has two CFLAGS variables: command-line and global.  CFLAGS+= adds to the
 global CFLAGS variable but ${CFLAGS} expands a value of the command-line
 CFLAGS variable (which has a higher precedence).  Go learn the different
 types of make variables in the make(1) manpage.


 Cheers,
 --
 Ruslan Ermilov
 [EMAIL PROTECTED]
 FreeBSD committer



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


make buildworld fails:: cmap.h: No such file or directory

2005-12-03 Thread Michael Bowerman
When I do a make buildword, I get a bunch of .h files not found:
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/cmap.cpp:27:18:
cmap.h: No such file or directory

The cmap.h file is in another place in the source tree (an include
directory, I think).  I'm wondering if this is a bug or some error on my
part.  I tried to rm -rf /usr/src/* and rm -rf /usr/obj/*, before a cvsup.
But, that didn't seem to help, and I tried a different cvsup mirror with no
luck.

I like to run update in one command so I can (when everything goes well)
leave the computer to do its thing.  So, I typed: cvsup -g -L 2
~/stable-supfile   ! ~/buildworld.log  make -j4 buildworld  
~/buildworld.log  make -j4 buildkernel   ~/buildworld.log  make -j4
installkernel   ~/buildworld.log 

Here is the tail buildworld.log:

mkdep -f .depend -a
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/assert.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/change_lf.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/cmap.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/color.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/cset.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/device.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/errarg.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/error.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/fatal.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/filename.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/font.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/fontfile.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/geometry.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/glyphuni.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/htmlhint.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/hypot.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/invalid.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/lf.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/lineno.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/macropath.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/maxfilename.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/mksdir.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/nametoindex.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/new.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/paper.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/prime.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/ptable.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/searchpath.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/string.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/strsave.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/symbol.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/tmpfile.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/tmpname.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/unicode.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/uniglyph.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/uniuni.cpp
version.cpp
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/cmap.cpp:27:18:
cmap.h: No such file or directory
/usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/color.cpp:26:17:
lib.h: No such file or 

Re: make buildworld fails:: cmap.h: No such file or directory

2005-12-03 Thread Ruslan Ermilov
On Sat, Dec 03, 2005 at 05:57:09PM -0600, Michael Bowerman wrote:
 When I do a make buildword, I get a bunch of .h files not found:
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/cmap.cpp:27:18:
 cmap.h: No such file or directory
 
 The cmap.h file is in another place in the source tree (an include
 directory, I think).  I'm wondering if this is a bug or some error on my
 part.  I tried to rm -rf /usr/src/* and rm -rf /usr/obj/*, before a cvsup.
 But, that didn't seem to help, and I tried a different cvsup mirror with no
 luck.
 
 I like to run update in one command so I can (when everything goes well)
 leave the computer to do its thing.  So, I typed: cvsup -g -L 2
 ~/stable-supfile   ! ~/buildworld.log  make -j4 buildworld  
 ~/buildworld.log  make -j4 buildkernel   ~/buildworld.log  make -j4
 installkernel   ~/buildworld.log 
 
 Here is the tail buildworld.log:
 
You seem to be hard-wiring your CFLAGS in such a way that -I's from makefiles
don't get passed to it.  The command should have been

mkdep -f .depend -a -DHAVE_CONFIG_H -I.../contrib/groff/src/include ...

and not as shown below.

 mkdep -f .depend -a
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/assert.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/change_lf.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/cmap.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/color.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/cset.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/device.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/errarg.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/error.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/fatal.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/filename.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/font.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/fontfile.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/geometry.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/glyphuni.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/htmlhint.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/hypot.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/invalid.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/lf.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/lineno.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/macropath.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/maxfilename.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/mksdir.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/nametoindex.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/new.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/paper.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/prime.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/ptable.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/searchpath.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/string.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/strsave.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/symbol.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/tmpfile.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/tmpname.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/unicode.cpp
 /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/groff/src/libs/libgroff/uniglyph.cpp