Skip to content

mac CI system include directory may collide with user includes #614

@sounkou-bioinfo

Description

@sounkou-bioinfo

Hi,

This is more of a notification issue for other people that may encounter the same issue. I have noticed that the r-universe CI for a package was failing https://github.com/r-universe/sounkou-bioinfo/actions/runs/16100968181/job/45443184886 but was working fine with r-lib CI on mac https://github.com/sounkou-bioinfo/Rlibhv/actions/runs/16100845229/job/45429779556. The cause is that i needed to include the openssl library include flags, but at the same location there were headers that collided with the include names of the library i am wrapping, specifically HDF5 herr and hfile headers (to find out this, i have added this to the configure script https://github.com/sounkou-bioinfo/Rlibhv/blob/main/configure#L151). For this package it is not an issue because i will make sure the right include precedence is applied, but hfile.h may be problematic if it collides with for example htslib hfile.h for some other user

Best

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions