Skip to content

Installation issue: findutils #28356

@eschnett

Description

@eschnett

Steps to reproduce the issue

spack install findutils %gcc @11.2.0

This version of GCC was installed via Spack.

findutils uses the macro __nonnull internally to expand to __attribute__((__nonnull__(...))), which declarers that certain pointer arguments to functions cannot be null. This fails on my system where this attribute is not supported.

findutils checks whether this attribute is supported on the build system, but this check is not working correctly. This bug was reported upstream in January 2021 as https://savannah.gnu.org/bugs/?func=detailitem&item_id=59972.

Information on your system

$ spack debug report

  • Spack: 0.17.1-778-2ab871dd17
  • Python: 3.8.5
  • Platform: darwin-bigsur-skylake
  • Concretizer: clingo

Additional information

spack-build-out.txt
spack-build-env.txt
config.log

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