:corecode    2007/08/25 08:29:29 PDT
:
:DragonFly src repository
:
:  Modified files:
:    gnu/usr.bin/cc41/cc_tools Makefile Makefile.tools 

    Hmm.  It's trying to create files inside /usr/src, which is not
    allowed.  It has to create them in the object directory.

===> gnu/usr.bin/cc41/libiberty
/usr/obj/usr/src/world_i386/usr/src/gnu/usr.bin/cc41/libiberty created for /usr/
src/gnu/usr.bin/cc41/libiberty
===> gnu/usr.bin/cc41/cc_tools
mkdir -p /usr/src/gnu/usr.bin/cc41/cc_tools//../cc_tools/gen
mkdir: /usr/src/gnu/usr.bin/cc41/cc_tools//../cc_tools/gen: Read-only file syste
m
*** Error code 1
1 error
*** Error code 2
1 error

    It looks like the problem is this line in cc_tools/Makefile:

obj depend: mktooldir

    This is running for make obj target, before the object directory exists,
    which means that make can't find the object directory at that point in
    the file (because it doesn't exist yet), which means that make's idea
    of .OBJDIR is the source directory.

                                                -Matt

Reply via email to