[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2006-05-19
Medium Priority
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

Expert Comment

ID: 16718622
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.

Expert Comment

ID: 16719456
Is delphi 6 patched as far as possible?

Author Comment

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

GranMod earned 0 total points
ID: 16766910
Closed, 250 points refunded.

The Experts Exchange
Community Support Moderator of all Ages

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month19 days, 1 hour left to enroll

834 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