Inconsistent revision control
erik.joelsson at oracle.com
erik.joelsson at oracle.com
Mon Jun 26 14:44:00 UTC 2023
The makefile is trying to locate your local repositories and record the
state of the workspace. It will only do so if it finds what looks like
.git repositories and a git executable to run. If not, it will just skip
this. You aren't giving us much to work on here, but the error message
looks to originate from this line:
"$(error Inconsistent revision control: $(repo) is missing $(SCM_DIR)
directory))"
This implies that the string "17-24-55" is a directory name that the
makefile thinks is a repository. If you could locate this directory in
your workspace, it might shed some light on what's actually happening.
The algorithm for finding repositories is basically this (but using the
make $(wildcard) function instead of ls):
$ ls .git */.git */*/.git */*/*/.git */*/*/*/.git
This means that there must be a file named ".git" in your "17-24-55"
workspace, or possibly up to 4 directories down.
I'm not familiar with Carbon Copy Cloner, and I'm not sure why you would
use such a tool. Git is a pretty good tool for moving source code
around. Adding another layer of copying on top seems to me like it could
easily cause trouble.
/Erik
On 6/26/23 16:12, Alan Snyder wrote:
> That much is obvious :-)
>
> As the script appears to run git status, I am going to take a guess that it is complaining because I have modified or untracked files in the repo.
> Can someone confirm that?
>
> On the other hand, I don’t see why modified or untracked files should prevent building during development.
>
> The actual message makes no sense to me. What is “17-24-55”?
>
> I was not able to find any files named “.src-rev”.
>
>
>
>
>> On Jun 26, 2023, at 6:08 AM, Pavel Rappo <pavel.rappo at oracle.com> wrote:
>>
>> It appears that the error is coming from make/SourceRevision.gmk
>>
>>> On 26 Jun 2023, at 13:55, Alan Snyder <javalists at cbfiddle.com> wrote:
>>>
>>> It would be very unlikely for CCC to fail to correctly clone the directory.
>>>
>>> It would be helpful to know what the build tool is complaining about with that message.
>>>
>>>> On Jun 25, 2023, at 10:04 PM, David Holmes <david.holmes at oracle.com> wrote:
>>>>
>>>> On 24/06/2023 12:28 pm, Alan Snyder wrote:
>>>>> I have been trying to use Carbon Copy Cloner to make a copy of an active jdk repo on another macOS machine for the purpose of running tests.
>>>>> The initial clone is fine.
>>>>> After an incremental clone of the directory tree, I get mysterious messages like this:
>>>>> Inconsistent revision control: 17-24-55/ is missing .git directory
>>>>> What is this about?
>>>>> Is there an easy way to fix this problem?
>>>> This isn't really a build issue. I can only suggest that you check that the copy you made actually copied across all hidden directories, e.g. .git, as well.
>>>>
>>>> Cheers,
>>>> David
>>>>
More information about the build-dev
mailing list