DragonFly users List (threaded) for 2004-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Problems while trying to update DFBSD
Okay, my ktrace-output is a bit unlogical.
You can take a look at it here:
http://madserver.kicks-ass.org/data/dfbsd/txt_ktrace.out
If I run a plain make command in /usr/src I get the error no system
rules (see above ktrace.out). But in my home directory I get a normal no
target to make error.
Perhaps the Makefile in /usr/src is the problem.
It is located here:
http://madserver.kicks-ass.org/data/dfbsd/Makefile
Especially this line is interesting:
MAKE= PATH=${PATH} make -m *${.CURDIR}/share/mk* -f Makefile.inc1
walt wrote:
On Sat, 18 Sep 2004, [ISO-8859-1] Benedikt Mrüller wrote:
make buildworld gives following error:
make: no system rules (sys.mk).
Weird. Make defininitely knows to look first in /usr/share/mk
if you don't use the -m flag. (Per the source code for make.)
I would try 'ktrace make' and look at the output with kdump to
see where 'make' thinks it should be looking.
E.g. here is what I see:
<irrelevant snippage>
949 make RET gettimeofday 0
949 make CALL stat(0x8076a8c,0xbfbfece0)
949 make NAMI "/usr/share/mk"
949 make RET stat 0
949 make CALL open(0x8076a8c,0x4,0)
949 make NAMI "/usr/share/mk"
949 make RET open 3
949 make CALL fstat(0x3,0xbfbfece0)
949 make RET fstat 0
949 make CALL fcntl(0x3,0x2,0x1)
949 make RET fcntl 0
949 make CALL fstatfs(0x3,0xbfbfebe0)
949 make RET fstatfs 0
949 make CALL break(0x8086000)
949 make RET break 0
949 make CALL getdirentries(0x3,0x8085000,0x1000,0x8083334)
949 make RET getdirentries 1024/0x400
949 make CALL getdirentries(0x3,0x8085000,0x1000,0x8083334)
949 make RET getdirentries 0
949 make CALL lseek(0x3,0,0,0,0)
949 make RET lseek 0
949 make CALL close(0x3)
949 make RET close 0
949 make CALL open(0x8083340,0,0x1b6)
949 make NAMI "/usr/share/mk/sys.mk"
949 make RET open 3
949 make CALL fstat(0x3,0xbfbfe760)
949 make RET fstat 0
949 make CALL break(0x808a000)
949 make RET break 0
949 make CALL read(0x3,0x8086000,0x4000)
949 make GIO fd 3 read 5947 bytes
"# from: @(#)sys.mk 8.2 (Berkeley) 3/21/94
# $FreeBSD: src/share/mk/sys.mk,v 1.45.2.6 2002/12/23 16:33:37 ru Exp $
# $DragonFly: src/share/mk/sys.mk,v 1.12 2004/07/19 16:24:27 dillon Exp
<snippage>
I ran the ktrace as a user from my home directory (not that it should make any
difference).
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]