Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#70562 - [subversion] svn command fails: missing libdb

Attached to Project: Arch Linux
Opened by Drew Ferguson (blacktav) - Saturday, 24 April 2021, 01:02 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 24 April 2021, 01:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Description: subversion fails as follows

svn --help

svn: error while loading shared libraries: cannot open shared object file: No such file or directory

This is a completely new ArchLinux install; what is libdb?!?
pacman -Syu reports no updates

Additional info:
* package version(s) (subversion) 1.14.1-2

Steps to reproduce:
as above
This task depends upon

Comment by Emil (xexaxo) - Saturday, 24 April 2021, 01:37 GMT
I suspect that you might have a partial update or alike.

In particular: as per `pacman -F` the file is provided by "db 5.3.28-5". The package was released around 2019-11-18.
So the "db" package is either missing, incomplete or ancient.
Comment by Doug Newgard (Scimmia) - Saturday, 24 April 2021, 01:44 GMT
Looks more like a simple missing dep. db isn't in the dep tree, it's pulled in by perl at build time only.

Potentially relevant:  FS#38935 
Comment by Drew Ferguson (blacktav) - Saturday, 24 April 2021, 09:07 GMT
Thanks for the clues; yes indeed it was *db* that was missing - a manual install solved the problem

@xexaxo: nothing I had installed so far required db (according to the "required by" list)

I suspect *db* should indeed be added as a dependency for subversion.

As for the context of  FS#38935 , Berkley db support has been retained for backward compatibility with old (svn) servers
Comment by Doug Newgard (Scimmia) - Saturday, 24 April 2021, 11:54 GMT
More likely it was retained by accident as a result of auto-detection.