Skip to content

Spack install in develop environment not re-installing #48699

@tdrwenski

Description

@tdrwenski

Steps to reproduce

Reproduction path (on latest develop):

mkdir install-bug && cd install-bug
spack env create -d .
spack env activate .
spack add umpire
spack install
spack develop [email protected]
spack concretize -f
spack install

Now running spack install again will not rebuild umpire even if you change the code (e.g. vi umpire/src/umpire/Umpire.cpp and remove semicolon).

In version develop-2025-01-12 this does not occur (the package marked develop gets rebuilt with spack install).

Error message

The debug output:

spack --debug install
==> [2025-01-23-14:44:56.744031] Imported install from built-in commands
==> [2025-01-23-14:44:56.744703] Imported install from built-in commands
==> [2025-01-23-14:44:56.746628] Reading config from file /Users/drwenski1/projects/spack-tutorial/install-bug/spack.yaml
==> [2025-01-23-14:44:56.748063] Deactivated environment '/Users/drwenski1/projects/spack-tutorial/install-bug'
==> [2025-01-23-14:44:56.751478] Using environment '/Users/drwenski1/projects/spack-tutorial/install-bug'
==> [2025-01-23-14:44:56.751667] Reading config from file /Users/drwenski1/projects/spack/etc/spack/defaults/concretizer.yaml
==> [2025-01-23-14:44:56.759340] '/opt/homebrew/bin/git' '-C' '/Users/drwenski1/projects/spack' 'rev-parse' 'HEAD'
==> [2025-01-23-14:44:56.776358] DATABASE LOCK TIMEOUT: 60s
==> [2025-01-23-14:44:56.776399] PACKAGE LOCK TIMEOUT: No timeout
==> [2025-01-23-14:44:56.792196] Reading config from file /Users/drwenski1/projects/spack/etc/spack/defaults/repos.yaml
==> [2025-01-23-14:44:56.793282] Reading config from file /Users/drwenski1/projects/spack/etc/spack/defaults/packages.yaml
==> [2025-01-23-14:44:56.811495] Reading config from file /Users/drwenski1/projects/spack/etc/spack/defaults/darwin/packages.yaml
==> [2025-01-23-14:44:56.878712] Initializing the build queue from the build requests
==> [2025-01-23-14:44:56.878740] Initializing the build queue for umpire
==> [2025-01-23-14:44:56.887234] Pkg id camp-2024.07.0-ayzbp4j4nwjijae7u3ndz5do2yh64jjl has the following dependents:
==> [2025-01-23-14:44:56.887254] - umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov
==> [2025-01-23-14:44:56.887507] Queueing a task for camp-2024.07.0-ayzbp4j4nwjijae7u3ndz5do2yh64jjl with status 'queued'
==> [2025-01-23-14:44:56.890050] Pkg id fmt-11.0.2-gh3xwip36ar5xvc4byenoyc3pbd7y4l4 has the following dependents:
==> [2025-01-23-14:44:56.890067] - umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov
==> [2025-01-23-14:44:56.890319] Queueing a task for fmt-11.0.2-gh3xwip36ar5xvc4byenoyc3pbd7y4l4 with status 'queued'
==> [2025-01-23-14:44:56.890628] Pkg id umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov has the following dependents:
==> [2025-01-23-14:44:56.890892] Queueing a task for umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov with status 'queued'
==> [2025-01-23-14:44:56.890906] Ensure all dependencies know all dependents across specs
==> [2025-01-23-14:44:56.890962] Processing camp-2024.07.0-ayzbp4j4nwjijae7u3ndz5do2yh64jjl: task=priority=0, status=dequeued, start=0.0, #dependencies=0
==> [2025-01-23-14:44:56.891222] Acquiring a write lock on camp-2024.07.0-ayzbp4j4nwjijae7u3ndz5do2yh64jjl with timeout 1.000ns
==> [2025-01-23-14:44:56.891324] camp-2024.07.0-ayzbp4j4nwjijae7u3ndz5do2yh64jjl is now write locked
==> [2025-01-23-14:44:56.891687] Flagging camp-2024.07.0-ayzbp4j4nwjijae7u3ndz5do2yh64jjl as installed
==> [2025-01-23-14:44:56.891699] Removing camp-2024.07.0-ayzbp4j4nwjijae7u3ndz5do2yh64jjl from umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov's uninstalled dependencies.
==> [2025-01-23-14:44:56.891728] Removing task for umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov from list
==> [2025-01-23-14:44:56.891743] Requeueing (2nd attempt) a task for umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov with status 'queued'
==> [2025-01-23-14:44:56.891763] Downgrading to a read lock on camp-2024.07.0-ayzbp4j4nwjijae7u3ndz5do2yh64jjl with timeout 1.000ns
==> [2025-01-23-14:44:56.892236] camp-2024.07.0-ayzbp4j4nwjijae7u3ndz5do2yh64jjl is now read locked
[+] /Users/drwenski1/projects/spack/opt/spack/darwin-sonoma-m1/apple-clang-16.0.0/camp-2024.07.0-ayzbp4j4nwjijae7u3ndz5do2yh64jjl
==> [2025-01-23-14:44:56.893179] Processing fmt-11.0.2-gh3xwip36ar5xvc4byenoyc3pbd7y4l4: task=priority=0, status=dequeued, start=0.0, #dependencies=0
==> [2025-01-23-14:44:56.893518] Acquiring a write lock on fmt-11.0.2-gh3xwip36ar5xvc4byenoyc3pbd7y4l4 with timeout 1.000ns
==> [2025-01-23-14:44:56.893585] fmt-11.0.2-gh3xwip36ar5xvc4byenoyc3pbd7y4l4 is now write locked
==> [2025-01-23-14:44:56.893986] Flagging fmt-11.0.2-gh3xwip36ar5xvc4byenoyc3pbd7y4l4 as installed
==> [2025-01-23-14:44:56.894015] Removing fmt-11.0.2-gh3xwip36ar5xvc4byenoyc3pbd7y4l4 from umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov's uninstalled dependencies.
==> [2025-01-23-14:44:56.894040] Removing task for umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov from list
==> [2025-01-23-14:44:56.894056] Requeueing (3rd attempt) a task for umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov with status 'queued'
==> [2025-01-23-14:44:56.894077] Downgrading to a read lock on fmt-11.0.2-gh3xwip36ar5xvc4byenoyc3pbd7y4l4 with timeout 1.000ns
==> [2025-01-23-14:44:56.894106] fmt-11.0.2-gh3xwip36ar5xvc4byenoyc3pbd7y4l4 is now read locked
[+] /Users/drwenski1/projects/spack/opt/spack/darwin-sonoma-m1/apple-clang-16.0.0/fmt-11.0.2-gh3xwip36ar5xvc4byenoyc3pbd7y4l4
==> [2025-01-23-14:44:56.894350] Processing umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov: task=priority=0, status=dequeued, start=1737668696.891721, #dependencies=2
==> [2025-01-23-14:44:56.894598] Acquiring a write lock on umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov with timeout 1.000ns
==> [2025-01-23-14:44:56.896357] umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov is now write locked
==> [2025-01-23-14:44:56.896813] Flagging umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov as installed
==> [2025-01-23-14:44:56.896846] Downgrading to a read lock on umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov with timeout 1.000ns
==> [2025-01-23-14:44:56.896879] umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov is now read locked
[+] /Users/drwenski1/projects/spack/opt/spack/darwin-sonoma-m1/apple-clang-16.0.0/umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov
==> [2025-01-23-14:44:56.897110] Releasing read lock on camp-2024.07.0-ayzbp4j4nwjijae7u3ndz5do2yh64jjl
==> [2025-01-23-14:44:56.897136] Releasing read lock on fmt-11.0.2-gh3xwip36ar5xvc4byenoyc3pbd7y4l4
==> [2025-01-23-14:44:56.897158] Releasing read lock on umpire-2024.07.0-jgaaqlbvh2ia5sueserwwu4dx7dm4dov
==> [2025-01-23-14:44:56.898992] Reading config from file /Users/drwenski1/projects/spack-tutorial/install-bug/spack.yaml
==> [2025-01-23-14:44:56.900489] Deactivated environment '/Users/drwenski1/projects/spack-tutorial/install-bug'
==> [2025-01-23-14:44:56.903915] Using environment '/Users/drwenski1/projects/spack-tutorial/install-bug'
==> [2025-01-23-14:44:56.906052] '/opt/homebrew/bin/git' '-C' '/Users/drwenski1/projects/spack' 'rev-parse' 'HEAD'
==> [2025-01-23-14:44:56.991003] View at /Users/drwenski1/projects/spack-tutorial/install-bug/.spack-env/view does not need regeneration.

Information on your system

spack debug report
* **Spack:** 0.24.0.dev0 (27a0593104ec0df61b195b50bde8a69dc8e765db)
* **Python:** 3.9.6
* **Platform:** darwin-sonoma-m1

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have searched the issues of this repo and believe this is not a duplicate
  • I have run the failing commands in debug mode and reported the output

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions