Skip to content

gitian-build.py --setup should install curl #16109

Closed

Description

@JeremyRand

Describe the issue

gitian-build.py --setup doesn't install curl, which is required by make download (which is run by gitian-build.py --build). Since some OS's like Debian Buster don't have curl installed by default, this causes a build error.

What behavior did you expect?

Bitcoin Core should build without errors in Gitian.

What was the actual behavior (provide screenshots if the issue is GUI-related)?

The following error shows up while trying to fetch Boost:

/bin/sh: 1: curl: not found

How reliably can you reproduce the issue, what are the steps to do so?

  1. Install a fresh Debian Buster VM with KDE.
  2. Clone Bitcoin Core.
  3. ../bitcoin/contrib/gitian-build.py --commit --setup JeremyRand master
  4. ../bitcoin/contrib/gitian-build.py --commit --build JeremyRand master

What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)?

7263424 , self-compiled.

What type of machine are you observing the error on (OS/CPU and disk type)?

Debian Buster VM inside Qubes OS; Haswell i7, HDD.

Any extra information that might be useful in the debugging process.

It looks like adding 'curl' to the programs list in gitian-build.py's setup function would be sufficient to solve the problem. 'wget' is already there.

Activity

  1. added a commit that references this issue on May 28, 2019
    e78c331
  2. locked as resolved and limited conversation to collaborators on Dec 16, 2021
  3. added a commit that references this issue on Jul 19, 2026
    8ee8304
  4. added a commit that references this issue on Aug 30, 2026
    ca6e2b0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions