MacPorts' cvs does not honor case-sensitivity of FS
Andreas Kusalananda Kähäri
andreas.kahari at bils.se
Fri Nov 7 07:51:11 PST 2014
For the record:
sudo port uninstall cvs
sudo port -s install cvs +casesensitive
My locally created port variant is now pulled in and my cvs *finally* works as expected (yay!).
--
Andreas Kusalananda Kähäri
System Developer at BILS
Uppsala University, Sweden
> On 07 Nov 2014, at 16:41, Andreas Kusalananda Kähäri <andreas.kahari at bils.se> wrote:
>
> I solved this for myself by reconfiguring the cvs sources with “--enable-case-sensitivity”. It’s the build filesystem that matters for this port, not the repository nor checkout filesystems.
>
> If I knew how to properly add a “casesensitive” variant for this port, I would propose one.
>
> I tried to modify my local Portfile by adding the following:
>
> variant casesensitive {
> configure.args-append --enable-case-sensitivity
> }
>
> … but I either did it in the wrong way or I forgot to do something else.
>
>
> --
> Andreas Kusalananda Kähäri
> System Developer at BILS
> Uppsala University, Sweden
>
>
>
>
>
>
>
>> On 07 Nov 2014, at 14:24, Andreas Kusalananda Kähäri <andreas.kahari at bils.se> wrote:
>>
>> Hi,
>>
>> I’m serving the NetBSD pkgsrc CVS tree to some internal nodes from an Apple iMac computer running MacPorts.
>>
>> On a case-sensitive disk image: I rsync the CVS tree from a mirror site (this seems to be irrelevant), I CVS update a checkout of the now local CVS tree, and I rsync the checkout to the internal nodes. The reason for doing it this way is that a local CVS update + rsync is several times quicker than doing the CVS update over the net (even internally).
>>
>> This is an example of what I see:
>>
>> $ pwd -P
>> /Volumes/NetBSD-pkgsrc/pkgsrc/finance
>> $ cat CVS/Root
>> /Volumes/NetBSD-pkgsrc/pkgsrc-cvs
>> $ rm -rf p5-Finance-Quote
>> $ cvs -q up -dP
>> U p5-Finance-Quote/DESCR
>> U p5-Finance-Quote/Makefile
>> U p5-Finance-Quote/distinfo
>> $ cvs -q up -dP
>> ? p5-Finance-Quote
>> $ which cvs
>> /opt/local/bin/cvs
>>
>> There was once a port called “p5-finance-quote” (all lower-cased) that was later renamed. There are a few other directories that have the same problem.
>>
>> I’m also unable to check out the “cvs” port:
>>
>> $ pwd -P
>> /Volumes/NetBSD-pkgsrc/pkgsrc/devel
>> $ cvs -q up -dP cvs
>> cvs update: warning: directory cvs specified in argument
>> cvs update: but CVS uses CVS for its own purposes; skipping cvs directory
>>
>> On this filesystem, “cvs” and “CVS” ought to be able to exist in the same directory.
>> In fact:
>> $ mkdir cvs
>> $ ls -F -ldi cvs CVS
>> 1077885 drwxr-xr-x 2 akk staff 170 Nov 7 13:59 CVS/
>> 1386192 drwxr-xr-x 2 akk staff 68 Nov 7 14:17 cvs/
>>
>> This makes me believe that the cvs binary actually explicitly ignore case, even though the filesystem is case-sensitive.
>>
>> Any way I/someone can fix this?
>>
>>
>> Cheers,
>> Andreas
>>
>> --
>> Andreas Kusalananda Kähäri
>> System Developer at BILS
>> Uppsala University, Sweden
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/macports-users
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
More information about the macports-users
mailing list