Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Matt Dillon

While trying to run 'make depend' in /usr/src/sys/compile/BLAH I got:

=== 3dfx
@ - /FreeBSD/FreeBSD-current/src/sys
ln: @: Read-only file system
*** Error code 1

Stop in /FreeBSD/FreeBSD-current/src/sys/modules/3dfx.
*** Error code 1

It looks like it's trying to mess around with something in /usr/src,
which is a read-only NFS mount.  Needless to say we do not want to
break being able to have a read-only /usr/src!

Anyone been messing with the 3dfx module recently ?

-Matt



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Crist J. Clark

On Sat, Dec 23, 2000 at 12:24:51AM -0800, Matt Dillon wrote:
 While trying to run 'make depend' in /usr/src/sys/compile/BLAH I got:
 
 === 3dfx
 @ - /FreeBSD/FreeBSD-current/src/sys
 ln: @: Read-only file system
 *** Error code 1
 
 Stop in /FreeBSD/FreeBSD-current/src/sys/modules/3dfx.
 *** Error code 1
 
 It looks like it's trying to mess around with something in /usr/src,
 which is a read-only NFS mount.  Needless to say we do not want to
 break being able to have a read-only /usr/src!
 
 Anyone been messing with the 3dfx module recently ?

Myself and a few others found debris in our /usr/src/sys
recently. Looks like it might be what you have there. None of us were
sure if it was us messing it up or trouble somewhere else.

