From 34bce8f4a2df5e4308bbc5ccc5ba5807e95a4d45 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 6 Apr 2020 19:28:13 -0500 Subject: [PATCH] Simplify Build Error template (#15864) --- .github/ISSUE_TEMPLATE/build_error.md | 86 +++++++-------------------- 1 file changed, 20 insertions(+), 66 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/build_error.md b/.github/ISSUE_TEMPLATE/build_error.md index 76d20f7bff..d26db233d3 100644 --- a/.github/ISSUE_TEMPLATE/build_error.md +++ b/.github/ISSUE_TEMPLATE/build_error.md @@ -1,89 +1,43 @@ --- -name: "\U0001F4A5 Build error" -about: Some package in Spack didn't build correctly +name: "\U0001F4A5 Build error" +about: Some package in Spack didn't build correctly +title: "Installation issue: " labels: "build-error" --- - - - -### Spack version - -```console -$ spack --version - -``` +We encourage you to try, as much as possible, to reduce your problem to the minimal example that still reproduces the issue. That would help us a lot in fixing it quickly and effectively! --> ### Steps to reproduce the issue + ```console -$ spack install # Fill in the exact spec you are using -... # and the relevant part of the error message +$ spack install +... ``` -### Platform and user environment +### Information on your system - -- `packages.yaml` -- `compilers.yaml` - -to the issue ---> + ### Additional information - +* [spack-build-out.txt]() +* [spack-build-env.txt]() -If your build didn't make it past the configure stage, Spack as also commands to parse -logs and report error and warning messages: -```console -$ spack log-parse --show=errors,warnings -``` -You might want to run this command on the `config.log` or any other similar file -found in the stage directory: -```console -$ spack location -s -``` -In case in `config.log` there are other settings that you think might be the cause -of the build failure, you can consider attaching the file to this issue. - -Rebuilding the package with the following options: -```console -$ spack -d install -j 1 -... -``` -will provide additional debug information. After the failure you will find two files in the current directory: - -1. `spack-cc-.in`, which contains details on the command given in input - to Spack's compiler wrapper -1. `spack-cc-.out`, which contains the command used to compile / link the - failed object after Spack's compiler wrapper did its processing - -You can post or attach those files to provide maintainers with more information on what -is causing the failure.--> + ### General information -- [ ] I have run `spack --version` and reported the version of Spack + +- [ ] I have run `spack debug report` and reported the version of Spack/Python/Platform +- [ ] I have run `spack maintainers ` 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