buildworld broken

Steve Kargl sgk at troutmask.apl.washington.edu
Sun Nov 8 18:28:23 UTC 2015


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
% 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


More information about the freebsd-current mailing list