Re: make buildworld error on 9.0B2

2011-10-01 Thread Conrad J. Sabatier
On Sat, 1 Oct 2011 07:55:34 -0500
Greg Miller  wrote:

> On 9/30/11, Conrad J. Sabatier  wrote:
> > On Wed, 28 Sep 2011 19:57:55 -0500
> > Greg Miller  wrote:
> >
> >> On a fresh install of 9.0B2, I've updated my source to RELENG_9
> >> with csup, and I get the following when I try to make buildworld:
> >>
> >> *
> >> [0] /usr/src # make clean buildworld
> >> find: /usr/src/sys/sys/param.h: No such file or directory
> >> "/usr/src/Makefile", line 217: warning:
> >> "find /usr/src/sys/sys/param.h -mtime -0s" returned non-zero status
> >
> > This seems to be very similar to an odd little quirk I've run across
> > several times recently with 9.0-BETAx, where for some reason it
> > appears that the timestamp on this file is out of sync with the
> > rest of the source tree.
> >
> > On more than one occasion, after updating /usr/src and starting a
> > "make buildworld", I've been stopped cold by this, and had to do a
> > "touch sys/sys/param.h" and restart the build.
> 
> This doesn't really sound like what I'm seeing... I'm getting this
> error because csup and cvsup are deleting most of the files in
> /usr/src/sys/sys by mistake.
> 
> If anybody has any more ideas for things to try, I'll stay on 9.0B2 a
> bit longer for testing. Otherwise, I'm upgrading via anoncvs (which is
> working for me).

I use csup to update my local copy of the CVS repository, from which I
then do cvs updates of /usr/{doc,ports,src}.  Works very well, you may
want to give that a try.

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make buildworld error on 9.0B2

2011-10-01 Thread Greg Miller
On 9/30/11, Conrad J. Sabatier  wrote:
> On Wed, 28 Sep 2011 19:57:55 -0500
> Greg Miller  wrote:
>
>> On a fresh install of 9.0B2, I've updated my source to RELENG_9 with
>> csup, and I get the following when I try to make buildworld:
>>
>> *
>> [0] /usr/src # make clean buildworld
>> find: /usr/src/sys/sys/param.h: No such file or directory
>> "/usr/src/Makefile", line 217: warning: "find /usr/src/sys/sys/param.h
>> -mtime -0s" returned non-zero status
>
> This seems to be very similar to an odd little quirk I've run across
> several times recently with 9.0-BETAx, where for some reason it appears
> that the timestamp on this file is out of sync with the rest of the
> source tree.
>
> On more than one occasion, after updating /usr/src and starting a "make
> buildworld", I've been stopped cold by this, and had to do a "touch
> sys/sys/param.h" and restart the build.

This doesn't really sound like what I'm seeing... I'm getting this
error because csup and cvsup are deleting most of the files in
/usr/src/sys/sys by mistake.

If anybody has any more ideas for things to try, I'll stay on 9.0B2 a
bit longer for testing. Otherwise, I'm upgrading via anoncvs (which is
working for me).
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make buildworld error on 9.0B2

2011-09-30 Thread Conrad J. Sabatier
On Wed, 28 Sep 2011 19:57:55 -0500
Greg Miller  wrote:

> On a fresh install of 9.0B2, I've updated my source to RELENG_9 with
> csup, and I get the following when I try to make buildworld:
> 
> *
> [0] /usr/src # make clean buildworld
> find: /usr/src/sys/sys/param.h: No such file or directory
> "/usr/src/Makefile", line 217: warning: "find /usr/src/sys/sys/param.h
> -mtime -0s" returned non-zero status

This seems to be very similar to an odd little quirk I've run across
several times recently with 9.0-BETAx, where for some reason it appears
that the timestamp on this file is out of sync with the rest of the
source tree.

On more than one occasion, after updating /usr/src and starting a "make
buildworld", I've been stopped cold by this, and had to do a "touch
sys/sys/param.h" and restart the build.

Sorry for not taking the time to report it before.  It was just such an
easy fix that I never got around to it.

> ===> share/info (clean)
> ===> lib (clean)
> ===> lib/csu/amd64 (clean)
> rm -f crt1.o crti.o crtn.o Scrt1.o gcrt1.o crt1.s gcrt1.s Scrt1.s
> ===> lib/libc (clean)
> "/usr/src/lib/libc/sys/Makefile.inc", line 9: Could not find
> /usr/src/lib/libc/../../sys/sys/syscall.mk
> make: fatal errors encountered -- cannot continue
> *** Error code 1

This one I haven't seen, myself.

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make buildworld error on 9.0B2

