Re: make includes

2002-10-07 Thread Mark Murray
I made `includes' and then `libraries'. Now `buildworld' succeeded! Thanks. How did you know this? I read the makefiles. Is there a guide how to upgrade from stable to current? (src/UPDATING only mentions something about /usr/include/g++.) No. CURRENT is not really documented that way.

Re: Skipping certain buildworld stages (was: Re: make includes)

2002-05-16 Thread David O'Brien
On Thu, May 16, 2002 at 09:07:25AM +0300, Ruslan Ermilov wrote: it's possible to achieve this with: : make \ : -DNO_worldtmp -DNO_bootstrap-tools -DNO_cleanobj -DNO_obj \ : -DNO_build-tools -DNO_cross-tools \ : buildworld TARGET_ARCH=foo Which in essence is equivalent to

Re: make includes

2002-05-15 Thread Ruslan Ermilov
On Tue, May 14, 2002 at 12:18:14PM -0700, David O'Brien wrote: On Tue, May 14, 2002 at 04:10:51PM +0300, Ruslan Ermilov wrote: Why change in the first place? What was wrong with 'make includes'? Why break POLA? They were broken. See commit log for share/mk/bsd.incs.mk,v 1.1 for

Re: make includes

2002-05-15 Thread Ruslan Ermilov
On Tue, May 14, 2002 at 06:43:01AM +, Hiten Pandya wrote: --- Ruslan Ermilov [EMAIL PROTECTED] wrote: People might want to use it like that: make world mv /usr/include /usr/include.old Sorry to butt in; but wouldn't it be more good if this step was done by the build scripts

Re: make includes

2002-05-15 Thread Bruce Evans
On Tue, 14 May 2002, David O'Brien wrote: On Wed, May 15, 2002 at 12:38:49PM +1000, Bruce Evans wrote: I really do not like this change, please return things such that the long-ingraned cd /usr/src ; make includes. I planned to fix this by changing make includes to print Unwarranted

Re: make includes

2002-05-15 Thread David O'Brien
On Wed, May 15, 2002 at 05:05:02PM +1000, Bruce Evans wrote: I prefer not to do this. There are simpler methods to get broken headers, starting with rm -rf :). I prefer everyone to use (documented) user-level targets like world and install for installing includes, since it would be

Re: make includes

2002-05-15 Thread David O'Brien
On Wed, May 15, 2002 at 09:59:19AM +0300, Ruslan Ermilov wrote: Actually, from what I've read, I plan on renaming these targets to buildincludes and installincludes, and restoring the `includes' to mean build + install. Thank you. To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: make includes

2002-05-15 Thread Ruslan Ermilov
On Wed, May 15, 2002 at 05:05:02PM +1000, Bruce Evans wrote: On Tue, 14 May 2002, David O'Brien wrote: On Wed, May 15, 2002 at 12:38:49PM +1000, Bruce Evans wrote: I really do not like this change, please return things such that the long-ingraned cd /usr/src ; make includes. I

Re: make includes

2002-05-15 Thread Jeremy Lea
Hi, On Tue, May 14, 2002 at 06:05:27PM +0300, Ruslan Ermilov wrote: On Wed, May 15, 2002 at 12:18:04AM +1000, Bruce Evans wrote: That's rather hackish, and doesn't handle garbage other than includes. I usually find stale files by comparing my world with a world installed in a nonstandard

Re: make includes

2002-05-15 Thread John Baldwin
On 15-May-2002 Bruce Evans wrote: On Tue, 14 May 2002, David O'Brien wrote: On Wed, May 15, 2002 at 12:38:49PM +1000, Bruce Evans wrote: I really do not like this change, please return things such that the long-ingraned cd /usr/src ; make includes. I planned to fix this by changing

Re: make includes

2002-05-15 Thread Ruslan Ermilov
On Wed, May 15, 2002 at 09:26:29AM -0700, David O'Brien wrote: Almost correct. For the record and future ports: It's useful for a new arch that doesn't have make world yet. When I would update world on my sparc before gcc was bmake'd it went something like this: sudo make

Re: make includes

2002-05-15 Thread Bruce Evans
On Wed, 15 May 2002, David O'Brien wrote: Almost correct. For the record and future ports: [jhb wrote] It's useful for a new arch that doesn't have make world yet. When I would update world on my sparc before gcc was bmake'd it went something like this: sudo make hierarchy sudo

Re: make includes

2002-05-15 Thread David O'Brien
On Wed, May 15, 2002 at 07:43:22PM +0300, Ruslan Ermilov wrote: one can easily ``make buildworld TARGET_ARCH=foo -DNO_cross-tools''. I am now doing many cross buildworlds. Is there a target (used with -DNOCLEAN) to use to save time and resume a build at stage 4? To Unsubscribe: send mail to

Skipping certain buildworld stages (was: Re: make includes)

