Registry Mirror
Skip to content

Local BDB install failing on config.guess download #1487

Closed

Description

@s373nZ

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

Activity

  1. psgreco commented on Sep 9, 2025

    @psgreco
    Contributor

    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

  2. delta1 commented on Sep 9, 2025

    @delta1
    Member

    @s373nZ another option is to install bdb v5 from apt and then just configure --with-incompatible-bdb

    Image
  3. s373nZ commented on Sep 9, 2025

    @s373nZ
    Author

    @psgreco I don't see either an elements-23.3.1-rc1 or elements-23.3.1rc1 tag 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.

  4. delta1 commented on Sep 9, 2025

    @delta1
    Member

    You can compile the master branch which has the fix

  5. psgreco commented on Sep 9, 2025

    @psgreco
    Contributor

    @psgreco I don't see either an elements-23.3.1-rc1 or elements-23.3.1rc1 tag 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.

    Tip of elements-23.x branch is 23.3.1rc1

  6. s373nZ commented on Sep 9, 2025

    @s373nZ
    Author

    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.

    Closing as fixed in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions