From owner-freebsd-current@FreeBSD.ORG Wed Jan 7 10:42:58 2015 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C2267A2 for ; Wed, 7 Jan 2015 10:42:58 +0000 (UTC) Received: from mail-yk0-f177.google.com (mail-yk0-f177.google.com [209.85.160.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D65546682A for ; Wed, 7 Jan 2015 10:42:57 +0000 (UTC) Received: by mail-yk0-f177.google.com with SMTP id 9so470862ykp.36 for ; Wed, 07 Jan 2015 02:42:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=1V2Db0fju1SjVFoc8l2dyQEcv/RNC+KGELAzReMfv3I=; b=AeKRQPHgT83giW+GZK5p9zabRGZt0cc4URNF2pBCQj0jCyZJfnx9792qIHl1oancgT M1QCxQpKcKKxQeUyRp4xSqxJ/EMOjPvXoLNnqkqLp4b23wu9vO9kWrzmLLsgUVOf2dFH iueZkHoV+lYLFW1YQQyLuSZZcifP4Jp5+mGr+tOFQYSkZ/0EXcrZJ+Y8gjxs7BCC007J Di2O/VaoHKK32p1qRMMDjr1xuu8k6LZCoQFypvuqJ8lSy6UcNdpRHYGIvIXJG/WC+m4v 5Hfcwd0m+c0ThdwjC6811dHGAdOI/x5BWzV6J895Bo6+gszccgZ8RIF9hORK04/SpphT eDRA== X-Gm-Message-State: ALoCoQlq0n0smIMBvLb9s1Y6idxRqAWX7PUBy3lMA7Y8L8zyGQlzdZPcBc74gQm9TF1APA4cPVFK MIME-Version: 1.0 X-Received: by 10.236.203.193 with SMTP id f41mr1541136yho.191.1420627371746; Wed, 07 Jan 2015 02:42:51 -0800 (PST) Received: by 10.170.46.213 with HTTP; Wed, 7 Jan 2015 02:42:51 -0800 (PST) In-Reply-To: References: Date: Wed, 7 Jan 2015 11:42:51 +0100 Message-ID: Subject: Re: sendmail make distribution error and fix From: Oliver Pinter To: gshapiro Content-Type: text/plain; charset=UTF-8 Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 10:42:58 -0000 On 1/7/15, Oliver Pinter wrote: > Hi! > > I got this error, when I try to make distribution*: > > cd /target/usr/src/etc/sendmail; make distribution > install -o root -g wheel -m 644 > /target/usr/src/etc/sendmail/freebsd.mc freebsd.cf /target/etc/mail > install: freebsd.cf: No such file or directory > *** Error code 71 > > Stop. > make[3]: stopped in /target/usr/src/etc/sendmail > *** Error code 1 > > Stop. > make[2]: stopped in /target/usr/src/etc > *** Error code 1 > > Stop. > make[1]: stopped in /target/usr/src > *** Error code 1 > > Stop. > make: stopped in /target/usr/src > > The attached patch fixed the problem. > > *: > #!/usr/bin/env csh > > set MAKEOBJDIRPREFIX="/target/usr/obj" > set SRC_DIR="/target/usr/src" > set DESTDIR="/target" > > cd ${SRC_DIR} > > make -j5 buildworld MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX} > make -j5 kernel MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX} > > make installworld DESTDIR=${DESTDIR} MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX} > make distribution DESTDIR=${DESTDIR} MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX} > > cp /etc/make.conf /target/etc/ > cp /etc/src.conf /target/etc/ > cp /etc/rc.conf /target/etc/ > please ignore this report, I found the bug elsewhere...