Skip to content

[Compile] Build failed with LibRI via OneAPI 2025.1 #6190

@QuantumMisaka

Description

@QuantumMisaka

Describe the bug

While building ABACUS with LibRI via OneAPI 2025.1, error occurs:

/opt/abacus-develop-toolchain-codeload/toolchain/install/cereal-master/include/cereal/types/tuple.hpp:98:41: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
   98 |         serialize<Height - 1>::template apply( ar, tuple );
      |                                         ^
/opt/abacus-develop-toolchain-codeload/toolchain/install/cereal-master/include/cereal/types/tuple.hpp:119:85: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  119 |     tuple_detail::serialize<std::tuple_size<std::tuple<Types...>>::value>::template apply( ar, tuple );
      |   

Expected behavior

Compilation normal

To Reproduce

Using the newest toolchain to install ABACUS with LibRI and LibComm

Environment

  • OneAPI: 2025.1 HPC-toolkit from official website
  • OS: Bohrium image ubuntu:22.04-py3.10
  • Toolchain: 2025-02 (in PR)
  • CEREAL: master or 1.3.2
  • LibRI: 0.2.1.0 or master
  • LibComm: master
  • gcc: 11.4.0
  • ABACUS: latest or LTS

Additional Context

No response

Task list for Issue attackers (only for developers)

  • Verify the issue is not a duplicate.
  • Describe the bug.
  • Steps to reproduce.
  • Expected behavior.
  • Error message.
  • Environment details.
  • Additional context.
  • Assign a priority level (low, medium, high, urgent).
  • Assign the issue to a team member.
  • Label the issue with relevant tags.
  • Identify possible related issues.
  • Create a unit test or automated test to reproduce the bug (if applicable).
  • Fix the bug.
  • Test the fix.
  • Update documentation (if necessary).
  • Close the issue and inform the reporter (if applicable).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions