IBM Support

clearmake: Error: Unable to find ancestor directory of audited object

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"

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Clearmake - Clearaudit - Omake","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0.1;7.0.1.1;7.0.1.2;7.0.1.3;7.0.1.4","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21388837