Skip to content

Replace std::format with fmt::format#15280

Open
aalkin wants to merge 1 commit intoAliceO2Group:devfrom
aalkin:fix-for-xcode-264
Open

Replace std::format with fmt::format#15280
aalkin wants to merge 1 commit intoAliceO2Group:devfrom
aalkin:fix-for-xcode-264

Conversation

@aalkin
Copy link
Copy Markdown
Member

@aalkin aalkin commented Apr 15, 2026

#15188 breaks compilation with the latest Xcode 26.4, std::format fails with non constant expression call to a consteval function. fmt::format is functionally identical and works with Xcode.

@aalkin aalkin requested a review from f3sch April 15, 2026 12:11
@f3sch
Copy link
Copy Markdown
Collaborator

f3sch commented Apr 15, 2026

Is this not fixed by #15272 @mpuccio ?

@mpuccio
Copy link
Copy Markdown
Contributor

mpuccio commented Apr 15, 2026

@f3sch @aalkin it is, but the PR is still not merged

@alibuild
Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for d535305 at 2026-04-15 18:05:

## sw/BUILD/O2-full-system-test-latest/log
command /sw/slc9_x86-64/O2/slc9_x86-64-slc9_x86-64-local11/prodtests/full-system-test/dpl-workflow.sh had nonzero exit code 1
[9134:BadMapCalibSpec]: [18:05:01][ERROR] Insufficient statistics: 0 entries in lowE histo, do nothing
[9232:qc-task-ITS-ITSTrackTask]: [18:05:16][ERROR] Exception while running: Inconsistent type and payload size at Vertices(DS/tracks1/0): type size 48  payload size 260. Rethrowing.
[9232:qc-task-ITS-ITSTrackTask]: [18:05:16][FATAL] Unhandled o2::framework::runtime_error reached the top of main of o2-qc, device shutting down. Reason: Inconsistent type and payload size at Vertices(DS/tracks1/0): type size 48  payload size 260
[ERROR] Workflow crashed - PID 9232 (qc-task-ITS-ITSTrackTask) did not exit correctly however it's not clear why. Exit code forced to 128.
[9211:o2-eve-export]: [18:05:19][ERROR] filesystem problem during DirectoryLoader::canCreateNextFile: filesystem error: directory iterator cannot open directory: No such file or directory [jsons]
[ERROR]  - Device qc-task-ITS-ITSTrackTask: pid 9232 (exit 128)
[INFO]    - First error: [18:05:16][FATAL] Unhandled o2::framework::runtime_error reached the top of main of o2-qc, device shutting down. Reason: Inconsistent type and payload size at Vertices(DS/tracks1/0): type size 48  payload size 260
[ERROR] SEVERE: Device qc-task-ITS-ITSTrackTask (9232) had at least one message above severity 7: Unhandled o2::framework::runtime_error reached the top of main of o2-qc, device shutting down. Reason: Inconsistent type and payload size at Vertices(DS/tracks1/0): type size 48  payload size 260


## sw/BUILD/o2checkcode-latest/log
--
========== List of errors found ==========
++ GRERR=0
++ grep -v clang-diagnostic-error error-log.txt
++ grep ' error:'
++ GRERR=1
++ [[ 1 == 0 ]]
++ mkdir -p /sw/INSTALLROOT/4e0df10affff7890fa7816e0c51d4c11b5c8fe35/slc9_x86-64/o2checkcode/1.0-local73/etc/modulefiles
++ cat
--

Full log here.

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.

4 participants