Skip to content

Installation issue: dyninst@12.3.0 #6040

Description

@williampiat3

Steps to reproduce the issue

$ spack env create dyninst
$ spack env activate dyninst
$ spack add dyninst@12.3.0
$ spack install
...

Error message

The text leading up to this was:
--------------------------
|From e03567db37547f9a848f68f5a0e2c58d2aa17fe9 Mon Sep 17 00:00:00 2001
|From: Tim Haines <thaines.astro@gmail.com>
|Date: Mon, 6 Apr 2026 19:07:23 +0000
|Subject: [PATCH] Add explicit include of TBB version header (#2196)
|
|The latest version (2022.3.0, released 29-OCT-2025) doesn't have the implicit include anymore.
|---
| cmake/tpls/DyninstTBB.cmake | 9 +++++++++
| common/h/concurrent.h       | 5 +++++
| 2 files changed, 14 insertions(+)
|
|diff --git a/cmake/tpls/DyninstTBB.cmake b/cmake/tpls/DyninstTBB.cmake
|index 6433967167fbaee2d4e73eff98e09760eaa48830..8bb69531c1a72f425b4bb5078d90a8d41f5b74b2 100644
|--- a/cmake/tpls/DyninstTBB.cmake
|+++ b/cmake/tpls/DyninstTBB.cmake
--------------------------
File to patch: 
Skip this patch? [y] 
1 out of 1 hunk ignored
==> Patch https://github.com/dyninst/dyninst/commit/e03567db37547f9a848f68f5a0e2c58d2aa17fe9.patch?full_index=1 failed.
Command exited with status 1:
    /usr/bin/patch -s -p 1 -i '/tmp/XXXXXX/spack-stage/spack-stage--7nuiiwi-patch-db3ede99643346b1beb9a2f7849e7aba3d36204093b97752c2bc0ec7e9e79290/spack-src/e03567db37547f9a848f68f5a0e2c58d2aa17fe9.patch?full_index=1' -d .

Information on your system

The patch in line 79 of dyninst recipe works for @13 but doesn't work for @12.3.0 and most likely for all @12:12.3

I have not tested other versions

Additional information

No response

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