Skip to content

Bugfix/GitHub 502: Error: No spec file found at path#504

Merged
tgamblin merged 2 commits intodevelopfrom
bugfix/github-502
Mar 8, 2016
Merged

Bugfix/GitHub 502: Error: No spec file found at path#504
tgamblin merged 2 commits intodevelopfrom
bugfix/github-502

Conversation

@tgamblin
Copy link
Member

@tgamblin tgamblin commented Mar 8, 2016

Fixes #502.

  • Fix bug introduced during merge of stage refactor.
    • install prefix was not created before build_environment.fork()
      • build_environment.fork() calls setup_dependent_environment
      • python's setup_dependent_environment can inadvertently create
        the install prefix before directory_layout expects it.
  • Clean up Package.do_install:
    • simplify control flow: parent process now entirely responsible for
      creating/destroying the install prefix. cleanup is now in one place.
    • Hoisting cleanup out of the child improves nesting of try/catch in
      real_work.
    • real_work renamed to build_process
  • also fixes race in pango install.

tgamblin added 2 commits March 8, 2016 02:49
- Fix bug introduced during merge of stage refactor.
  - install prefix was not created before build_environment.fork()
    - build_environment.fork() calls setup_dependent_environment
    - python's setup_dependent_environment can inadvertently create
      the install prefix before directory_layout expects it.

- Clean up Package.do_install:
  - simplify control flow: parent process now entirely responsible for
    creating/destroying the install prefix. cleanup is now in one place.
  - Hoisting cleanup out of the child improves nesting of try/catch in
    `real_work`.
  - `real_work` renamed to `build_process`
@tgamblin
Copy link
Member Author

tgamblin commented Mar 8, 2016

@alalazo: I'll look at #503 if you look at this one 😄 I introduced a bug while merging your stage refactor. Can you verify that you can build something with the changes?

On the bright side, this makes Package.do_install much cleaner.

@alalazo
Copy link
Member

alalazo commented Mar 8, 2016

@tgamblin Deal 😄 . I'll try to reproduce #502 with develop and see if it is fixed with #504. I'll post here the result.

@alalazo
Copy link
Member

alalazo commented Mar 8, 2016

@tgamblin I confirm that this PR solves #502 for me.

@tgamblin
Copy link
Member Author

tgamblin commented Mar 8, 2016

Thanks!

tgamblin added a commit that referenced this pull request Mar 8, 2016
Bugfix/GitHub 502: Error: No spec file found at path
@tgamblin tgamblin merged commit 31cebb9 into develop Mar 8, 2016
@tgamblin tgamblin deleted the bugfix/github-502 branch July 4, 2016 07:37
climbfuji added a commit to climbfuji/spack that referenced this pull request Jan 24, 2025
…stack_dev

Fix ectrans: instead of declaring a conflict with Intel LLVM compilers, apply patch from upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No spec file found at path $prefix/.spack/spec.yaml

2 participants