Never-build package '(whatever)' must be recompiled

We use Delphi 6 with Update Pack 2; until now our build machine was Win2K, but I am in the process of creating a new build machine on WinXP SP2.

I have spent a full day installing Delphi together with a lot of additional packages which we use;  I have replicated all the library paths from one machine together, and as far as I am able to determine, the Delphi environment is identical on both machines.

I have an automated build process (based on FinalBuilder 4), and all my source files are maintained in a StarTeam repository;  the build process uses dcc32.exe rather than delphi32.exe.

I attempted a automated test build of a single module within a system containing perhaps 50 bpl's.  On the Win2K machine it works perfectly, but an identical build on the WinXP machine falls over with a 'Never-build package '(whatever)' must be recompiled', where (whatever) is indeed another module within the system.

I am in the process of recompiling (whatever) and I am expecting this to resolve the immediate problem, but this does not explain why it is happening in the first place, and I don't really want to have to rebuild everything on the new machine before continuing .

Are there any known issues with Delphi 6 in WinXP?  Are there any compiler settings that I may have overlooked?
I'm clutching at straws here guys - give me some inspiration.
Ken TurnerAsked:
Who is Participating?
GranModConnect With a Mentor Commented:
Closed, 250 points refunded.

The Experts Exchange
Community Support Moderator of all Ages
Kyle FosterCEOCommented:
try doing a search for the bpl in the delphi lib path.  This appears to happen if another version of the bpl or dpk is found in the path and it has shared units from the application.
Is delphi 6 patched as far as possible?
Ken TurnerAuthor Commented:
I think I've solved my own problem:

I had a whole bunch of stuff in $(DELPHI)\Projects\Bpl including some in-house packages which I rebuilt in the course of installing Delphi 6.  When I copied across all the old DCP and BPL files from the same directory on the old build machine, the problem was resolved.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.