Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2009 03:03:24 -0700
From:      Michael David Crawford <mdc@prgmr.com>
To:        Ed Schouten <ed@80386.nl>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Subversion dies on pkill checkout
Message-ID:  <49B63AEC.2070305@prgmr.com>
In-Reply-To: <20090310085736.GB19161@hoeg.nl>
References:  <49B6248F.9040708@prgmr.com> <20090310085736.GB19161@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
> * Michael David Crawford <mdc@prgmr.com> wrote:
>> A    tools/regression/usr.bin/pkill/pkill-t.t
>> svn: In directory 'tools/regression/usr.bin/pkill'
>> svn: Can't move source to dest
>> svn: Can't move  
>> 'tools/regression/usr.bin/pkill/.svn/tmp/prop-base/pgrep-s.t.svn-base'  
>> to 'tools/regression/usr.bin/pkill/.svn/prop-base/pgrep-s.t.svn-base':  
>> No such file or directory

Ed Schouten wrote:
> I guess this is yet another issue we're having with checking out our
> source tree on case insensitive file systems. 

That was it!  I should have guessed - it's bitten me before. [*]

The workaround - again this is on Mac OS X - is to use Disk Utility to 
create a big enough disk image file, then after it has been initialized, 
reformat it with a case-sensitive filesystem.

One has the choice of the Unix Filesystem or case-sensitive HFS+.  HFS+ 
is case-insensitive by default; I think the case-sensitive option is 
only available in recent OS X versions.

I was able to do a full Subversion checkout onto the case-sensitive 
disk-image filesystem without any further trouble.

> I squashed some of these
> bugs some time ago, but I never got around fixing all of them. :-(

Given that Mac OS X draws heavily on FreeBSD, and OS X' filesystem is 
case-insensitive by default, would it be helpful if I tracked them all 
down and submitted patches that would fix them all?

It shouldn't be hard to write a script that detects files and 
directories whose names differ only in case.

[*] libwww-perl installs a program called /usr/bin/HEAD that clobbers 
/usr/bin/head on Mac OS X.  Hilarity will ensue months or even years 
later when some arcane build script tries to use head but gets HEAD's 
behavior instead.

Mike
-- 
Michael David Crawford
mdc@prgmr.com

    prgmr.com - We Don't Assume You Are Stupid.

       Xen-Powered Virtual Private Servers: http://prgmr.com/xen



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