2011-09-29 Thread Greg Miller
On 9/29/11, Greg Miller  wrote:
> On 9/28/11, Adrian Chadd  wrote:
>> On 29 September 2011 08:57, Greg Miller  wrote:
>>> On a fresh install of 9.0B2, I've updated my source to RELENG_9 with
>>> csup, and I get the following when I try to make buildworld:
>>
>> Good, is this reproducable? There's a patch to csup that may help you
>> out with this.
>>
>> Index: src/usr.bin/csup/fixups.c
>
> [snipped]
>
> It's 100% reproducible, and the patch didn't change anything.
>

I just tried it with cvsup and got the same result, so it doesn't
appear to be a csup issue. I have no idea what's going on here.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make buildworld error on 9.0B2

2011-09-29 Thread Greg Miller
On 9/28/11, Adrian Chadd  wrote:
> On 29 September 2011 08:57, Greg Miller  wrote:
>> On a fresh install of 9.0B2, I've updated my source to RELENG_9 with
>> csup, and I get the following when I try to make buildworld:
>
> Good, is this reproducable? There's a patch to csup that may help you
> out with this.
>
> Index: src/usr.bin/csup/fixups.c

[snipped]

It's 100% reproducible, and the patch didn't change anything.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make buildworld error on 9.0B2

2011-09-28 Thread Adrian Chadd
On 29 September 2011 08:57, Greg Miller  wrote:
> On a fresh install of 9.0B2, I've updated my source to RELENG_9 with
> csup, and I get the following when I try to make buildworld:

Good, is this reproducable? There's a patch to csup that may help you
out with this.

