From owner-freebsd-security Fri Jul 5 13: 8:14 2002 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 766D137B400 for ; Fri, 5 Jul 2002 13:08:10 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFC6543E3B for ; Fri, 5 Jul 2002 13:07:50 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020705200738.DGH6023.sccrmhc02.attbi.com@blossom.cjclark.org>; Fri, 5 Jul 2002 20:07:38 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g65K7bJK018745; Fri, 5 Jul 2002 13:07:37 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g65K7bIk018744; Fri, 5 Jul 2002 13:07:37 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Fri, 5 Jul 2002 13:07:37 -0700 From: "Crist J. Clark" To: Amy Shaftoe Cc: freebsd-security@FreeBSD.ORG Subject: Re: Rebuilding the static programs Message-ID: <20020705130737.A17982@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from amyshaftoe@hotmail.com on Wed, Jul 03, 2002 at 09:26:43PM -0500 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Jul 03, 2002 at 09:26:43PM -0500, Amy Shaftoe wrote: > Since I don't have enough disk space to do a make world on my > 4.6-RELEASE system, I was going to rebuild libc and the static > programs individually after applying the FreeBSD-SA-02:28.resolv > patch. > > I applied the patch then did a "make", "make install" and a "make > clean" in /usr/src/lib/libc. That went fine. Then I did the same > in /usr/src/sbin and that when fine. But in /usr/src/bin it dies > with this: > > >===> rmail > >Warning: Object directory not changed from original /usr/src/bin/rmail > >ln -sf > >/usr/src/bin/rmail/../../contrib/sendmail/include/sm/os/sm_os_freebsd.h > >sm_os.h > >cc -O -pipe -I/usr/src/bin/rmail/../../contrib/sendmail/include -I. -Wall > >-Wformat -c /usr/src/bin/rmail/../../contrib/sendmail/rmail/rmail.c > >cc -O -pipe -I/usr/src/bin/rmail/../../contrib/sendmail/include -I. -Wall > >-Wformat -o rmail rmail.o /usr/src/bin/rmail/../../lib/libsm/libsm.a > >cc: /usr/src/bin/rmail/../../lib/libsm/libsm.a: No such file or directory > >*** Error code 1 > > > >Stop in /usr/src/bin/rmail. > >*** Error code 1 > > > >Stop in /usr/src/bin. > > Is this expected behavior? Yes. > Should you be able to rebuild the > system in this manner? Yes and no. No, you cannot expect to change to an arbitrary directory in /usr/src, type, 'make install' and expect it to work. But yes you can build parts of the system this way if you really know what you are doing. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message