2002-05-15 Thread Ruslan Ermilov
On Wed, May 15, 2002 at 03:18:15PM -0700, David O'Brien wrote: On Wed, May 15, 2002 at 07:43:22PM +0300, Ruslan Ermilov wrote: one can easily ``make buildworld TARGET_ARCH=foo -DNO_cross-tools''. I am now doing many cross buildworlds. Is there a target (used with -DNOCLEAN) to use to save

Re: make includes

2002-05-14 Thread Ruslan Ermilov
[CC: to -current as others may benefit from it too] On Mon, May 13, 2002 at 08:33:31PM +0200, Anders Andersson wrote: Hi, I write to you since you have been touching src/Makefile alot and so on. I sometimes want a fresh /usr/include and wipes it and does a: cd /usr/src make includes

Re: make includes

2002-05-14 Thread Riccardo Torrini
On 14-May-2002 (06:21:18/GMT) Ruslan Ermilov wrote: I'm still unsure about the name; I'd have liked to rename it to includesinstall but that is too long. U, buildworld, installworld, buildkernel, installkernel... It would be: buildinclude{s}, installinclude{s} just to be simmetric :) And

Re: make includes

2002-05-14 Thread Ruslan Ermilov
On Tue, May 14, 2002 at 08:45:59AM +0200, Riccardo Torrini wrote: On 14-May-2002 (06:21:18/GMT) Ruslan Ermilov wrote: I'm still unsure about the name; I'd have liked to rename it to includesinstall but that is too long. U, buildworld, installworld, buildkernel, installkernel... It

Re: make includes

2002-05-14 Thread Bruce Evans
On Tue, 14 May 2002, Ruslan Ermilov wrote: Yes. make includes has been modified to mean build includes, and the new make incsinstall has been added to install them. So the correct sequence is make includes incsinstall. I'm still unsure about the name; I'd have liked to rename it to

Re: make includes

2002-05-14 Thread Ruslan Ermilov
On Tue, May 14, 2002 at 06:21:41PM +1000, Bruce Evans wrote: On Tue, 14 May 2002, Ruslan Ermilov wrote: Yes. make includes has been modified to mean build includes, and the new make incsinstall has been added to install them. So the correct sequence is make includes incsinstall. I'm

Re: make includes

2002-05-14 Thread Anders Andersson
On Tue, May 14, 2002 at 09:21:18AM +0300, Ruslan Ermilov wrote: Yes. make includes has been modified to mean build includes, and the new make incsinstall has been added to install them. So the correct sequence is make includes incsinstall. I'm still unsure about the name; I'd have liked to

Re: make includes

2002-05-14 Thread Ruslan Ermilov
On Tue, May 14, 2002 at 03:01:28PM +0200, Anders Andersson wrote: On Tue, May 14, 2002 at 09:21:18AM +0300, Ruslan Ermilov wrote: Yes. make includes has been modified to mean build includes, and the new make incsinstall has been added to install them. So the correct sequence is make

Re: make includes

2002-05-14 Thread Bruce Evans
On Tue, 14 May 2002, Ruslan Ermilov wrote: On Tue, May 14, 2002 at 06:21:41PM +1000, Bruce Evans wrote: On Tue, 14 May 2002, Ruslan Ermilov wrote: Yes. make includes has been modified to mean build includes, and the new make incsinstall has been added to install them. So the

Re: make includes

2002-05-14 Thread Ruslan Ermilov
On Tue, May 14, 2002 at 11:32:19PM +1000, Bruce Evans wrote: On Tue, 14 May 2002, Ruslan Ermilov wrote: On Tue, May 14, 2002 at 06:21:41PM +1000, Bruce Evans wrote: On Tue, 14 May 2002, Ruslan Ermilov wrote: Yes. make includes has been modified to mean build includes, and the

Re: make includes

2002-05-14 Thread Sheldon Hearn
On Tue, 14 May 2002 16:34:56 +0300, Ruslan Ermilov wrote: People might want to use it like that: make world mv /usr/include /usr/include.old make incsinstall To remove stale includes. Previous version had includes that both built and installed includes, I have just split it in two

Re: make includes

2002-05-14 Thread Bruce Evans
On Tue, 14 May 2002, Ruslan Ermilov wrote: On Tue, May 14, 2002 at 11:32:19PM +1000, Bruce Evans wrote: Installing includes just corrupts the host environment unless the new includes are consistent with the old libraries. If you know the build system, the includes and the libraries well

Re: make includes

2002-05-14 Thread Ruslan Ermilov
On Wed, May 15, 2002 at 12:18:04AM +1000, Bruce Evans wrote: On Tue, 14 May 2002, Ruslan Ermilov wrote: On Tue, May 14, 2002 at 11:32:19PM +1000, Bruce Evans wrote: Installing includes just corrupts the host environment unless the new includes are consistent with the old libraries. If

Re: make includes

