NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: base.tgz can't create 'usr/bin/mail' - cross compiled release 6.1
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/
Home |
Main Index |
Thread Index |
Old Index