FS#60391 - git-annex error while loading shared libraries

Attached to Project: Arch Linux
Opened by schnittchen (schnittchen) - Friday, 12 October 2018, 09:56 GMT
Last edited by Felix Yan (felixonmars) - Friday, 12 October 2018, 16:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

```
> sudo pacman -S git-annex
...
> git-annex
/usr/bin/git-annex: error while loading shared libraries: libHSyesod-static-1.6.0-3wPVmR2622sFzwlojqJmco-ghc8.4.3.so: cannot open shared object file: No such file or directory
```

These are the packages which were installed:

```
Packages (208) ghc-libs-8.4.3-1 haskell-adjunctions-4.4-52 haskell-aeson-1.4.1.0-4 haskell-aeson-compat-0.3.9-6 haskell-ansi-terminal-0.8.1-1 haskell-ansi-wl-pprint-0.6.8.2-10 haskell-appar-0.1.4-8
haskell-asn1-encoding-0.9.5-70 haskell-asn1-parse-0.9.4-81 haskell-asn1-types-0.3.2-77 haskell-async-2.2.1-2 haskell-attoparsec-0.13.2.2-30 haskell-attoparsec-iso8601-1.0.1.0-3
haskell-auto-update-0.1.4-8 haskell-aws-0.20-102 haskell-base-compat-0.10.4-1 haskell-base-orphans-0.8-10 haskell-base16-bytestring-0.1.1.6-9 haskell-base64-bytestring-1.0.0.1-12
haskell-basement-0.0.8-1 haskell-bencode-0.6.0.0-15 haskell-bifunctors-5.5.3-12 haskell-blaze-builder-0.4.1.0-3 haskell-blaze-html-0.9.1.1-9 haskell-blaze-markup-0.8.2.2-3
haskell-bloomfilter-2.0.1.0-9 haskell-bsb-http-chunked-0.0.0.3-10 haskell-byteable-0.1.1-9 haskell-byteorder-1.0.4-8 haskell-call-stack-0.1.0-7 haskell-case-insensitive-1.2.0.11-3
haskell-cereal-0.5.7.0-1 haskell-cipher-aes-0.2.11-69 haskell-clientsession-0.9.1.2-78 haskell-clock-0.7.2-8 haskell-colour-2.3.4-11 haskell-comonad-5.0.4-15
haskell-concurrent-output-1.10.7-1 haskell-conduit-1.3.1-4 haskell-conduit-extra-1.3.0-66 haskell-connection-0.2.8-99 haskell-contravariant-1.5-2 haskell-cookie-0.4.4-3
haskell-cprng-aes-0.6.1-72 haskell-crypto-api-0.13.3-9 haskell-crypto-cipher-types-0.0.9-69 haskell-crypto-random-0.0.9-73 haskell-cryptohash-md5-0.11.100.1-7
haskell-cryptohash-sha1-0.11.100.1-7 haskell-cryptonite-0.25-23 haskell-cryptonite-conduit-0.2.2-122 haskell-css-text-0.1.3.0-28 haskell-data-default-0.7.1.1-15
haskell-data-default-class-0.1.2.0-8 haskell-data-default-instances-containers-0.0.1-20 haskell-data-default-instances-dlist-0.0.1-28 haskell-data-default-instances-old-locale-0.0.1-20
haskell-dav-1.3.2-142 haskell-dbus-1.0.1-65 haskell-disk-free-space-0.1.0.1-8 haskell-distributive-0.6-7 haskell-dlist-0.8.0.5-1 haskell-easy-file-0.2.2-3 haskell-edit-distance-0.2.2.1-9
haskell-email-validate-2.3.2.7-5 haskell-entropy-0.4.1.3-1 haskell-esqueleto-2.5.3.20180402-89 haskell-exceptions-0.10.0-6 haskell-fast-logger-2.4.11-6 haskell-fdo-notify-0.3.1-104
haskell-feed-1.0.0.0-122 haskell-file-embed-0.0.11-1 haskell-fingertree-0.1.4.1-6 haskell-free-5.1-18 haskell-hashable-1.2.7.0-3 haskell-hinotify-0.4-1 haskell-hjsmin-0.2.0.2-32
haskell-hourglass-0.2.12-5 haskell-hslogger-1.2.12-4 haskell-http-api-data-0.3.10-2 haskell-http-client-0.5.13.1-22 haskell-http-client-tls-0.3.5.3-78 haskell-http-conduit-2.3.2-66
haskell-http-date-0.0.8-7 haskell-http-types-0.12.2-4 haskell-http2-1.6.3-30 haskell-ifelse-0.85-10 haskell-integer-logarithms-1.0.2.2-1 haskell-invariant-0.5.1-9 haskell-iproute-1.7.5-29
haskell-kan-extensions-5.2-20 haskell-language-javascript-0.6.0.11-4 haskell-lens-4.17-18 haskell-libxml-sax-0.7.5-14 haskell-lifted-base-0.2.3.12-20 haskell-magic-1.1-8
haskell-memory-0.14.18-3 haskell-microlens-0.4.9.1-3 haskell-microlens-th-0.4.2.3-1 haskell-mime-types-0.1.0.8-1 haskell-monad-control-1.0.2.3-20 haskell-monad-logger-0.3.29-24
haskell-monad-loops-0.4.3-9 haskell-mono-traversable-1.0.9.0-17 haskell-mountpoints-1.0.2-8 haskell-network-2.7.0.2-11 haskell-network-info-0.2.0.10-3 haskell-network-multicast-0.2.0-40
haskell-network-uri-2.6.1.0-13 haskell-old-locale-1.0.0.7-14 haskell-old-time-1.1.0.3-14 haskell-optparse-applicative-0.14.3.0-1 haskell-parallel-3.2.2.0-1 haskell-path-pieces-0.2.1-14
haskell-pem-0.2.4-29 haskell-persistent-2.8.2-91 haskell-persistent-sqlite-2.8.2-36 haskell-persistent-template-2.5.4-117 haskell-primitive-0.6.4.0-1 haskell-profunctors-5.3-14
haskell-psqueues-0.2.7.0-9 haskell-quickcheck-2.11.3-4 haskell-random-1.1-12 haskell-reducers-3.12.3-19 haskell-reflection-2.1.4-1 haskell-regex-base-0.93.2-33 haskell-regex-tdfa-1.2.3.1-1
haskell-resource-pool-0.2.3.2-48 haskell-resourcet-1.2.2-2 haskell-rio-0.1.5.0-11 haskell-safe-0.3.17-2 haskell-safesemaphore-0.10.1-11 haskell-sandi-0.4.2-60 haskell-scientific-0.3.6.2-7
haskell-securemem-0.1.10-31 haskell-semigroupoids-5.3.1-18 haskell-setenv-0.1.1.3-9 haskell-shakespeare-2.0.18-7 haskell-silently-1.2.5-9 haskell-simple-sendfile-0.2.27-92
haskell-skein-1.0.9.4-22 haskell-socks-0.5.6-37 haskell-split-0.2.3.3-5 haskell-src-exts-1.20.3-4 haskell-src-meta-0.8.0.3-22 haskell-statevar-1.1.1.1-1 haskell-stm-chans-3.0.0.4-11
haskell-streaming-commons-0.2.1.0-9 haskell-stringsearch-0.3.6.6-8 haskell-syb-0.7-6 haskell-tagged-0.8.6-1 haskell-tagsoup-0.14.7-1 haskell-tasty-1.1.0.4-1 haskell-tasty-hunit-0.10.0.1-27
haskell-tasty-quickcheck-0.10-19 haskell-tasty-rerun-1.1.13-3 haskell-terminal-size-0.3.2.1-8 haskell-tf-random-0.5-19 haskell-th-abstraction-0.2.8.0-1 haskell-th-expand-syns-0.4.4.0-3
haskell-th-lift-0.7.11-1 haskell-th-lift-instances-0.1.11-21 haskell-th-orphans-0.13.6-11 haskell-th-reify-many-0.1.8-10 haskell-time-locale-compat-0.1.1.5-1 haskell-tls-1.4.1-44
haskell-tls-session-manager-0.0.0.2-71 haskell-torrent-10000.1.1-12 haskell-transformers-base-0.4.5.2-18 haskell-transformers-compat-0.6.2-2 haskell-typed-process-0.2.3.0-5
haskell-unbounded-delays-0.1.1.0-7 haskell-unix-compat-0.5.1-1 haskell-unix-time-0.3.8-3 haskell-unliftio-0.2.8.1-3 haskell-unliftio-core-0.1.2.0-1 haskell-unordered-containers-0.2.9.0-11
haskell-utf8-string-1.0.1.1-8 haskell-uuid-1.3.13-19 haskell-uuid-types-1.0.3-15 haskell-vault-0.3.1.2-4 haskell-vector-0.12.0.1-10 haskell-vector-algorithms-0.8.0.1-1 haskell-void-0.7.2-9
haskell-wai-3.2.1.2-39 haskell-wai-app-static-3.1.6.2-125 haskell-wai-extra-3.0.24.3-5 haskell-wai-logger-2.3.2-135 haskell-warp-3.2.25-21 haskell-warp-tls-3.2.4.3-101
haskell-wcwidth-0.0.2-1 haskell-word8-0.1.3-6 haskell-x509-1.7.4-6 haskell-x509-store-1.6.6-34 haskell-x509-system-1.6.6-63 haskell-x509-validation-1.6.10-34 haskell-xml-conduit-1.8.0.1-12
haskell-xml-hamlet-0.5.0-70 haskell-xml-types-0.3.6-14 haskell-xss-sanitize-0.3.6-8 haskell-yaml-0.10.4.0-2 haskell-yesod-1.6.0-143 haskell-yesod-core-1.6.8-3 haskell-yesod-form-1.6.2-71
haskell-yesod-persistent-1.6.0-128 haskell-yesod-static-1.6.0-114 haskell-zlib-0.6.2-3 git-annex-6.20181011-1
```
This task depends upon

