Resolved by Matthias: You are absolutely correct! This totally slipped my mind. I carved out a case sensitive “build” volume on my Mac and it worked perfectly. Thanks for your time!
qab > On Mar 2, 2015, at 01:27, Matthias Scheler <t...@zhadum.org.uk> wrote: > > On Sun, Mar 01, 2015 at 11:17:26PM -0600, qabulin wrote: >>> $ su root ./build.sh -O ../obj/ -T ../tools/ -D ../dest/ -R ../release/ -U >>> -m amd64 -V INSTALLSETS="base etc" >>> install=/Users/qabulin/Downloads/netbsd-build/test/ > [...] >> [—snippet—] >> Copying set base >> pax: Cannot link file >> /Users/qabulin/Downloads/netbsd-build/test/./usr/bin/Mail to itself >> [—snippet—] >> ERROR: Failed to make installworld to >> /Users/qabulin/Downloads/netbsd-build/test/ >> *** BUILD ABORTED *** >> >> I confirmed that the base.tgz found in the release dir does not extract >> usr/bin/mail : >> $ cp ../release/amd64/binary/sets/base.tgz . >> $ tar -xzpf base.tgz >> ./usr/bin/mail: Can't create 'usr/bin/mail' >> tar: Error exit delayed from previous errors. >> $ > > NetBSD's base system contains both "/usr/bin/Mail" and "/usr/bin/mail": > > tron@colwyn:~>ls -l /usr/bin/[Mm]ail > -r-xr-xr-x 3 root wheel 203235 Feb 28 15:11 /usr/bin/Mail > -r-xr-xr-x 3 root wheel 203235 Feb 28 15:11 /usr/bin/mail > >> What can I do to troubleshoot this further? FYI, my cross compile >> build machine is a Mac: >> $ sw_vers >> ProductName: Mac OS X >> ProductVersion: 10.10.2 >> BuildVersion: 14C109 > > That is mostly likely the problem. Mac OS X's file system is not > case sensitive by default. However NetBSD base system is designed for > a case sensitive file system. > > The easiest work around is probably to use Disk Uiltity to create a > disk image that is formatted as "Mac OS Extended (Case-sensitive, > Journaled)", mount that image and use it as the installation directory. > > Kind regards > > -- > Matthias Scheler https://zhadum.org.uk/