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

Posted on 2006-05-19
Last Modified: 2010-04-05
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.
Question by:Ken Turner
    LVL 7

    Expert Comment

    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.
    LVL 7

    Expert Comment

    Is delphi 6 patched as far as possible?
    LVL 6

    Author Comment

    by:Ken Turner
    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.


    Accepted Solution

    Closed, 250 points refunded.

    The Experts Exchange
    Community Support Moderator of all Ages

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
    In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
    This video discusses moving either the default database or any database to a new volume.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now