title: Perpetual "File not found"
body: <p>I have two Delphi runtime packages. The <code>SecondPackage</code> includes <code>FirstPackage</code> in its <code>requires</code> clause. One of the other developers recently added several new files to the first package.</p>
  
  <p>Now when I compile the first package I don't have any errors but when I compile the <strong>second</strong> package I keep getting:</p>
  
  <pre><code> [DCC Fatal Error] FirstPackage.dpk(91): F1026 File not found: 'SomeFile.dcu'
  </code></pre>
  
  <p><code>SomeFile</code> is already contained in <code>FirstPackage</code> but re-adding it to <code>FirstPackage</code> moves <code>SomeFile</code> to the end of the <code>Contains</code> clause and gets me:</p>
  
  <pre><code>[DCC Fatal Error] FirstPackage.dpk(91): F1026 File not found: 'SomeOtherFile.dcu'
  </code></pre>
  
  <p>I can continue re-adding files until I'm blue in the face and the result is always the same. The first file in the <code>contains</code> clause cannot be found when <code>SecondPackage</code> is compiled.</p>
  
  <p>I've tried deleting all related dcus, dcps and bpls manually and rebuilding but to no avail. Any ideas?</p>