Showing posts with label build-failures. Show all posts
Showing posts with label build-failures. Show all posts

Tuesday, November 1, 2011

BUILD FAILED Unable to delete file hsqldb.out

Process Explorer shows you information about which handles and DLLs processes have opened or loaded.
  • Download Process Explorer from Microsoft site and run the program.
  • Click the Find menu, and choose Find Handle or DLL...
  • Type the file name (name of the file which is locked by some process.)
  • After typing the search phrase, click the Search button
You should see the list of applications which are accessing the file.

Wednesday, February 17, 2010

fatal error C1033: cannot open program database vc60.pdb

We encountered this error while doing debug build on some C programs. Our environment consists of Cygwin installed on Windows 2003 server, Visual Studio (VC98), Gmake.

This problem got resolved for us by killing some hung process on our Windows Server. Actually make clean, which in turn, trying to remove vc60.pdb file, was not able to delete this file. When I try to remove it manually, it was complaining that, this file was shared by some resources, so it can't delete.
Finally the culprit process was found out using Windows process explorer. After killing the culprit process, our build went fine. Even reboot of Windows server will resolve this problem.

Tuesday, February 16, 2010

Can't create transcript file No space left on device

Build was failing with this absurd error. By thorough inspection of log, I found out some command is trying to write inside a directory /var. I found out disk usage in /var is 100% full, so I thought problem is simple and I truncated some Unix system logs in /var/log and rerun the build. But again it failed with the same error.
At last, I found out that, another issue causing this problem is that inode usage in /var is 100%.

We can find the inode usage status using the command "df -i"

Finally after removing some files in /var/tmp, inode usage got reduced less than 100% and my build went fine afterward.

Thursday, November 13, 2008

“No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly.”

In AIX, the IBM c/c++ compiler xlc_r which gives the following licensing warning

“No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly.”

which considerably slows down the build process. This can be avoided by modifying /etc/vac.cfg file. Since license manager is optional, check out for "options", near the end, in DEFLT for xlc_r. Then add -qnolm option if it is not already exist, which means "no license manager".

Friday, July 11, 2008