-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
High
-
Resolution: Clarified
-
Affects Version/s: master
-
Fix Version/s: None
-
Component/s: Build System
-
Labels:None
-
Environment:
Fedora 27, gcc 7.3.1, cmake 3.10.1
-
Development:
I have set up this environment on my computer (Fedora 27)
ROOTSYS=/cern/root_master
|
PATH=$PATH:$ROOTSYS/bin
|
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
|
Installation procedure (first time):
cd /cern
|
git clone --depth 1 http://root.cern.ch/git/root.git root_master
|
mkdir root_master_build/
|
cd root_master_build/
|
cmake /cern/root_master -Dtmva=OFF -Dmathmore=OFF -Dhttp=ON -DXROOTD_ROOT_DIR=/cern/xrootd -DCMAKE_INSTALL_PREFIX=/cern/root_master
|
make
|
make install
|
All installation (first time) is fine, no problem.
The problem is starting when compiling updated (git pull) source code. I update (and compile) regularly once in 1-2 days:
[musinsky@strela root_master_build]$ git -C /cern/root_master pull |
# all OK, updated
|
[musinsky@strela root_master_build]$ make |
#
|
# some lines
|
#
|
-- And if not found, will invoke: 'c++' for them. |
CMake Error: Attempt to add a custom rule to output "/cern/root_master_build/etc/dictpch/allLinkDefs.h.rule" which already has a custom rule. |
CMake Error: Attempt to add a custom rule to output "/cern/root_master_build/etc/allDict.cxx.pch.rule" which already has a custom rule. |
CMake Error: Attempt to add a custom rule to output "/cern/root_master_build/tutorials/hsimple.root.rule" which already has a custom rule. |
-- Configuring incomplete, errors occurred!
|
make: *** [Makefile:8298: cmake_check_build_system] Error 1 |
[musinsky@strela root_master_build]$
|
Just remarked:
- /cern/root_master ROOTSYS dir with source code
- /cern/root_master_build/ build dir
Thanks,
Jan