Community Packages

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#78401 - [git-annex] error while loading shared libraries

Attached to Project: Community Packages
Opened by Matt (madalu) - Thursday, 04 May 2023, 16:17 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 06 May 2023, 21:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Caleb Maclennan (alerque)
Santiago Torres (sangy)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No


Description: git-annex version 10.20230329-12 was built against a different version of haskell-yesod-static library than the one in the repositories.

Additional info:
* git-annex version 10.20230329-12
* haskell-yesod-static:

Steps to reproduce:

System update to install the most recent git-annex and haskell-yesod-static. Run `git annex.`

The following error results:

/usr/bin/git-annex: error while loading shared libraries: cannot open shared object file: No such file or directory

This task depends upon

Closed by  Felix Yan (felixonmars)
Saturday, 06 May 2023, 21:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  10.20230329-13
Comment by Josh Mock (joshmock) - Saturday, 06 May 2023, 17:16 GMT
Obviously not a solution, but downgrading haskell-yesod-static is a temporary workaround:

pacman -U /var/cache/pacman/pkg/haskell-yesod-static-
Comment by Felix Yan (felixonmars) - Saturday, 06 May 2023, 21:10 GMT
I think I have figured out what happened here. db-update could return with a success while not really updating the db - if another db-update is already running and starts to process the files. I'll probably need to add a lock for db-update to prevent this from happening in the future.