ncursesw doesn't like to (re)activate
Joshua Root
jmr at macports.org
Sat May 24 07:37:53 PDT 2008
Rainer Müller wrote:
> Joshua Root wrote:
>> Rainer Müller wrote:
>>> Joshua Root wrote:
>>>> So it looks like the entry in the file map has a different case than
>>>> the file itself. I don't know how that could have happened, but
>>>> hopefully this narrows the problem down a bit for Anthony.
>>> Our file_map.db is case-insensitive for paths.
>>>
>>> From pextlib1.0/filemap.h:
>>> * filemaps are dictionaries (what Tcl calls arrays) with case
>>> unsensitive keys
>>> * that are file paths and values that are port names.
>>
>> Aha. So we should probably change uninstall and deactivate to remove
>> all the files that case-insensitively match what's in the file_map,
>> instead of just one?
>
> The problem is that our file_map can't handle "2621A" and "2621a" even
> on case-sensitive filesystem. After it installed one file, it will
> complain on the other file that this path already exists in the file_map.
Hmm, but apparently it does not complain when both files are installed
by one port.
> How much work we should still invest into registry1.0? I don't know if
> this is just a quick fix or if it will reveal more problems. In my
opinion
> we should rather work on registry2.0.
Well, this needs to be fixed somewhere, whether in the registry or in
the ncursesw port.
- Josh
More information about the macports-users
mailing list