Strange make buildworld behaviour with 5.4-RELEASE ( amd64 )

Steven Hartland killing at multiplay.co.uk
Tue May 17 05:17:09 PDT 2005


----- Original Message ----- 
From: "Steven Hartland" <killing at multiplay.co.uk>
> I've just moved /usr/src to /usr/src_amd64 and am reruning a build:
> rm -rf /usr/obj
> make cleandir
> make buildworld
> 
> Will let you know how that turns out. Will prove the problem is not
> with the source being else where if it works.

Ok this also fails in the same way
[log]
...
/usr/obj/usr/src_amd64/lib32/usr/lib32/libl_p.a -> /usr/obj/usr/src_amd64/lib32/usr/lib32/libln_p.a
/usr/obj/usr/src_amd64/lib32/usr/lib32/libfl_p.a -> /usr/obj/usr/src_amd64/lib32/usr/lib32/libln_p.a
===> usr.sbin/pcvt/keycap
Warning: Object directory not changed from original /usr/src_amd64/usr.sbin/pcvt/keycap
make: don't know how to make /usr/obj/usr/src/lib32/usr/include/stdio.h. Stop
*** Error code 2
[/log]

Clearly /usr/obj/usr/src/lib32/usr/include/stdio.h doesn't exist it I would have thought
this should be:
/usr/obj/usr/src_amd64/lib32/usr/include/stdio.h

I think I found the problem though in usr.sbin/pcvt/keycap there is a file .depend
ls -l ./usr.sbin/pcvt/keycap/.depend
-rw-r--r--  1 root  wheel  921 May  8 06:46 ./usr.sbin/pcvt/keycap/.depend
which has:
[file=.depend]
# -DKEYCAP_PATH="/usr/share/misc/keycap.pcvt" keycap.c
keycap.o keycap.po keycap.So: keycap.c /usr/obj/usr/src/lib32/usr/include/stdio.h \
  /usr/obj/usr/src/lib32/usr/include/sys/cdefs.h \
  /usr/obj/usr/src/lib32/usr/include/sys/_null.h \
  /usr/obj/usr/src/lib32/usr/include/sys/_types.h \
  /usr/obj/usr/src/lib32/usr/include/machine/_types.h \
  /usr/obj/usr/src/lib32/usr/include/ctype.h \
  /usr/obj/usr/src/lib32/usr/include/_ctype.h \
  /usr/obj/usr/src/lib32/usr/include/runetype.h \
  /usr/obj/usr/src/lib32/usr/include/unistd.h \
  /usr/obj/usr/src/lib32/usr/include/sys/types.h \
  /usr/obj/usr/src/lib32/usr/include/machine/endian.h \
  /usr/obj/usr/src/lib32/usr/include/sys/select.h \
  /usr/obj/usr/src/lib32/usr/include/sys/_sigset.h \
  /usr/obj/usr/src/lib32/usr/include/sys/_timeval.h \
  /usr/obj/usr/src/lib32/usr/include/sys/timespec.h \
  /usr/obj/usr/src/lib32/usr/include/sys/unistd.h keycap.h
[/file]
I'd be willing to take a guess that this is whats breaking things but dont
know how to best go about fixing it. Just delete it would be my guess
but why is it there? Shouldn't it have been deleted by make cleandir or
make cleanworld?

Im running another buildworld to test with the file deleted.

    Steve



================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-stable mailing list