depends: fix for llvm-ranlib (etc): ‘No such file or directory’ macOS 15.0 #30994

pull itornaza wants to merge 1 commits into bitcoin:master from itornaza:ion-issue-30978 changing 1 files +9 −0
  1. itornaza commented at 11:28 am on September 28, 2024: contributor

    This is an attempt to fix the issue #30978 .

    To briefly summarize, @Sjors found that while compiling dependencies on macOS 15.0 the following “No such file or directory” are generated while these tools are installed.

    0$ cd depends
    1$ make
    2/bin/sh: command -v llvm-ranlib: No such file or directory
    3/bin/sh: command -v llvm-strip: No such file or directory
    4/bin/sh: command -v llvm-nm: No such file or directory
    5/bin/sh: command -v llvm-objdump: No such file or directory
    6/bin/sh: command -v dsymutil: No such file or directory
    

    The proposed fix conditionally defines the necessary variables for these tools in the ./depends/Makefile when building on macOS. The rationale is described in more detail in #30978 (comment) as the Solution number 3.

    cc @hebasto

  2. depends: fix for llvm-ranlib (etc): 'No such file or directory' macOS 15.0 367798c2bd
  3. DrahtBot commented at 11:28 am on September 28, 2024: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #30584 (depends: Make default host and build comparable by hebasto)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  4. DrahtBot added the label Build system on Sep 28, 2024
  5. DrahtBot added the label CI failed on Sep 28, 2024
  6. DrahtBot removed the label CI failed on Sep 29, 2024
  7. fanquake commented at 9:42 am on October 2, 2024: member
    Not sure about this issue, or making this change. Looks like it needs more investigation. See my comment here: #30978 (comment).
  8. itornaza marked this as a draft on Oct 4, 2024
  9. itornaza commented at 4:31 pm on October 4, 2024: contributor

    Not sure about this issue, or making this change. Looks like it needs more investigation. See my comment here: #30978 (comment).

    Yes, switched to draft until we have a better understanding of the issue.


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: 2024-10-08 16:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me