Many thank answer howardpc
No, not a bug, but something amiss with that particular project.
Bug me, so is bug ?

It strange. i look .lpi and look .lps i think error.
Project madref (part) lpi read
<Units>
<Unit>
<Filename Value="Referee3_DB.lpr"/>
<IsPartOfProject Value="True"/>
</Unit>
<Unit>
<Filename Value="referee_main.pas"/>
<IsPartOfProject Value="True"/>
<ComponentName Value="Form_RefereeMain"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
</Unit>
</Units>
Read is missing number unit.
I fix (same part) lpi read:
<Units Count="2">
<Unit0>
<Filename Value="Referee3_DB.lpr"/>
<IsPartOfProject Value="True"/>
</Unit0>
<Unit1>
<Filename Value="referee_main.pas"/>
<IsPartOfProject Value="True"/>
<ComponentName Value="Form_RefereeMain"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
</Unit1>
</Units>
Same when lps file. That unit not same. Is (no) good ?
I not know why before. Now i know and fix easy. I many time waste fix copy-paste form/unit/lpr/lpi/lps/res and lazarus say error.
add:
same true tag BuildModes lpi
madref lpi
<BuildModes>
<Item Name="Default" Default="True"/>
</BuildModes>
me fix lpi
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>
</BuildModes>