New Issue: [Bug]: Mason doesn't get the right include flags for some system dependencies

28538, "ShreyasKhandekar", "[Bug]: Mason doesn't get the right include flags for some system dependencies", "2026-03-12T23:19:39Z"

Summary of Problem

Description:
When trying to add the otf2 library (VI-HPS :: Projects :: Score-P) as a system dependecy, mason doesn't add the right include flags in the compilation command.

Is this issue currently blocking your progress?
yes, I'm working around it by just adding the right flags in the compopts

Steps to Reproduce

When I do:
mason add --system otf2@3.1.1 and mason update

Mason.lock only has:

[system]

[system.otf2]
include = ""
libs = "-L/opt/otf2/lib -lotf2"
name = "otf2"
version = "3.1.1"

Where it's missing the -I flags appropriate for otf2.

Configuration Information

Chapel version 2.8