0.10 regression: genbuild.sh tries to mess with files outside non-git source root #5902

issue luke-jr opened this issue on March 14, 2015
  1. luke-jr commented at 8:24 PM on March 14, 2015: member

    Regression introduced by #4946

    git rev-parse assumes there is a valid git repository (and --is-inside-work-tree only tells you if you're inside the work tree of it), but the conditional replaced was intended to determine if there was a git repository. As a result, building from the source tarballs means genbuild.sh tries to look for .git in directories about the root source directory.

    Downstream Gentoo issue: https://bugs.gentoo.org/show_bug.cgi?id=476294

  2. theuni commented at 5:23 AM on March 17, 2015: member

    Will have a look, thanks for reporting.

  3. laanwj added the label Build system on Mar 18, 2015
  4. laanwj commented at 11:10 AM on December 3, 2015: member

    Is this fixed?

  5. laanwj commented at 4:07 PM on February 9, 2016: member

    Closing due to inactivity

  6. laanwj closed this on Feb 9, 2016

  7. Flowdalic referenced this in commit a76d15cfba on Feb 10, 2016
  8. Flowdalic cross-referenced this on Feb 10, 2016 from issue Make genbuild.sh check for '.git' by Flowdalic
  9. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC