Skip to content

RSTUDIO_USE_SYSTEM_YAML_CPP variable is not honored #14629

Closed

Description

@Enchufa2

System details

Does not apply, this is about the build process.

Steps to reproduce the problem

Build with -DRSTUDIO_USE_SYSTEM_YAML_CPP=Yes.

Describe the problem in detail

cmake tries to download yaml-cpp from GitHub.

Describe the behavior you expected

The build process should use the system yaml-cpp instead, which was what happened in the previous version. This commit introduced the issue.

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Activity

  1. added
    new
    on May 1, 2024
  2. added and removed
    new
    on May 1, 2024
  3. added this to the Cranberry Hibiscus milestone on May 1, 2024
  4. kbipinkumar commented on May 3, 2024

    @kbipinkumar

    cmake gives following warning

    -- Packaging RStudio for Arch Linux
    -- Configuring done (10.9s)
    -- Generating done (0.2s)
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        RSTUDIO_USE_SYSTEM_YAML_CPP
    
  5. self-assigned this
    on May 3, 2024
  6. gtritchie commented on May 7, 2024

    @gtritchie
    Member

    Note, I initially merged this into the wrong branch (rel-chocolate-cosmos); I have backed that out and merged it into main via 04de8ca.

  7. gtritchie commented on May 28, 2024

    @gtritchie
    Member

    Cherry-picked back to rel-chocolate-cosmos via e7bc203

  8. ronblum commented on May 29, 2024

    @ronblum
    Contributor

    @Enchufa2 This is fixed in both the release currently in development, and a Chocolate Cosmos patch that we're working on. Would you be willing to try this out to see if it's working?

  9. Enchufa2 commented on May 29, 2024

    @Enchufa2
    ContributorAuthor

    Sure. Should I just apply e7bc203 to the current release? Or do I need something else?

  10. Enchufa2 commented on May 29, 2024

    @Enchufa2
    ContributorAuthor
  11. ronblum commented on May 29, 2024

    @ronblum
    Contributor

    Awesome @Enchufa2 , thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions