Re: 'cd /usr/src/etc; make distribute' broken.

From: Ruslan Ermilov (ru_at_freebsd.org)
Date: 09/12/03

  • Next message: Andreas Klemm: "PCMCIA: 3COM 3CCFE575BT should be supported but actually doesn't work"
    Date: Fri, 12 Sep 2003 23:14:15 +0300
    To: Kris Kennaway <kris@obsecurity.org>
    
    
    

    On Fri, Sep 12, 2003 at 01:00:06PM -0700, Kris Kennaway wrote:
    > As part of my world-building script for creating binary distributions
    > for use on bento I use the following to populate /etc in the target
    > directory:
    > ---
    > cd /usr/src/etc
    > make distribute DISTRIBUTION=/destdir TARGET_ARCH=whatever
    > ---
    > This used to work fine, but now it is dying with the following:
    >
    > install -o root -g wheel -m 644 /a/asami/portbuild/amd64/5/src/etc/sendmail/freebsd.mc /a/asami/portbuild/amd64/5/src/etc/sendmail/freebsd.cf //var/chroot/etc/mail
    > install: /a/asami/portbuild/amd64/5/src/etc/sendmail/freebsd.cf: No such file or directory
    > *** Error code 71
    >
    > Stop in /a/asami/portbuild/amd64/5/src/etc/sendmail.
    > *** Error code 1
    >
    > Indeed, freebsd.cf does not appear to be built anywhere. Does anyone
    > know what is going on?
    >
    A FAQ question on current@ these days. The ``distribute'' is
    the special case of ``install''. Before installing stuff, you
    should build it first. There was a bug in etc/sendmail/Makefile
    that was attempting to build stuff during the build, that was
    fixed. You need to catch up to this (right) change and fix
    your commands like this:

    cd /usr/src/etc
    make obj
    make all
    make distribute ...

    Cheers,

    -- 
    Ruslan Ermilov		Sysadmin and DBA,
    ru@sunbay.com		Sunbay Software Ltd,
    ru@FreeBSD.org		FreeBSD committer
    
    


    • application/pgp-signature attachment: stored

  • Next message: Andreas Klemm: "PCMCIA: 3COM 3CCFE575BT should be supported but actually doesn't work"

    Relevant Pages