Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Nov 2015 06:09:22 -0800
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        <freebsd-current@freebsd.org>
Subject:   Re: buildworld broken
Message-ID:  <e066bd38f8b8bb46c5022ad6fbce3c3e@ultimatedns.net>
In-Reply-To: <20151108182817.GA49944@troutmask.apl.washington.edu>
References:  <20151101164707.GA5847@troutmask.apl.washington.edu> <CD2B8B15-BFD7-48AA-BFAA-41BFE48635D7@gmail.com>, <20151108182817.GA49944@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 Nov 2015 10:28:17 -0800 Steve Kargl
<sgk@troutmask.apl.washington.edu> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e066bd38f8b8bb46c5022ad6fbce3c3e>