-
Notifications
You must be signed in to change notification settings - Fork 38.7k
depends, doc: Add tcl as build dependency for sqlite package
#33975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33975. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste ConflictsReviewers, this pull request conflicts with the following ones:
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. |
| ### Ubuntu & Debian | ||
|
|
||
| apt install cmake curl make patch | ||
| apt install cmake curl make patch tcl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, jimsh works as well.
tcl is chosen for consistency with the Guix script.
|
lgtm ACK 632cf87 |
|
This doesn't work for me on ubuntu 24.04, if I only install what is specified and then execute: gmake -C depends sqlite CC=gcc-14 CXX=g++-14it will fail to find C compiler (with the error state above), I needed to install g++: apt install g++ But it will install g++13 so I needed to run : gmake -C depends sqlite CC=gcc-13 CXX=g++-13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 632cf87
PR adds tcl as package to install in order to be able to compile depends. (specific case sqlite)
Have confirmed change on ubuntu 24.04
|
Can we just pass the compiler through? |
See #33995. |
710031e Revert "guix: sqlite wants tcl" (Hennadii Stepanov) 4cf5ea6 depends: Propagate native C compiler to `sqlite` package (Hennadii Stepanov) Pull request description: This PR: 1. Ensures that autosetup can build the local bootstrap `jimsh0` when neither `jimsh` nor `tclsh` is available on the system. 2. Removes the `tcl` package from the Guix manifest. This is an alternative to #33975. ACKs for top commit: fanquake: ACK 710031e sedited: ACK 710031e Tree-SHA512: bdaa29af977799669bfc2aa3a8d0a4a688263b99c5f06b1582fbefb71ef77be0ee6223903e8357e51a9e0a7744807174b94262c2f4a3afd9f39737b61b00863e
Since #32655, the
sqlitepackage has relied on a native C compiler being incidentally available on the system under the default names. However, this is not always the case. For example, on Ubuntu 24.04:Adding the
tclpackage as an explicit build dependency, as is done in the Guix script, avoids this behaviour and improves robustness.