From owner-freebsd-current@freebsd.org Mon Nov 9 14:09:13 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51510A29757 for ; Mon, 9 Nov 2015 14:09:13 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 274BE1CBC for ; Mon, 9 Nov 2015 14:09:13 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id tA9E9GZp067809 for ; Mon, 9 Nov 2015 06:09:22 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: In-Reply-To: <20151108182817.GA49944@troutmask.apl.washington.edu> References: <20151101164707.GA5847@troutmask.apl.washington.edu> , <20151108182817.GA49944@troutmask.apl.washington.edu> From: "Chris H" Subject: Re: buildworld broken Date: Mon, 09 Nov 2015 06:09:22 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 09 Nov 2015 14:09:13 -0000 On Sun, 8 Nov 2015 10:28:17 -0800 Steve Kargl wrote > On Sun, Nov 01, 2015 at 11:19:09PM -0800, NGie Cooper wrote: > > > > > /usr/obj/usr/src/tmp/usr/lib/libcrypto.so: undefined reference to > > > 'PKCS7_dataInit' /usr/obj/usr/src/tmp/usr/lib/libcrypto.so: undefined > > > reference to 'PKCS7_dataDecode' > > > /usr/obj/usr/src/tmp/usr/lib/libcrypto.so: undefined reference to > > > 'PKCS7_signatureVerify' > > > Hi Steve, > > What are your custom build options? Have you patched your copy of > > FreeBSD? > Thanks! > > Back to trying to build freebsd. I have discovered that > 'make buildworld' is simply broken if one attempts to use > a symlink for /usr/obj. At least doing doing > > % rm -rf /usr/obj I must perform a chflags -R noschg on /usr/obj prior to blowing it away. Is it different for you, or did you just omit that step? > % ln -s /mnt/obj /usr/obj > % cd /usr/src > % nice make -j2 buildworld > > with /mnt a UFS2 file system on a USB2 disk yields errors of the > above form. > > If one does > > % rm -rf /usr/obj > % setenv OBJDIR /mnt/obj > % cd /usr/src > % nice make -j2 buildworld > > works. So, it appears soemthing inside the make infrastructure cannot > follow symlinks. This used to work. > > -- > Steve --Chris