:>     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
    (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 
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:


    Under -current they are like this:


    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.


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

Reply via email to