From owner-freebsd-current@freebsd.org Tue Nov 10 06:31:21 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 25297A2AC88 for ; Tue, 10 Nov 2015 06:31:21 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C14D8191C; Tue, 10 Nov 2015 06:31:20 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id tAA6V75c016155 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 10 Nov 2015 08:31:07 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua tAA6V75c016155 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id tAA6V6dn016153; Tue, 10 Nov 2015 08:31:06 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 10 Nov 2015 08:31:06 +0200 From: Konstantin Belousov To: Ian Lepore Cc: Chris H , freebsd-current@freebsd.org Subject: Re: buildworld broken Message-ID: <20151110063106.GJ2257@kib.kiev.ua> References: <20151101164707.GA5847@troutmask.apl.washington.edu> <20151108182817.GA49944@troutmask.apl.washington.edu> <1447091772.91534.483.camel@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447091772.91534.483.camel@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home 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: Tue, 10 Nov 2015 06:31:21 -0000 On Mon, Nov 09, 2015 at 10:56:12AM -0700, Ian Lepore wrote: > On Mon, 2015-11-09 at 06:09 -0800, Chris H wrote: > > 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? > > > > In 19 years of using freebsd, I have never once needed to chflags on an > obj directory. Nothing in the build process sets any non-standard > flags in the obj dirs, and a simple rm -rf will remove everything just > fine (you would need to sudo the rm -rf if you built as root). You do not build amd64 as root, do you ? pooma% ls -lo obj-amd64/usr/home/kostik/work/build/bsd/DEV/src/lib32/usr/lib32/libc.so.7 -r--r--r-- 1 root wheel schg 1429600 Oct 24 23:23 obj-amd64/usr/home/kostik/work/build/bsd/DEV/src/lib32/usr/lib32/libc.so.7 This is an annoyance with COMPAT32 build which existed forewer. > > -- Ian > > > > % 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. > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"