Skip to content

Drop CCDBDownloader.h from the CCDB dictionary - #16025

Merged
sawenzel merged 1 commit into
AliceO2Group:devfrom
sawenzel:ccdb-downloader-no-dictionary
Oct 30, 2026
Merged

sawenzel merged 1 commit into
AliceO2Group:devfrom
sawenzel:ccdb-downloader-no-dictionary

Conversation

@sawenzel

Copy link
Copy Markdown
Collaborator

The header has no ClassDef and is included only by CCDBDownloader.cxx,
CcdbApi.cxx and testCcdbApiDownloader.cxx, so nothing needs it in the
dictionary.

Having it there makes cling parse it, which needs curl/curl.h. A runtime
environment from CVMFS has libcurl but not its headers, so loading the O2CCDB
dictionary from PyROOT fails with

G__O2CCDB dictionary payload: fatal error: 'curl/curl.h' file not found

followed by a segmentation violation in cling's unloader. This was hit by
anchored MC in O2DPG's simulation tests.

CcdbApi stays in the dictionary and remains usable from a ROOT session: it
only forward-declares CCDBDownloader and holds it as a non-persisted pointer,
so cling never needs the complete type.

Assisted by Claude Code.

The header has no ClassDef and is included only by CCDBDownloader.cxx,
CcdbApi.cxx and testCcdbApiDownloader.cxx, so nothing needs it in the
dictionary.

Having it there makes cling parse it, which needs curl/curl.h. A runtime
environment from CVMFS has libcurl but not its headers, so loading the O2CCDB
dictionary from PyROOT fails with

  G__O2CCDB dictionary payload: fatal error: 'curl/curl.h' file not found

followed by a segmentation violation in cling's unloader. This was hit by
anchored MC in O2DPG's simulation tests.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@sawenzel
sawenzel requested review from a team, Barthelemy and costing as code owners October 29, 2026 18:52
@sawenzel
sawenzel merged commit 9864f41 into AliceO2Group:dev Oct 30, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant