You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ipfs@tuvok:/opt/go-ipfs $ ./ipfs daemon
Initializing daemon...
Found outdated fs-repo, migrations need to be run.
Run migrations now? [y/N] y
=> Looking for suitable fs-repo-migrations binary.
=> None found, downloading.
=> Failed to download fs-repo-migrations.
The migrations of fs-repo failed:
failed to download latest fs-repo-migrations: failed to run ldd: exit status 1
If you think this is a bug, please file an issue and include this whole log output.
https://github.com/ipfs/fs-repo-migrations
Error: failed to download latest fs-repo-migrations: failed to run ldd: exit status 1
ldd complains:
ipfs@tuvok:/opt/go-ipfs $ ldd ipfs
not a dynamic executable
Will take care of it tonight -- will change the ldd check to ldd --version, which prints libc information. For the case that ldd is unavailable or broken, we'll disregard the respective error and assume glibc. We shouldn't have this whole code path fail just because the musl check fails.
Fixes#3661.
There are a couple of cases in which ldd won't operate on an executable,
for example when the executable is statically linked.
This patch makes the call to ldd to ldd more resilient against errors,
and looks for the system libc, instead of the libc go-ipfs was linked against.
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
Version information:
go-ipfs version: 0.4.5-rc1-
Repo version: 5
System version: arm/linux
Golang version: go1.7.4
Type:
Bug
Priority: P1
Description:
ldd complains:
IPFS was downloaded from dist.ipfs.io. It seems it is statically built.
https://github.com/ipfs/go-ipfs/blob/master/repo/fsrepo/migrations/migrations.go#L256 fails to run when it tries to guess if we are using
musl
(I'm not sure we provide musl builds for repo migrations anyway).The text was updated successfully, but these errors were encountered: