Skip to content

fpm can't find a mixed-case dependency on one macOS system #1158

@rouson

Description

@rouson

Description

I'm working with a student (@nt500) who is encountering the following error message:

<ERROR> *cmd_build* Model error: Dependency name 'fastGPT' found, but expected 'fastgpt' instead

This happens when adding the following lines to an fpm manifest:

[dependency]
fastGPT = {git = "https://github.com/certik/fastGPT"}

This problem occurs on the student's laptop but not on my laptop even though we are both using macOS with APFS (Encrypted) file systems (which is case-preserving but not case-sensitive). We have tried

  1. All four combinations of fastGPT versus fastgpt in the two locations in the above dependency line,
  2. We tried switching to a fork of the repository and renaming the fork to fastgpt, and
  3. Using an fpm built from the current HEAD of fpm's main branch.

On the student's computer, we can reproduce the above error message by creating a new project with fpm new and then adding the above dependency line. On my computer, the same process works fine.

Expected Behaviour

We expect that fpm would find the fastGPT clone that fpm downloads to build/depenency/fastGPT.

Version of fpm

0.12.0 f266033

Platform and Architecture

macOS/Arm

Additional Information

No response

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