Re: Inconsistent revision control

2023-06-26 Thread Alan Snyder
Thanks for the information. That indeed was the problem. Carbon Copy Cloner 
squirrels some files away to allow undo, a feature that I don’t usually pay 
attention to. Removing the extra CCC directory did the trick.

  Alan





> On Jun 26, 2023, at 6:24 PM, Sriram Narayanan  wrote:
> 
> 
> 
> On Tue, 27 Jun 2023 at 8:34 AM, Alan Snyder  <mailto:javali...@cbfiddle.com>> wrote:
>> Can we start over?
>> 
>> I am trying to do a JDK build using make.
>> 
>> It reports an error like this: Inconsistent revision control: 17-24-55/ is 
>> missing .git directory
>> 
>> at which point the build is aborted.
>> 
>> I’d like to know what this message means, so that I can fix the problem or 
>> avoid it in the future.
>> 
>> What is 17-24-55?
> 
> 
> It is a directory. Please check which files are within. Try removing it ( 
> move it outside the entire source tree) and stay the build.
> 
> 
>> 
>> 
>> If there is a missing .git directory, where would it be?
>> 
>> The top level .git directory is present.
>> 
>> If I do “git status” it tells me things that I expect, listing untracked 
>> files and changes not staged for commit.
>> 
>> It does not complain about the repo being broken in any way.
>> 



Re: Inconsistent revision control

2023-06-26 Thread Sriram Narayanan
On Tue, 27 Jun 2023 at 8:34 AM, Alan Snyder  wrote:

> Can we start over?
>
> I am trying to do a JDK build using make.
>
> It reports an error like this: Inconsistent revision control: 17-24-55/ is
> missing .git directory
>
> at which point the build is aborted.
>
> I’d like to know what this message means, so that I can fix the problem or
> avoid it in the future.
>
> What is 17-24-55?



It is a directory. Please check which files are within. Try removing it (
move it outside the entire source tree) and stay the build.



>
> If there is a missing .git directory, where would it be?
>
> The top level .git directory is present.
>
> If I do “git status” it tells me things that I expect, listing untracked
> files and changes not staged for commit.
>
> It does not complain about the repo being broken in any way.
>
>


Re: Inconsistent revision control

2023-06-26 Thread Joseph D. Darcy

Thread archived at

https://mail.openjdk.org/pipermail/build-dev/2023-June/039957.html

-Joe

On 6/26/2023 6:03 PM, Alan Snyder wrote:

I’m deducing the existence of a message from Erik that I did not receive.
Perhaps someone can repost it?



Re: Inconsistent revision control

2023-06-26 Thread Alan Snyder
Can we start over?

I am trying to do a JDK build using make.

It reports an error like this: Inconsistent revision control: 17-24-55/ is 
missing .git directory

at which point the build is aborted.

I’d like to know what this message means, so that I can fix the problem or 
avoid it in the future.

What is 17-24-55?

If there is a missing .git directory, where would it be?

The top level .git directory is present.

If I do “git status” it tells me things that I expect, listing untracked files 
and changes not staged for commit.

It does not complain about the repo being broken in any way.



Re: Inconsistent revision control

2023-06-26 Thread Joseph D. Darcy
And anyone is free to use the standard set of tools, which is know to 
work and used daily by dozens to hundreds of developers.


-Joe

On 6/26/2023 3:24 PM, David Holmes wrote:

On 27/06/2023 8:04 am, Alan Snyder wrote:

An incremental clone is a sync, like an incremental backup.

Erik responded to a different question. I’ve gotten no closer to 
figuring out this problem.


Erik responded to exactly your question.


Feel free to be helpful, if you can.

I don’t think it is helpful to nitpick my words.


When your words do not make it clear what exactly it is you are 
reporting then they need to be clarified. "clone" is a git operation 
not a build one.


David




On Jun 26, 2023, at 2:46 PM, David Holmes  
wrote:


On 27/06/2023 7:40 am, Alan Snyder wrote:

No, I meant incremental clone.


What is an incremental clone?

After updating the directory, I tried to do an incremental build 
and got the strange message.


So you did mean "incremental build".

After that, I tried doing a full build, reconfiguring, etc., but 
nothing helped.
Now that you know that a build tool is involved, can you help me 
figure out what the problem is?


I think Erik already addressed that.

David


On Jun 26, 2023, at 2:32 PM, David Holmes 
 wrote:


On 26/06/2023 10:55 pm, Alan Snyder 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.


Wasn't apparent any build tool was involved. You stated:

After an incremental clone of the directory tree, I get 
mysterious messages like this:


I presume you actually meant "incremental build".

David

On Jun 25, 2023, at 10:04 PM, David Holmes 
 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









Re: Inconsistent revision control

2023-06-26 Thread David Holmes

On 27/06/2023 8:04 am, Alan Snyder wrote:

An incremental clone is a sync, like an incremental backup.

Erik responded to a different question. I’ve gotten no closer to figuring out 
this problem.


Erik responded to exactly your question.


Feel free to be helpful, if you can.

I don’t think it is helpful to nitpick my words.


When your words do not make it clear what exactly it is you are 
reporting then they need to be clarified. "clone" is a git operation not 
a build one.


David





On Jun 26, 2023, at 2:46 PM, David Holmes  wrote:

On 27/06/2023 7:40 am, Alan Snyder wrote:

No, I meant incremental clone.


What is an incremental clone?


After updating the directory, I tried to do an incremental build and got the 
strange message.


So you did mean "incremental build".


After that, I tried doing a full build, reconfiguring, etc., but nothing helped.
Now that you know that a build tool is involved, can you help me figure out 
what the problem is?


I think Erik already addressed that.

David



On Jun 26, 2023, at 2:32 PM, David Holmes  wrote:

On 26/06/2023 10:55 pm, Alan Snyder 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.


Wasn't apparent any build tool was involved. You stated:


After an incremental clone of the directory tree, I get mysterious messages 
like this:


I presume you actually meant "incremental build".

David


On Jun 25, 2023, at 10:04 PM, David Holmes  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









Re: Inconsistent revision control

2023-06-26 Thread Alan Snyder
An incremental clone is a sync, like an incremental backup.

Erik responded to a different question. I’ve gotten no closer to figuring out 
this problem.

Feel free to be helpful, if you can.

I don’t think it is helpful to nitpick my words.



> On Jun 26, 2023, at 2:46 PM, David Holmes  wrote:
> 
> On 27/06/2023 7:40 am, Alan Snyder wrote:
>> No, I meant incremental clone.
> 
> What is an incremental clone?
> 
>> After updating the directory, I tried to do an incremental build and got the 
>> strange message.
> 
> So you did mean "incremental build".
> 
>> After that, I tried doing a full build, reconfiguring, etc., but nothing 
>> helped.
>> Now that you know that a build tool is involved, can you help me figure out 
>> what the problem is?
> 
> I think Erik already addressed that.
> 
> David
> 
> 
>>> On Jun 26, 2023, at 2:32 PM, David Holmes  wrote:
>>> 
>>> On 26/06/2023 10:55 pm, Alan Snyder 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.
>>> 
>>> Wasn't apparent any build tool was involved. You stated:
>>> 
>>>> After an incremental clone of the directory tree, I get mysterious 
>>>> messages like this:
>>> 
>>> I presume you actually meant "incremental build".
>>> 
>>> David
>>> 
>>>>> On Jun 25, 2023, at 10:04 PM, David Holmes  
>>>>> 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
>>>>> 
>>> 
> 



Re: Inconsistent revision control

2023-06-26 Thread David Holmes

On 27/06/2023 7:40 am, Alan Snyder wrote:

No, I meant incremental clone.


What is an incremental clone?


After updating the directory, I tried to do an incremental build and got the 
strange message.


So you did mean "incremental build".


After that, I tried doing a full build, reconfiguring, etc., but nothing helped.

Now that you know that a build tool is involved, can you help me figure out 
what the problem is?


I think Erik already addressed that.

David



On Jun 26, 2023, at 2:32 PM, David Holmes  wrote:

On 26/06/2023 10:55 pm, Alan Snyder 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.


Wasn't apparent any build tool was involved. You stated:


After an incremental clone of the directory tree, I get mysterious messages 
like this:


I presume you actually meant "incremental build".

David


On Jun 25, 2023, at 10:04 PM, David Holmes  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







Re: Inconsistent revision control

2023-06-26 Thread Alan Snyder
No, I meant incremental clone.

After updating the directory, I tried to do an incremental build and got the 
strange message.

After that, I tried doing a full build, reconfiguring, etc., but nothing helped.

Now that you know that a build tool is involved, can you help me figure out 
what the problem is?



> On Jun 26, 2023, at 2:32 PM, David Holmes  wrote:
> 
> On 26/06/2023 10:55 pm, Alan Snyder 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.
> 
> Wasn't apparent any build tool was involved. You stated:
> 
> > After an incremental clone of the directory tree, I get mysterious messages 
> > like this:
> 
> I presume you actually meant "incremental build".
> 
> David
> 
>>> On Jun 25, 2023, at 10:04 PM, David Holmes  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
>>> 
> 



Re: Inconsistent revision control

2023-06-26 Thread David Holmes

On 26/06/2023 10:55 pm, Alan Snyder 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.


Wasn't apparent any build tool was involved. You stated:

> After an incremental clone of the directory tree, I get mysterious 
messages like this:


I presume you actually meant "incremental build".

David


On Jun 25, 2023, at 10:04 PM, David Holmes  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





Re: Inconsistent revision control

2023-06-26 Thread erik . joelsson
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  wrote:

It appears that the error is coming from make/SourceRevision.gmk


On 26 Jun 2023, at 13:55, Alan Snyder  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  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



Re: Inconsistent revision control

2023-06-26 Thread Alan Snyder
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  wrote:
> 
> It appears that the error is coming from make/SourceRevision.gmk
> 
>> On 26 Jun 2023, at 13:55, Alan Snyder  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  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
>>> 
>> 
> 



Re: Inconsistent revision control

2023-06-26 Thread Pavel Rappo
It appears that the error is coming from make/SourceRevision.gmk

> On 26 Jun 2023, at 13:55, Alan Snyder  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  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
>> 
> 



Re: Inconsistent revision control

2023-06-26 Thread Alan Snyder
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  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
> 



Re: Inconsistent revision control

2023-06-25 Thread David Holmes

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



Inconsistent revision control

2023-06-23 Thread Alan Snyder
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?