Re: Strange make buildworld behaviour with 5.4-RELEASE ( amd64 )

From: Steven Hartland (killing_at_multiplay.co.uk)
Date: 05/17/05

  • Next message: Erich Dollansky: "Re: Alright you primitive screwheads, LISTEN UP!!"
    To: <freebsd-stable@freebsd.org>, "Kris Kennaway" <kris@obsecurity.org>
    Date: Tue, 17 May 2005 13:16:36 +0100
    
    

    ----- Original Message -----
    From: "Steven Hartland" <killing@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@multiplay.co.uk.

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Erich Dollansky: "Re: Alright you primitive screwheads, LISTEN UP!!"

    Relevant Pages

    • Re: Cannot rebuild Sendmail (with sasl2)
      ... Running the 'make cleandir' twice seems to have gotten us past that hangup. ... Now the buildworld and buildkernel and installkernel all worked. ... building Sendmail from /usr/src/usr.sbin/sendmail gives the old error message ... > newmail# cvsup standard-supfile ...
      (freebsd-questions)
    • Re: Cannot rebuild Sendmail (with sasl2) **FIXED**
      ... I will probably be putting FBSD in where I have other linux installations as the hardware gets replaced. ... Cannot rebuild Sendmail ... last buildworld and stored in /usr/obj) you have to set in your shell's ...
      (freebsd-questions)
    • Re: Strange make buildworld behaviour with 5.4-RELEASE ( amd64 )
      ... > know how to best go about fixing it. ... Shouldn't it have been deleted by make cleandir or ... > Im running another buildworld to test with the file deleted. ... It looks like pvct/keycap is being force built by tools/make_libdeps.sh ...
      (freebsd-stable)
    • Re: segfaults when building world
      ... > src I grabbed the first time. ... and another time while `make cleandir` in ... when I buildworld it will exit at different points. ... > I was sure it was a hardware issue, now I am completely out of options! ...
      (freebsd-questions)
    • Re: make buildworld for RELENG_5 failing on RELENG_5_3 in /usr/src/usr.sbin/syslogd, _PATH_LOG_PRIV
      ... > get the same error when we get to syslogd. ... > If I apply the following patch then buildworld continues to completion. ... > the same error appears in libc and the patch fixes that as well. ... make cleandir ...
      (freebsd-stable)