2002-05-14 Thread David O'Brien
On Tue, May 14, 2002 at 09:21:18AM +0300, Ruslan Ermilov wrote: Yes. make includes has been modified to mean build includes, and the new make incsinstall has been added to install them. So the correct sequence is make includes incsinstall. I really do not like this change, please return

Re: make includes

2002-05-14 Thread David O'Brien
On Tue, May 14, 2002 at 04:10:51PM +0300, Ruslan Ermilov wrote: Why change in the first place? What was wrong with 'make includes'? Why break POLA? They were broken. See commit log for share/mk/bsd.incs.mk,v 1.1 for a full story. I fail to see how they were broken from the rev 1.1

Re: make includes

2002-05-14 Thread Hiten Pandya
--- Ruslan Ermilov [EMAIL PROTECTED] wrote: People might want to use it like that: make world mv /usr/include /usr/include.old Sorry to butt in; but wouldn't it be more good if this step was done by the build scripts itself? (refering to: mv /usr/include /usr/include.old) make incsinstall

Re: make includes

2002-05-14 Thread Bruce Evans
On Tue, 14 May 2002, David O'Brien wrote: On Tue, May 14, 2002 at 09:21:18AM +0300, Ruslan Ermilov wrote: Yes. make includes has been modified to mean build includes, and the new make incsinstall has been added to install them. So the correct sequence is make includes incsinstall. I

Re: make includes

2002-05-14 Thread David O'Brien
On Wed, May 15, 2002 at 12:38:49PM +1000, Bruce Evans wrote: I really do not like this change, please return things such that the long-ingraned cd /usr/src ; make includes. I planned to fix this by changing make includes to print Unwarranted chumminess with implementation. What is your

Re: 'make includes' ownership patch

2001-05-29 Thread Bruce Evans
On Mon, 28 May 2001, Kris Kennaway wrote: On Mon, May 28, 2001 at 10:31:58AM -0700, Rodney W. Grimes wrote: [Someone wrote] What was the reasoning for a serperate owner specification from BIN*? Simple orthagonality. Ie, each bsd.*.mk file typically has a seperate set of

Re: 'make includes' ownership patch

2001-05-28 Thread Ruslan Ermilov
On Sat, May 26, 2001 at 03:06:00PM -0700, Kris Kennaway wrote: On Sat, May 26, 2001 at 02:59:22PM -0700, Kris Kennaway wrote: Shouldn't the includes/Makefile be installing headers using INCOWN/INCGRP instead of BINOWN/BINGRP? I ran into this when trying to do a 'make includes' as a normal

Re: 'make includes' ownership patch

2001-05-28 Thread Rodney W. Grimes
On Sat, May 26, 2001 at 03:06:00PM -0700, Kris Kennaway wrote: On Sat, May 26, 2001 at 02:59:22PM -0700, Kris Kennaway wrote: Shouldn't the includes/Makefile be installing headers using INCOWN/INCGRP instead of BINOWN/BINGRP? I ran into this when trying to do a 'make includes' as a

Re: 'make includes' ownership patch

2001-05-28 Thread David O'Brien
On Mon, May 28, 2001 at 10:22:33AM -0700, Rodney W. Grimes wrote: This was on my TODO. The only problem with INCOWN/INCGRP not being used here is that they were introduced long after include/Makefile. And perhaps one should go read the commit message that introduced them... it was an

Re: 'make includes' ownership patch

2001-05-28 Thread Ruslan Ermilov
On Mon, May 28, 2001 at 10:26:11AM -0700, David O'Brien wrote: On Mon, May 28, 2001 at 10:22:33AM -0700, Rodney W. Grimes wrote: This was on my TODO. The only problem with INCOWN/INCGRP not being used here is that they were introduced long after include/Makefile. And perhaps one

Re: 'make includes' ownership patch

2001-05-28 Thread Kris Kennaway
On Mon, May 28, 2001 at 10:31:58AM -0700, Rodney W. Grimes wrote: On Mon, May 28, 2001 at 10:22:33AM -0700, Rodney W. Grimes wrote: This was on my TODO. The only problem with INCOWN/INCGRP not being used here is that they were introduced long after include/Makefile. And perhaps

Re: 'make includes' ownership patch

2001-05-28 Thread Rodney W. Grimes
On Mon, May 28, 2001 at 10:31:58AM -0700, Rodney W. Grimes wrote: On Mon, May 28, 2001 at 10:22:33AM -0700, Rodney W. Grimes wrote: This was on my TODO. The only problem with INCOWN/INCGRP not being used here is that they were introduced long after include/Makefile. And

Re: 'make includes' ownership patch

2001-05-26 Thread Kris Kennaway
On Sat, May 26, 2001 at 02:59:22PM -0700, Kris Kennaway wrote: Shouldn't the includes/Makefile be installing headers using INCOWN/INCGRP instead of BINOWN/BINGRP? I ran into this when trying to do a 'make includes' as a normal user. Oops, hit send too soon; more changes are required of the