Skip to content

Installation issue: channelflow missing depends_on("c") in package.py #3579

@mkszuba

Description

@mkszuba

Steps to reproduce the issue

$ spack install channelflow

Error message

Error message
[spack cc] Error: SPACK_CC_* variables not set: this usually means a missing depends_on("c", type="build") in package.py

Information on your system

  • Spack: 1.1.1
  • Builtin repo: 119680a
  • Python: 3.10.12
  • Platform: linux-ubuntu22.04-zen4

Additional information

I have confirmed that with the missing depends_on line added to the package, channelflow builds and installs successfully.

spack-build-out.txt
spack-build-env.txt

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions