Skip to content

Problem building cpptools/build.sh #2

@bardelch

Description

@bardelch

This is the build command from the Dockerfile that I have

RUN cd /root && git clone https://github.com/matplo/heppy.git
&& cd heppy
&& ./external/fastjet/build.sh
&& ./external/lhapdf6/build.sh
&& ./external/hepmc2/build.sh
&& ./cpptools/build.sh

===

./cpptools/build.sh

-----------[ heppy: ./cpptools/build.sh ]-----------
[i] building in /root/heppy/cpptools/build
-------------------[ configure ]-------------------
-- version: 1.0
-- module path /root/heppy/cpptools/../cmake
-- Will use /usr/bin/make when needed.
-- CMAKE_CURRENT_SOURCE_DIR: /root/heppy/cpptools
-- Python ver. 3.6.12 found.
-- SWIG ver. 3.0.10 found.
-- Looking for FastJet with fastjet-config...
-- Using fastjet-config at /root/heppy/external/fastjet/fastjet-current/bin/fastjet-config
-- FastJet python module: /root/heppy/external/fastjet/fastjet-3.3.3/lib/python3.6/site-packages/fastjet.py
-- python exec /usr/local/bin/python3.6
-- Loading FastJet python module - result:[0] - success!
#--------------------------------------------------------------------------

FastJet release 3.3.3

M. Cacciari, G.P. Salam and G. Soyez

A software package for jet finding and analysis at colliders

http://fastjet.fr

Please cite EPJC72(2012)1896 [arXiv:1111.6097] if you use this package

for scientific work and optionally PLB641(2006)57 [hep-ph/0512210].

FastJet is provided without warranty under the GNU GPL v2 or higher.

It uses T. Chan's closest pair algorithm, S. Fortune's Voronoi code

and 3rd party plugin jet algorithms. See COPYING file for details.

#--------------------------------------------------------------------------
-- FASTJET ver. 3.3.3
-- Setting LHAPDF6_DIR to /root/heppy/cmake/../external/lhapdf6/lhapdf6-current
-- LHAPDF ver. 6.2.3
-- Setting HEPMC2_DIR to /root/heppy/cmake/../external/hepmc2/hepmc2-current
-- HEPMC2 found /root/heppy/external/hepmc2/hepmc2-current
-- Setting HEPMC3_DIR to /root/heppy/cmake/../external/hepmc3/hepmc3-current
-- HEPMC3 not found - some of the functionality will be misssing.

CMake Warning at /root/heppy/cmake/Modules/FindROOT4HEPPY.cmake:44 (find_package):
Could not find a configuration file for package "ROOT" that is compatible
with requested version "6.18".

The following configuration files were considered but not accepted:

/usr/local/root/cmake/ROOTConfig.cmake, version: 6.14.06                                                         

Call Stack (most recent call first):
/root/heppy/cmake/common_heppy_finds.cmake:47 (find_package)
CMakeLists.txt:24 (include)

-- ROOT not found - root-config not in the path? - some of the tools in pyjetty will require ROOT.
-- Looking for Pythia8 with pythia8-config...
-- Using pythia8-config at /usr/local/pythia8235/bin/pythia8-config
CMake Warning at /root/heppy/cmake/Modules/FindPythia8.cmake:48 (message):
Pythia8 python module missing.
Call Stack (most recent call first):
/root/heppy/cmake/common_heppy_finds.cmake:49 (find_package)
CMakeLists.txt:24 (include)

-- CMAKE_CURRENT_SOURCE_DIR: /root/heppy/cpptools
-- SOURCES: /root/heppy/cpptools/src/fjext/fjtools.cxx
-- Using swig file fjext.i - from MODULE_NAME := fjext
-- ... built: /root/heppy/cpptools/build/src/fjext/fjext.py;/root/heppy/cpptools/build/lib/_fjext.so
-- ... swigify done with fjext
-- Install targets for fjext ...
-- Install tragets LIB : heppy_fjext
-- Install targets PYTHON : [/root/heppy/cpptools/build/src/fjext/fjext.py;/root/heppy/cpptools/build/lib/_fjext.so]
-- CMAKE_CURRENT_SOURCE_DIR: /root/heppy/cpptools/src/fjcontrib
-- GET_FJ_CONTRIB: /root/heppy/cpptools/src/fjcontrib
'/root/heppy/cpptools/src/fjcontrib/custom/Util.cc' -> '/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/RecursiveTools/Util.cc'
'/root/heppy/cpptools/src/fjcontrib/custom/Util.hh' -> '/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/RecursiveTools/Util.hh'
'/root/heppy/cpptools/src/fjcontrib/custom/DynamicalGroomer.cc' -> '/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/LundPlane/DynamicalGroomer.cc'
'/root/heppy/cpptools/src/fjcontrib/custom/DynamicalGroomer.hh' -> '/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/LundPlane/DynamicalGroomer.hh'
'/root/heppy/cpptools/src/fjcontrib/custom/GroomerShop.cc' -> '/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/LundPlane/GroomerShop.cc'
'/root/heppy/cpptools/src/fjcontrib/custom/GroomerShop.hh' -> '/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/LundPlane/GroomerShop.hh'

