Project

General

Profile

Bug #5346

cetbuildtools build fails when running the buildLAr-xxx script

Added by Tracy Usher almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Install / build / code mgmt
Target version:
Start date:
02/05/2014
Due date:
% Done:

0%

Estimated time:
Co-Assignees:
Duration:

Description

Platform: Linux Redhat 6 64 bit (bash shell)

Error (from log file):

CMake Error: The current CMakeCache.txt directory /afs/slac/g/lbne/products/larsoft_v1_00_02/cetbuildtools/v3_07_03/build/CMakeCache
.txt is different than the directory /home/greenc/work/cet-is/test-products/cetbuildtools/v3_07_03/build where CMakeCache.txt was cr
eated. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/afs/slac/g/lbne/products/larsoft_v1_00_02/cetbuildtools/v3_07_03/src/CMakeLists.txt" does not match the so
urce "/home/greenc/work/cet-is/test-products/cetbuildtools/v3_07_03/src/CMakeLists.txt" used to generate cache. Re-run cmake with a
different source directory.

Workaround:
It appears this error occurs because the tar file for cetbuildtools v3_07_03 contains extra folders - src, tar and build. Deleting these folders by hand and then rerunning the script appears to fix the problem.

History

#1 Updated by Tracy Usher almost 6 years ago

This appears to also be the case with cetbuildtools v3_06_07
Sorry, this is not the case... it appears only v3_07_03 has the issue.

#2 Updated by Lynn Garren almost 6 years ago

  • Status changed from New to Assigned

Um, right. Thought we'd sorted that, but I guess not.

#3 Updated by Lynn Garren over 5 years ago

  • Status changed from Assigned to Resolved

Not a problem with the versions in use now.

#4 Updated by Lynn Garren over 5 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF