You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Local BDB install failing on config.guess download #1487
Trying to install the bundled version of BDB via the instructions using the command ./contrib/install_db4.sh $(pwd)
Expected behavior
BDB to be installed.
Actual behavior
Install fails with the following error:
File mutex/mut_method.c is read-only; trying to patch anyway
patching file mutex/mut_method.c
File mutex/mut_tas.c is read-only; trying to patch anyway
patching file mutex/mut_tas.c
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 154 100 154 0 0 13 0 0:00:11 0:00:11 --:--:-- 41
dist/config.guess: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
A look at db4/db-4.8.30.NC/dist/config.guess reveals HTML containing a 302 error. The BDB install script indicates this file is downloaded from https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=4550d2f15b3a7ce2451c1f29500b9339430c877f, however, when rendered in a browser, it's redirected to https://gitweb.git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=4550d2f15b3a7ce2451c1f29500b9339430c877f.
Perhaps curl could be updated to follow the redirect, but doing so on the command line outputs HTML instead of shell script.
To reproduce
Reproduced it multiple times on 9/9/2025.
System information
Elements 23.3.0
~/elements$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble
curl is installed. This is an attempted upgrade from Elements 23.2.7
Didn't occur to me to just compile BDB with master until @delta1 's second reminder, but that worked. Then I changed branch to 23.3.0 to compile the rest. Thanks to you both for the tips.
Activity
psgreco commentedon Sep 9, 2025
This was fixed in #1467, so it should be included in the master branch and in 23.3.1-rc1, please try again with one of those versions
delta1 commentedon Sep 9, 2025
@s373nZ another option is to install bdb v5 from apt and then just configure
--with-incompatible-bdbs373nZ commentedon Sep 9, 2025
@psgreco I don't see either an
elements-23.3.1-rc1orelements-23.3.1rc1tag pushed to the remote...https://github.com/ElementsProject/elements/tags
@delta1 - Thanks for the workaround, but I do care about wallet compatibility in this case.
I suppose I'll wait for the next hotfix release for now.
delta1 commentedon Sep 9, 2025
You can compile the master branch which has the fix
psgreco commentedon Sep 9, 2025
Tip of elements-23.x branch is 23.3.1rc1
s373nZ commentedon Sep 9, 2025
Didn't occur to me to just compile BDB with
masteruntil @delta1 's second reminder, but that worked. Then I changed branch to23.3.0to compile the rest. Thanks to you both for the tips.Closing as fixed in
master.