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

Details

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: 1.6.1.0-602

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: libHSyesod-static-1.6.1.0-4RH9WbGiizr5JGmsBGCHGX-ghc9.0.2.so: 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-1.6.1.0-601-x86_64.pkg.tar.zst
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.

Loading...