-- SOURCES: /root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/ConstituentSubtractor/ConstituentSubtractor.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/ConstituentSubtractor/IterativeConstituentS
ubtractor.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/ConstituentSubtractor/RescalingClasses.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/LundPlane/DynamicalGroomer.cc;/root/heppy/cppto
ols/src/fjcontrib/fjcontrib-1.042/LundPlane/GroomerShop.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/LundPlane/LundGenerator.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/LundPlane/LundWi
thSecondary.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/LundPlane/SecondaryLund.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/LundPlane/example.cc;/root/heppy/cpptools/src/fjcontrib/fjco
ntrib-1.042/RecursiveTools/BottomUpSoftDrop.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/RecursiveTools/IteratedSoftDrop.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/RecursiveTools/Modif
iedMassDropTagger.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/RecursiveTools/Recluster.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/RecursiveTools/RecursiveSoftDrop.cc;/root/heppy/cppto
ols/src/fjcontrib/fjcontrib-1.042/RecursiveTools/RecursiveSymmetryCutBase.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.042/RecursiveTools/SoftDrop.cc;/root/heppy/cpptools/src/fjcontrib/fjcontrib-1.04
2/RecursiveTools/Util.cc
-- Using swig file interface/fjcontrib.i
-- ... built: /root/heppy/cpptools/build/src/fjcontrib/fjcontrib.py;/root/heppy/cpptools/build/lib/_fjcontrib.so
-- ... swigify done with fjcontrib
-- Install targets for fjcontrib ...
-- Install tragets LIB : heppy_fjcontrib
-- Install targets PYTHON : [/root/heppy/cpptools/build/src/fjcontrib/fjcontrib.py;/root/heppy/cpptools/build/lib/_fjcontrib.so]
-- SOURCES: /root/heppy/cpptools/src/pythiaext/pythiahepmc.cxx
-- Using swig file pythiaext.i - from MODULE_NAME := pythiaext
-- ... built: /root/heppy/cpptools/build/src/pythiaext/pythiaext.py;/root/heppy/cpptools/build/lib/_pythiaext.so
-- ... swigify done with pythiaext
-- Install targets for pythiaext ...
-- Install tragets LIB : heppy_pythiaext
-- Install targets PYTHON : [/root/heppy/cpptools/build/src/pythiaext/pythiaext.py;/root/heppy/cpptools/build/lib/_pythiaext.so]
-- SOURCES: /root/heppy/cpptools/src/hepmc2wrap/readfile.cxx;/root/heppy/cpptools/src/hepmc2wrap/statfile.cxx
-- Using swig file hepmc2wrap.i - from MODULE_NAME := hepmc2wrap
-- ... built: /root/heppy/cpptools/build/src/hepmc2wrap/hepmc2wrap.py;/root/heppy/cpptools/build/lib/_hepmc2wrap.so
-- ... swigify done with hepmc2wrap
-- Install targets for hepmc2wrap ...
-- Install tragets LIB : heppy_hepmc2wrap
-- Install targets PYTHON : [/root/heppy/cpptools/build/src/hepmc2wrap/hepmc2wrap.py;/root/heppy/cpptools/build/lib/_hepmc2wrap.so]
-- SOURCES: /root/heppy/cpptools/src/pythiafjext/pyfjtools.cxx
-- Using swig file pythiafjext.i - from MODULE_NAME := pythiafjext
-- ... built: /root/heppy/cpptools/build/src/pythiafjext/pythiafjext.py;/root/heppy/cpptools/build/lib/_pythiafjext.so
-- ... swigify done with pythiafjext
-- Install targets for pythiafjext ...
-- Install tragets LIB : heppy_pythiafjext
-- Install targets PYTHON : [/root/heppy/cpptools/build/src/pythiafjext/pythiafjext.py;/root/heppy/cpptools/build/lib/_pythiafjext.so]
-- Making a module file: /root/heppy/cmake/../modules/heppy/1.0
-- make_module::PYTHIA8_DIR
-- make_module::ROOT_HEPPY_PREFIX
CMake Error at /root/heppy/cmake/make_module.cmake:26 (get_filename_component):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
/root/heppy/cmake/make_module.cmake:45 (module_append_command_no_prop)
CMakeLists.txt:103 (make_module)

CMake Error at /root/heppy/cmake/make_module.cmake:26 (get_filename_component):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
/root/heppy/cmake/make_module.cmake:47 (module_append_command_no_prop)
CMakeLists.txt:103 (make_module)

-- make_module::HEPMC3_DIR
-- make_module::HEPMC_DIR
-- make_module::LHAPDF6_DIR
-- make_module::FASTJET_DIR
-- make_module::HEPPY_DIR
-- Configuring incomplete, errors occurred!
See also "/root/heppy/cpptools/build/CMakeFiles/CMakeOutput.log".
---------------------[ build ]---------------------
make: *** No rule to make target 'all'. Stop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions