Skip to content

Installation issue: pmdk #48540

@mdorier

Description

@mdorier

Steps to reproduce the issue

$ spack install pmdk

Error message

Error message
... spack/var/spack/repos/builtin/packages/pmdk/package.py:64, in install:
         61        if spec.target.family == "x86_64":
         62            make_args += ["ARCH=x86_64"]
         63
  >>     64        make("install", *make_args)

Information on your system

  • Spack: 0.24.0.dev0 (064e709)
  • Python: 3.12.3
  • Platform: linux-ubuntu24.04-aarch64

Additional information

The fix is simply to add depends_on("gmake", type="build") in the package, but before I do a PR, I'd like your opinion on a couple of other things, @hyoklee:

  • Why does the package have depends_on("cmake", when="@1.12.1:") when the code doesn't use cmake to be compiled? The list of dependencies here doesn't include cmake. - I can't find where pkg-config is used but since it's listed as a dependency in the link above, I'm going to assume it's needed. However I doubt it's needed at run time, only at build time.

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions