Skip to content

Problems with caching #421

@drodin

Description

@drodin

There is a general problem, which I'll try to illustrate with an example.

After recent altering of CMAKE_ARGS for 'opusfile' package d061f8d

I have a problem with testing of 'SDL_mixer' package, which is dependent on 'opusfile' one
Tests are failing for all systems for which cache had been uploaded https://github.com/drodin/hunter/actions/runs/992722405
Sample of error: https://github.com/drodin/hunter/runs/2969916903?check_suite_focus=true#step:7:8164

-- [hunter *** DEBUG *** 2021-07-02T07:01:08] Package installed from cache: opusfile
...
  Imported target "opusfile::opusfile" includes non-existent path

Problem goes away if I disable cache server by adding set(HUNTER_USE_CACHE_SERVERS NO) to examples/SDL_mixer/CMakeLists.txt drodin@1ad3543
Testing goes successful, as 'opusfile' package is built from source
https://github.com/drodin/hunter/actions/runs/992745793

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions