stable/6 make and build errors

2008-08-29 Thread Sean Bruno
I've run into a variance in behavior between my SVN updated tree and my 
CVSUP'd tree that is befuddling me.


Running a make depend on two freshly updated trees seems to generate 
errors with my SVN tree but not my CVSUP tree.  Here is the output of 
the SVN tree.  This is freshly checked out from stable/6 not updated.


SVN:
=== share/info (depend)
=== include (depend)
=== include/arpa (depend)
=== include/protocols (depend)
=== include/rpcsvc (depend)
=== include/rpc (depend)
=== lib (depend)
=== lib/csu/i386-elf (depend)
rm -f .depend
mkdep -f .depend -a-I/home/sbruno/bsd/6/lib/csu/i386-elf/../common 
-I/home/sbruno/bsd/6/lib/csu/i386-elf/../../libc/include 
/home/sbruno/bsd/6/lib/csu/i386-elf/crt1.c 
/home/sbruno/bsd/6/lib/csu/i386-elf/crti.S 
/home/sbruno/bsd/6/lib/csu/i386-elf/crtn.S

/usr/bin/mkdep: cannot create _mkdep18423: Permission denied
/usr/bin/mkdep: cannot create _mkdep18423: Permission denied
mkdep: compile failed
*** Error code 1

Stop in /home/sbruno/bsd/6/lib/csu/i386-elf.
*** Error code 1

Stop in /home/sbruno/bsd/6/lib.
*** Error code 1

Stop in /home/sbruno/bsd/6.
*** Error code 1



--
Sean Bruno
MiraLink Corporation
6015 NE 80th Ave, Ste 100
Portland, OR 97218
Phone 503-621-5143
Fax 503-621-5199
MSN: [EMAIL PROTECTED]
Google:  [EMAIL PROTECTED]
Yahoo:  [EMAIL PROTECTED]

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


Re: stable/6 make and build errors

2008-08-29 Thread Sean Bruno

Sean Bruno wrote:


mkdep -f .depend -a-I/home/sbruno/bsd/6/lib/csu/i386-elf/../common 
-I/home/sbruno/bsd/6/lib/csu/i386-elf/../../libc/include 
/home/sbruno/bsd/6/lib/csu/i386-elf/crt1.c 
/home/sbruno/bsd/6/lib/csu/i386-elf/crti.S 
/home/sbruno/bsd/6/lib/csu/i386-elf/crtn.S

/usr/bin/mkdep: cannot create _mkdep18423: Permission denied
/usr/bin/mkdep: cannot create _mkdep18423: Permission denied
mkdep: compile failed
*** Error code 1

Stop in /home/sbruno/bsd/6/lib/csu/i386-elf.
*** Error code 1

Stop in /home/sbruno/bsd/6/lib.
*** Error code 1

Stop in /home/sbruno/bsd/6.
*** Error code 1



After poking around a bit, I discovered an old build dir in /usr/obj/ 
that matched the path that my tree was currently a part of.


So, a make clean or a make cleanworld doesn't delete /usr/obj/(DIR) 
for some reason?  Bug?


--
Sean Bruno
MiraLink Corporation
6015 NE 80th Ave, Ste 100
Portland, OR 97218
Phone 503-621-5143
Fax 503-621-5199
MSN: [EMAIL PROTECTED]
Google:  [EMAIL PROTECTED]
Yahoo:  [EMAIL PROTECTED]

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


Re: stable/6 make and build errors

2008-08-29 Thread Jeremy Chadwick
On Fri, Aug 29, 2008 at 03:39:30PM -0700, Sean Bruno wrote:
 Sean Bruno wrote:

 mkdep -f .depend -a-I/home/sbruno/bsd/6/lib/csu/i386-elf/../common  
 -I/home/sbruno/bsd/6/lib/csu/i386-elf/../../libc/include  
 /home/sbruno/bsd/6/lib/csu/i386-elf/crt1.c  
 /home/sbruno/bsd/6/lib/csu/i386-elf/crti.S  
 /home/sbruno/bsd/6/lib/csu/i386-elf/crtn.S
 /usr/bin/mkdep: cannot create _mkdep18423: Permission denied
 /usr/bin/mkdep: cannot create _mkdep18423: Permission denied
 mkdep: compile failed
 *** Error code 1

 Stop in /home/sbruno/bsd/6/lib/csu/i386-elf.
 *** Error code 1

 Stop in /home/sbruno/bsd/6/lib.
 *** Error code 1

 Stop in /home/sbruno/bsd/6.
 *** Error code 1



 After poking around a bit, I discovered an old build dir in /usr/obj/  
 that matched the path that my tree was currently a part of.

 So, a make clean or a make cleanworld doesn't delete /usr/obj/(DIR)  
 for some reason?  Bug?

It's known that 'make clean' will occasionally not nuke all the
necessary objects in /usr/obj/*.

rm -fr /usr/obj/* is a better bet.  Do not rely on 'make clean'.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: stable/6 make and build errors

2008-08-29 Thread Sean Bruno



It's known that 'make clean' will occasionally not nuke all the
necessary objects in /usr/obj/*.

rm -fr /usr/obj/* is a better bet.  Do not rely on 'make clean'.

  
Oh?  Should I look into why the make system isn't removing /usr/obj/ on 
a make clean and submit a patch?


--
Sean Bruno
MiraLink Corporation
6015 NE 80th Ave, Ste 100
Portland, OR 97218
Cell 503-358-6832
Phone 503-621-5143
Fax 503-621-5199
MSN: [EMAIL PROTECTED]
Google:  [EMAIL PROTECTED]

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