IBM Support

Builds fail after VOB move reporting clearmake: Error: Unable to find view by uuid

Troubleshooting


Problem

This technote explains how to resolve an error [] clearmake: Error: Unable to find view by uuid:60baa555.8dc312dc.8370.00:38:60:56:29:19, last known at "". [], that can occur when using IBM® Rational® ClearCase® (CC) and performing a build.

Symptom


When attempting to perform a build in a VOB that was recently moved the following error is reported:

clearmake: Error: Unable to find view by uuid:60baa555.8dc312dc.8370.00:38:60:56:29:19, last known at
"<view-path>".

Cause


When moving a VOB to a new location without also moving the views, and the VOB has references to a view (for example through derived objects), there will be a problem when building in the VOB in the new environment.

Since the VOB has references (for example through derived objects) to a view that it can no longer find, attempts to find those referenced objects will fail because it cannot find them.

Resolving The Problem

Running a cleartool describe -long vob:<vob-selector> command on the vob that has this problem will display the uuid of the referenced view under the section titled "VOB holds objects from the following views:". In that section you should find the same uuid as that referenced in the error message.

You can place the view(s) at a location that is accessible in the new environment. Refer to the Moving a View section of the IBM Rational ClearCase Command Reference Manual for further details.

CAUTION: The following command will also remove all checkout references for the view in the VOB specified. If your intention was not to remove the view checkout references, then you should not proceed and should consider moving the views as previously mentioned.


You should refer to technote 1122515 Removing checked-out references of a view from a VOB for additional information on related errors and further details about this solution before moving forward.

Using this uuid it is then possible to remove the reference from the view by running the following command:


cleartool rmview -uuid <view-uuid> -vob <vob-tag>


Example:

C:\ cleartool rmview -vob \aug2007 -uuid 2e449990.f2b54255.8481.88:a6:58:e4:97:dc
Can't remove view "\\host-ii\viewstore\SCII.vws" from VOB while view still exists.

Remove view "\\host-ii\viewstore\SCII.vws" references from VOB anyway?  [no] y

Removed references to view "host-ii:C:\clearcase_storage\viewstore\SCII.vws" from VOB "host-ii:C:\clearcase_storage\vobstore\aug2007.vbs".

sc-II:C:\Documents and Settings\user1>

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"View: Dynamic","Platform":[{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"7.0.1.1;7.0.1;7.0.0.2;7.0.0.1;7.0;2003.06.16;2003.06.00","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Clearmake - Clearaudit - Omake","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2018

UID

swg21313884