pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Update deadloop (case-insensitive filesystem issue on Mac OS X)



On Sat, May 24, 2014 at 10:56:48AM -0700, Xiyue Deng wrote:

> For instance, in the log it says net/Transmission is not longer
> available and then marked net/transmission up-to-date. What happens is
> that net/Transmission is still there.
> 
> I then realized this may be related to the fact that Mac OS X uses
> case-insensitive file system by default. And currently there is not
> other issue related shows up yet.

CVS is a little bit dumb about how it manages directories. OS X is
a little bit dumb about how it manages filename case. As people
committing to a CVS repository that gets used on case-insensitive
filesystems, it's our job to prevent these dumbnesses from interacting
badly. What you're seeing is that in a couple places, we've missed
a spot.

It's annoying that a `cvs update` makes noise even when it has
nothing to do, but that's the extent of the problem. Besides that
(and the occasional upstream developer actively opposed to dealing
with case-insensitive filesystems), pkgsrc and everything in it
works quite well on OS X.

We've missed a few similar spots before. 7 years ago today, I did
some surgery on the repository:

<http://mail-index.netbsd.org/pkgsrc-users/2007/05/27/0002.html>
<http://mail-index.netbsd.org/pkgsrc-users/2007/05/28/0010.html>
<http://mail-index.netbsd.org/pkgsrc-users/2007/05/29/0010.html>
<http://mail-index.netbsd.org/pkgsrc-users/2007/06/15/0002.html>

To address what you're seeing, we'll need to perform some followup
surgery. To prevent another recurrence, we'll need to install a
pre-commit hook. (If the hook works well for pkgsrc, we'll probably
want it for src too.)


Home | Main Index | Thread Index | Old Index