Index: src/usr.bin/csup/fixups.c
===
--- src/usr.bin/csup/fixups.c   (revision 225772)
+++ src/usr.bin/csup/fixups.c   (working copy)
@@ -141,7 +141,7 @@
fixups_lock(f);
while (f->size == 0 && !f->closed)
pthread_cond_wait(&f->cond, &f->lock);
-   if (f->closed) {
+   if (f->size == 0) {
fixups_unlock(f);
return (NULL);
}

I know this is a bit of effort, but can you please reproduce the
issue, then see if this patch fixes it for you?
I'd like to try and get this into 9.0-RELEASE but there's no csup
maintainer so I'm just relying on "works for me" and code reviews from
others.

Thanks,

Adrian
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make buildworld error on 9.0B2

2011-09-28 Thread Greg Miller
On 9/28/11, Garrett Cooper  wrote:
> On Wed, Sep 28, 2011 at 8:54 PM, Greg Miller  wrote:
>> On 9/28/11, Garrett Cooper  wrote:
>>> On Wed, Sep 28, 2011 at 5:57 PM, Greg Miller 
>>> wrote:
 On a fresh install of 9.0B2, I've updated my source to RELENG_9 with
 csup, and I get the following when I try to make buildworld:
>>
>> [snip]
>>
>>> If you do ls /usr/src/sys , it's probably missing.
>>
>> [0] /usr/src # ls /usr/src/sys/sys
>> _bus_dma.h  _stack.hcapability.h
>>  joystick.h  lockstat.h  mqueue.h
>>  rctl.h  tiio.h
>> _callout.h  _stdint.h   cfictl.h
>>  kenv.h  loginclass.hpower.h
>> regression.htimeet.h
>> _cpuset.h   _termios.h  gpio.h
>>  khelp.h module_khelp.h  procdesc.h
>>  sockopt.h   ttyhook.h
>> _sockaddr_storage.h _umtx.h hhook.h
>> ksyms.h mpt_ioctl.h racct.h
>> sockstate.h
>
> Ok, maybe not.. but it's sure incomplete:
>
> $ ls /sys/sys/* | wc -l
>  272
>

I saw this once before, with RELENG_8_2. RELENG_8 and RELENG_8_1 got
me all the files I needed, but RELENG_8_2 left me with missing files.
I've tried it with multiple cvsup servers (cvsup17 and cvsup1) with
the same result. My supfile is pretty standard:

***
[0] ~ # diff -wu /usr/share/examples/cvsup/standard-supfile fbsd-supfile
--- /usr/share/examples/cvsup/standard-supfile  2011-09-27
00:03:40.278232348 -0500
+++ fbsd-supfile2011-09-28 23:13:13.920501983 -0500
@@ -46,10 +46,10 @@
 #
 # IMPORTANT: Change the next line to use one of the CVSup mirror sites
 # listed at http://www.freebsd.org/doc/handbook/cvsup.html#CVSUP-MIRRORS.
-*default host=CHANGE_THIS.FreeBSD.org
+*default host=cvsup17.FreeBSD.org
 *default base=/var/db
 *default prefix=/usr
-*default release=cvs tag=.
+*default release=cvs tag=RELENG_9
 *default delete use-rel-suffix

 # If you seem to be limited by CPU rather than network or disk bandwidth, try
**
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make buildworld error on 9.0B2

2011-09-28 Thread Garrett Cooper
On Wed, Sep 28, 2011 at 8:54 PM, Greg Miller  wrote:
> On 9/28/11, Garrett Cooper  wrote:
>> On Wed, Sep 28, 2011 at 5:57 PM, Greg Miller  wrote:
>>> On a fresh install of 9.0B2, I've updated my source to RELENG_9 with
>>> csup, and I get the following when I try to make buildworld:
>
> [snip]
>
>> If you do ls /usr/src/sys , it's probably missing.
>
> [0] /usr/src # ls /usr/src/sys/sys
> _bus_dma.h              _stack.h                capability.h            
> joystick.h              lockstat.h              mqueue.h                
> rctl.h                  tiio.h
> _callout.h              _stdint.h               cfictl.h                
> kenv.h                  loginclass.h            power.h                 
> regression.h            timeet.h
> _cpuset.h               _termios.h              gpio.h                  
> khelp.h                 module_khelp.h          procdesc.h              
> sockopt.h               ttyhook.h
> _sockaddr_storage.h     _umtx.h                 hhook.h                 
> ksyms.h                 mpt_ioctl.h             racct.h                 
> sockstate.h

Ok, maybe not.. but it's sure incomplete:

$ ls /sys/sys/* | wc -l
 272
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make buildworld error on 9.0B2

2011-09-28 Thread Greg Miller
On 9/28/11, Garrett Cooper  wrote:
> On Wed, Sep 28, 2011 at 5:57 PM, Greg Miller  wrote:
>> On a fresh install of 9.0B2, I've updated my source to RELENG_9 with
>> csup, and I get the following when I try to make buildworld:

[snip]

> If you do ls /usr/src/sys , it's probably missing.

[0] /usr/src # ls /usr/src/sys/sys
_bus_dma.h  _stack.hcapability.h
joystick.h  lockstat.h  mqueue.hrctl.h  
tiio.h
_callout.h  _stdint.h   cfictl.hkenv.h  
loginclass.hpower.h regression.h
timeet.h
_cpuset.h   _termios.h  gpio.h  khelp.h 
module_khelp.h  procdesc.h  sockopt.h   
ttyhook.h
_sockaddr_storage.h _umtx.h hhook.h ksyms.h 
mpt_ioctl.h racct.h sockstate.h
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make buildworld error on 9.0B2

2011-09-28 Thread Garrett Cooper
On Wed, Sep 28, 2011 at 5:57 PM, Greg Miller  wrote:
> On a fresh install of 9.0B2, I've updated my source to RELENG_9 with
> csup, and I get the following when I try to make buildworld:
>
> *
> [0] /usr/src # make clean buildworld
> find: /usr/src/sys/sys/param.h: No such file or directory
> "/usr/src/Makefile", line 217: warning: "find /usr/src/sys/sys/param.h
> -mtime -0s" returned non-zero status
> ===> share/info (clean)
> ===> lib (clean)
> ===> lib/csu/amd64 (clean)
> rm -f crt1.o crti.o crtn.o Scrt1.o gcrt1.o crt1.s gcrt1.s Scrt1.s
> ===> lib/libc (clean)
> "/usr/src/lib/libc/sys/Makefile.inc", line 9: Could not find
> /usr/src/lib/libc/../../sys/sys/syscall.mk
> make: fatal errors encountered -- cannot continue
> *** Error code 1
>
> Stop in /usr/src/lib.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> [1] /usr/src # exit
> exit

If you do ls /usr/src/sys , it's probably missing.
-Garrett
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


make buildworld error on 9.0B2

2011-09-28 Thread Greg Miller
On a fresh install of 9.0B2, I've updated my source to RELENG_9 with
csup, and I get the following when I try to make buildworld:

*
[0] /usr/src # make clean buildworld
find: /usr/src/sys/sys/param.h: No such file or directory
"/usr/src/Makefile", line 217: warning: "find /usr/src/sys/sys/param.h
-mtime -0s" returned non-zero status
===> share/info (clean)
===> lib (clean)
===> lib/csu/amd64 (clean)
rm -f crt1.o crti.o crtn.o Scrt1.o gcrt1.o crt1.s gcrt1.s Scrt1.s
===> lib/libc (clean)
"/usr/src/lib/libc/sys/Makefile.inc", line 9: Could not find
/usr/src/lib/libc/../../sys/sys/syscall.mk
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
[1] /usr/src # exit
exit
**

My make.conf:


# added by use.perl 2011-09-25 03:44:55
PERL_VERSION=5.14.1

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"