Skip to content

[cmake] [rntuple] fail to call cmake without internet connection #19031

Open
@linev

Description

@linev

Check duplicate issues.

  • Checked for duplicates

Description

Calling cmake ~/git/root without internet produce failures at very end.
Even when project was configured and compiled shortly before with internet on.
Making impossible to work without connection.

All failures are from RNTuple testing which uses ROOT_STANDARD_LIBRARY_PACKAGE.
I propose to use roottest macros like ROOTTEST_GENERATE_DICTIONARY - they does not create extra dependencies and executed after all components are build. Also ROOTTEST_GENERATE_DICTIONARY includes special handling for windows

Means one can move test sources to roottest directory and compile/run there

Reproducer

These are failures:

CMake Error at CMakeLists.txt:450 (add_dependencies):
  The dependency target "CustomStruct" of target "onepcm" does not exist.


CMake Error at CMakeLists.txt:450 (add_dependencies):
  The dependency target "CustomStructUtil" of target "onepcm" does not exist.


CMake Error at CMakeLists.txt:450 (add_dependencies):
  The dependency target "Event" of target "onepcm" does not exist.


CMake Error at CMakeLists.txt:450 (add_dependencies):
  The dependency target "NTupleStruct" of target "onepcm" does not exist.


CMake Error at CMakeLists.txt:450 (add_dependencies):
  The dependency target "SillyStruct" of target "onepcm" does not exist.


CMake Error at CMakeLists.txt:450 (add_dependencies):
  The dependency target "TrackMathCoreDict" of target "onepcm" does not
  exist.


CMake Error at CMakeLists.txt:450 (add_dependencies):
  The dependency target "TrackMathCoreUnitDict" of target "onepcm" does not
  exist.

ROOT version

master

Installation method

build from source

Operating system

OpenSUSE

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions