Troubleshooting
Problem
This technote identifies an issue that can occur in IBM Rational ClearCase where Clearmake is not correctly following the rename of a Derived Object (DO) candidate container.
Symptom
If a makefile writes a file in a view-private directory and then moves the directory to another path, Clearmake is not correctly following the rename of a DO candidate's container.
Example makefile:
# Use in a VOB, where source is a versioned directory
all:
rm -fr source/23546
mkdir source/23546
mkdir source/23546/libxml2-2.6.17
mkdir source/23546/libxml2-2.6.17/example
touch source/23546/libxml2-2.6.17/example/Makefile.am
mvdir source/23546/libxml2-2.6.17 source
When running the build, an error message is produced:
clearmake: Error: Unable to find ancestor directory of audited object
"/project/exampleproject/source/23546/libxml2-2.6.17/example/Makefile.am"
clearmake: Error: Unable to execute build script for "all"
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21388837