Closed by  Felix Yan (felixonmars)
Friday, 12 October 2018, 16:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  6.20181011-2
Comment by Eli Schwartz (eschwartz) - Friday, 12 October 2018, 15:26 GMT
$ pkg-list-linked-libraries git-annex libHSyesod-static
==> checking linked libraries for git-annex-6.20181011-1-x86_64.pkg.tar.xz ...
/usr/bin/git-annex
NEEDED libHSyesod-static-1.6.0-3wPVmR2622sFzwlojqJmco-ghc8.4.3.so
$ pkgfile -vr libHSyesod-static'.*'
community/haskell-yesod-static 1.6.0-114 /usr/lib/libHSyesod-static-1.6.0-DJOsi37A97X34qkqZr7EUW-ghc8.4.3.so
$ bsdtar -tvf /var/cache/pacman/pkg/haskell-yesod-static-1.6.0-113-x86_64.pkg.tar.xz| grep libHSyesod-static-1.6.0-3wPVmR2622sFzwlojqJmco-ghc8.4.3.so
-rwxr-xr-x 0 root root 556576 Oct 9 18:41 usr/lib/libHSyesod-static-1.6.0-3wPVmR2622sFzwlojqJmco-ghc8.4.3.so

It looks like this got accidentally built against the wrong version of haskell-yesod-static. The other two packages that link to libHSyesod-static-* appear to be fine, though.
Comment by Felix Yan (felixonmars) - Friday, 12 October 2018, 16:08 GMT
Seems like the tasty rebuild was not completely moved when I started the git-annex update... Fixed in 6.20181011-2

Loading...