Do a 'make cleandir' in your _source tree_ and try the build again.
-- 
Crist J. Clark   [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Mike Smith

 While trying to run 'make depend' in /usr/src/sys/compile/BLAH I got:
 
 === 3dfx
 @ - /FreeBSD/FreeBSD-current/src/sys
 ln: @: Read-only file system
 *** Error code 1
 
 Stop in /FreeBSD/FreeBSD-current/src/sys/modules/3dfx.
 *** Error code 1
 
 It looks like it's trying to mess around with something in /usr/src,
 which is a read-only NFS mount.  Needless to say we do not want to
 break being able to have a read-only /usr/src!
 
 Anyone been messing with the 3dfx module recently ?

All the modules do this.  Remove "MODULES_WITH_WORLD" from your 
/etc/make.conf; they're not compatible with a read-only source tree.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
   V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Chris Faulhaber

On Sat, Dec 23, 2000 at 12:24:51AM -0800, Matt Dillon wrote:
 While trying to run 'make depend' in /usr/src/sys/compile/BLAH I got:
 
 === 3dfx
 @ - /FreeBSD/FreeBSD-current/src/sys
 ln: @: Read-only file system
 *** Error code 1
 

Wouldn't using the buildkernel/installkernel targets be more appropriate
for a read-only source-tree?

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Matt Dillon


:
:On Sat, Dec 23, 2000 at 12:24:51AM -0800, Matt Dillon wrote:
: While trying to run 'make depend' in /usr/src/sys/compile/BLAH I got:
: 
: === 3dfx
: @ - /FreeBSD/FreeBSD-current/src/sys
: ln: @: Read-only file system
: *** Error code 1
: 
:
:Wouldn't using the buildkernel/installkernel targets be more appropriate
:for a read-only source-tree?
:
:-- 
:Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

Tried using the buildkernel target, doesn't work either.

I don't have MODULES_WITH_WORLD set in /etc/make.conf.

I tried 'make cleandir' in /usr/src and that does not fix the problem
either.

Something got broken in the last week or two, it never did this sort
of thing before.

-Matt



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



gcc-devel and 5.0-current

2000-12-23 Thread Peter Schultz

Hi,

Just wondering if anyone has gotten make world
to work with this combo.  It is expected that
gcc 3.0 will become the default compiler for
FreeBSD 5.0?

Thanks,
Pete...



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Matt Dillon


:
: While trying to run 'make depend' in /usr/src/sys/compile/BLAH I got:
: 
: === 3dfx
: @ - /FreeBSD/FreeBSD-current/src/sys
: ln: @: Read-only file system
: *** Error code 1
: 
: Stop in /FreeBSD/FreeBSD-current/src/sys/modules/3dfx.
: *** Error code 1
: 
: It looks like it's trying to mess around with something in /usr/src,
: which is a read-only NFS mount.  Needless to say we do not want to
: break being able to have a read-only /usr/src!
: 
: Anyone been messing with the 3dfx module recently ?
:
:All the modules do this.  Remove "MODULES_WITH_WORLD" from your 
:/etc/make.conf; they're not compatible with a read-only source tree.

I've partially tracked it down to the ILINKS target in kmod.mk being
run while in the wrong directory.  It SHOULD be in
/FreeBSD/FreeBSD-current/src/sys/compile/TEST4/modules/3dfx 
(aka /usr/src/sys/compile/TEST4/modules/3dfx).  But instead,
when I echo `pwd` in the ILINKS target it appears to be cd'd into
the main modules source directory:

mv -f .newdep .depend
find ../../modules -type d -a ! -name CVS  | sed -e "s|../../modules|modules|g" | 
xargs mkdir -p ;  cd ../../modules ; env 
MAKEOBJDIRPREFIX=/FreeBSD/FreeBSD-current/src/sys/compile/TEST4/modules 
KMODDIR=/boot/kernel make depend
=== 3dfx
@ - /FreeBSD/FreeBSD-current/src/sys
/FreeBSD/FreeBSD-current/src/sys/modules/3dfx   
ln: @: Read-only file system
*** Error code 1

Stop in /FreeBSD/FreeBSD-current/src/sys/modules/3dfx.
*** Error code 1

Stop in /FreeBSD/FreeBSD-current/src/sys/modules.

This is not right.  Someone did something to change the compile dir 
as of the time the dependancies are run.  The cd in the 'find' sequence
is correct

It looks like someone blew up the making of the object directories under
compile/TEST4/modules.  Under 4.x I had paths like this:


/usr/src/sys/compile/TEST4/modules/FreeBSD/FreeBSD-current/usr/src/sys/modules/tx/

Under -current they are like this:

/usr/src/sys/compile/TEST4/modules/tx/...

The 'make' program can't find the object module directory any more.  Ahh..
so maybe I should remake the make program, eh?  Tried that, doesn't work.

Whoever 'fixed' object directory creation under /usr/src/sys/compile/BLAH
for modules broke it instead.

-Matt



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



found the fragger. Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Matt Dillon

Ok, I found it.  /usr/src/sys/conf/Makefile.i386 is broken.  It looks
like either you or David O'Brien (I'm guessing, your guys names are 
prominent in the CVS logs but I haven't tracked it down exactly)
screwed up the object directory creation while trying to optimize it.

It looks like it is trying to create short object directory names.
But the make program can't find them when looking for object directories.

This breaks MAKEOBJDIRPREFIX.  The 'make' program looks in:

1.   ${MAKEOBJDIRPREFIX}/`pwd`
2.   ${MAKEOBJDIR}
3.   obj.${MACHINE}
4.   obj
5.   /usr/obj/`pwd`

(taken from the 'make' man page)

And NONE of these is the object path you create in the Makefile.

This causes the make system to revert to tring to create the files
in the source directory rather then the object directory.

-Matt



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: gcc-devel and 5.0-current

2000-12-23 Thread Michael C . Wu

On Sat, Dec 23, 2000 at 12:42:18PM -0600, Peter Schultz scribbled:
| Just wondering if anyone has gotten make world
| to work with this combo.  It is expected that

No, and gcc-2.96 is broken enough.  In addition, we need wchar*
for gcc-3.  Even -O3 in gcc-2.95 is not supported/recommended.
You would be a brave soul to try this.

/me flees

| gcc 3.0 will become the default compiler for
| FreeBSD 5.0?

I highly doubt the feasibility of that.  Look at Redhat's blunder
with gcc-2.95.  The latest is not always the best, IMHO.

-- 
+--+
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
| http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. |
+--+


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Kernel make depend error after CVSup

2000-12-23 Thread Joao Fernandes

After having used CVSup for upgrading my 4.0-stable sources, I built the
world with no problems, but at making the depend for the new kernel
(using the GENERIC config file) it exited with error.

Here`s my CVSup config file:
*default host=cvsup.pt.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
*default compress

Here`s the error it exited with:
=== accf_http
=== agp
make: don't know how to make agp_if.c. Stop
*** Error code 2
Stop in /usr/src/sys/modules.
*** Error code 1
Stop in /usr/src/sys/compile/GENERIC.

Can anyone help?

Thanks.

Joao Fernandes



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: found the fragger. Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread David O'Brien

On Sat, Dec 23, 2000 at 11:24:50AM -0800, Matt Dillon wrote:
 like either you or David O'Brien (I'm guessing, your guys names are 

I will fix it today.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



$B$"$J$?$@$1$K!&!&(B

2000-12-23 Thread Santa Claus

$B$$$D$b7G<(HD!&=P2q$$7O!&%a!<%k%U%l%s%I%5%$%H$r$4MxMQBW$-(B
$BM-$jFq$&$4$6$$$^$9!#(B

$BK\F|$O!%!%!%!!$"$J$?$@$1$K(B
$B?7$7$$%5%$%H$N$40FFb$r$5$;$F$$$?$@$-$^$9!#(B

  http://cuz.power.ne.jp/aiko/

$B$b$7!"$4ITMW$G$7$?$i:o=|$7$F2<$5$$!#(B
$B:#8e!"$3$N%a!<%k$,$4ITMW$J>l9g$O!"(B
$B$*

Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Crist J. Clark

On Sat, Dec 23, 2000 at 09:43:29AM -0800, Matt Dillon wrote:

[snip]

 I tried 'make cleandir' in /usr/src and that does not fix the problem
 either.

Sorry, I was not clear enough. You need to do,

  # cd /usr/src/sys/modules
  # make cleandir

A 'cleandir' from /usr/src will not climb up into the modules.
-- 
Crist J. Clark   [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: found the fragger. Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Matt Dillon


:I will fix it today.
:

Thanks a lot Dave!

-Matt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Jeremy Lea

Hi,

On Sat, Dec 23, 2000 at 09:43:29AM -0800, Matt Dillon wrote:
 Something got broken in the last week or two, it never did this sort
 of thing before.

David's speedup commits to sys/conf/Makefile.*.  I informed him of the
problem, and asked him to back out the hacks, but he wants the
speedup...

Regards,
 -Jeremy

-- 
FreeBSD - Because the best things in life are free...
   http://www.freebsd.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Chris


Actually, last time I checked, I think stable did not install with a RO
/usr/src either.  Anyone know if this is still the case?

Chris

 It looks like it's trying to mess around with something in /usr/src,
 which is a read-only NFS mount.  Needless to say we do not want to
 break being able to have a read-only /usr/src!
 
 Anyone been messing with the 3dfx module recently ?
 
 -Matt
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread sthaug

 Actually, last time I checked, I think stable did not install with a RO
 /usr/src either.  Anyone know if this is still the case?

I have installed -stable many times with /usr/src mounted readonly
via NFS.

Steinar Haug, Nethelp consulting, [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problem building -current kernel with read-only /usr/src.

2000-12-23 Thread Matt Dillon


:
: Actually, last time I checked, I think stable did not install with a RO
: /usr/src either.  Anyone know if this is still the case?
:
:I have installed -stable many times with /usr/src mounted readonly
:via NFS.
:
:Steinar Haug, Nethelp consulting, [EMAIL PROTECTED]

   Yah, -stable is fine.  I've done the same.  Most recently two days ago.

-Matt



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



making sendmail with milter and sasl

2000-12-23 Thread Leif Neland

Can I make make world make sendmail with milter and sasl / smtp auth just by
adding to make.conf?

If so, how?

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: making sendmail with milter and sasl

2000-12-23 Thread Scot W. Hetzel

From: "Leif Neland" [EMAIL PROTECTED]
 Can I make make world make sendmail with milter and sasl / smtp auth just
by
 adding to make.conf?

 If so, how?

Currently, you need to a patch to enable the building and installing of
libmilter, libsmutil, and the header files needed to build a Milter daemon.

I just sent PR 23811 that contains the patch to enable Milter on both STABLE
and CURRENT (minor fuzziness).

http://www.freebsd.org/cgi/query-pr.cgi?pr=23811

So after applying the patch, add the following into your make.conf

# See security/cyrus-sasl/files/Sendmail.README
#
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL -D_FFR_UNSAFE_SASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl
#SENDMAIL_DPADD=
#
SENDMAIL_MILTER=yes

I have also put this patch at:

ftp://www.westbend.net/pub/sendmail/milter.patch

When you build your milter daemons you can use either a shared  (-lmilter)
or a static (/usr/lib/libmilter.a) libmilter library.

cc -I/usr/include/sendmail -o sample sample.c -lmilter
/usr/lib/libsmutil.a -pthread

After you build your milter daemons, you will need to create a shell script
that will start/stop the milter daemons.  This script needs to be placed in
PREFIX/etc/rc.milter (see src/lib/libmilter/sample.sh).

Scot W. Hetzel



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message