Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipfs-migrator: 6 -> 7 #46747

Merged
merged 2 commits into from Sep 17, 2018
Merged

ipfs-migrator: 6 -> 7 #46747

merged 2 commits into from Sep 17, 2018

Conversation

xeji
Copy link
Contributor

@xeji xeji commented Sep 16, 2018

Motivation for this change

New version of the ipfs repo migration tools. This is required to migrate existing ipfs repos to repo v7.

Needs backport to 18.09 since existing ipfs repos from 18.03 will have to be migrated to v7 in 18.09.

Things done
  • built in a sandbox on NixOS

@xeji
Copy link
Contributor Author

xeji commented Sep 16, 2018

@GrahamcOfBorg build ipfs-migrator

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

github.com/ipfs/fs-repo-migrations/Godeps/_workspace/src/github.com/anacrolix/jitter
github.com/ipfs/fs-repo-migrations/Godeps/_workspace/src/github.com/jbenet/go-multiaddr
github.com/ipfs/fs-repo-migrations/Godeps/_workspace/src/github.com/anacrolix/utp
github.com/ipfs/fs-repo-migrations/ipfs-2-to-3/Godeps/_workspace/src/github.com/whyrusleeping/go-logging
github.com/ipfs/fs-repo-migrations/Godeps/_workspace/src/github.com/jbenet/go-multiaddr-net/utp
github.com/ipfs/fs-repo-migrations/Godeps/_workspace/src/github.com/jbenet/go-multiaddr-net
github.com/ipfs/fs-repo-migrations/sharness/dependencies/pollEndpoint
github.com/ipfs/fs-repo-migrations/stump
builder for '/nix/store/3v433gb5pqhslnn7pp9w1w8bdkkkncg1-ipfs-migrator-1.4.0.drv' failed with exit code 3
error: build of '/nix/store/3v433gb5pqhslnn7pp9w1w8bdkkkncg1-ipfs-migrator-1.4.0.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

stripping (with command strip and flags -S) in /nix/store/k1qjrp714ahnq1zs2p8byngp2dgm2xbm-ipfs-migrator-1.4.0-bin/bin
patching script interpreter paths in /nix/store/k1qjrp714ahnq1zs2p8byngp2dgm2xbm-ipfs-migrator-1.4.0-bin
checking for references to /build in /nix/store/k1qjrp714ahnq1zs2p8byngp2dgm2xbm-ipfs-migrator-1.4.0-bin...
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
/nix/store/k1qjrp714ahnq1zs2p8byngp2dgm2xbm-ipfs-migrator-1.4.0-bin

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

stripping (with command strip and flags -S) in /nix/store/fr1wks0qh0811pvi3as5a7zg4yvcn0jw-ipfs-migrator-1.4.0-bin/bin
patching script interpreter paths in /nix/store/fr1wks0qh0811pvi3as5a7zg4yvcn0jw-ipfs-migrator-1.4.0-bin
checking for references to /build in /nix/store/fr1wks0qh0811pvi3as5a7zg4yvcn0jw-ipfs-migrator-1.4.0-bin...
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/fr1wks0qh0811pvi3as5a7zg4yvcn0jw-ipfs-migrator-1.4.0-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

/nix/store/k1qjrp714ahnq1zs2p8byngp2dgm2xbm-ipfs-migrator-1.4.0-bin

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

/nix/store/fr1wks0qh0811pvi3as5a7zg4yvcn0jw-ipfs-migrator-1.4.0-bin

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

github.com/ipfs/fs-repo-migrations/ipfs-2-to-3/Godeps/_workspace/src/github.com/whyrusleeping/go-logging
github.com/ipfs/fs-repo-migrations/Godeps/_workspace/src/github.com/anacrolix/utp
github.com/ipfs/fs-repo-migrations/Godeps/_workspace/src/github.com/jbenet/go-multihash
github.com/ipfs/fs-repo-migrations/Godeps/_workspace/src/github.com/jbenet/go-multiaddr
github.com/ipfs/fs-repo-migrations/Godeps/_workspace/src/github.com/jbenet/go-multiaddr-net/utp
github.com/ipfs/fs-repo-migrations/Godeps/_workspace/src/github.com/jbenet/go-multiaddr-net
github.com/ipfs/fs-repo-migrations/sharness/dependencies/pollEndpoint
github.com/ipfs/fs-repo-migrations/stump
builder for '/nix/store/3v433gb5pqhslnn7pp9w1w8bdkkkncg1-ipfs-migrator-1.4.0.drv' failed with exit code 3
error: build of '/nix/store/3v433gb5pqhslnn7pp9w1w8bdkkkncg1-ipfs-migrator-1.4.0.drv' failed

New version is required to migrate existing ipfs repos to repo v7.
@xeji xeji changed the title ipfs-migrator: 6 -> 1.4.0 ipfs-migrator: 6 -> 7 Sep 16, 2018
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

stripping (with command strip and flags -S) in /nix/store/j8pkyd66wabxcppnr47ha55vrb78mhz1-ipfs-migrator-7-bin/bin
patching script interpreter paths in /nix/store/j8pkyd66wabxcppnr47ha55vrb78mhz1-ipfs-migrator-7-bin
checking for references to /build in /nix/store/j8pkyd66wabxcppnr47ha55vrb78mhz1-ipfs-migrator-7-bin...
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/j8pkyd66wabxcppnr47ha55vrb78mhz1-ipfs-migrator-7-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

stripping (with command strip and flags -S) in /nix/store/blpgpms02rifmjmyjwv4vqk5hi4rb8cx-ipfs-migrator-7-bin/bin
patching script interpreter paths in /nix/store/blpgpms02rifmjmyjwv4vqk5hi4rb8cx-ipfs-migrator-7-bin
checking for references to /build in /nix/store/blpgpms02rifmjmyjwv4vqk5hi4rb8cx-ipfs-migrator-7-bin...
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
/nix/store/blpgpms02rifmjmyjwv4vqk5hi4rb8cx-ipfs-migrator-7-bin

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

find: '/nix/store/4idqmkxfmfwgq0jc6mw17sjmvyyqmzx0-ipfs-migrator-7': No such file or directory
find: '/nix/store/4idqmkxfmfwgq0jc6mw17sjmvyyqmzx0-ipfs-migrator-7': No such file or directory
find: '/nix/store/4idqmkxfmfwgq0jc6mw17sjmvyyqmzx0-ipfs-migrator-7': No such file or directory
find: '/nix/store/4idqmkxfmfwgq0jc6mw17sjmvyyqmzx0-ipfs-migrator-7': No such file or directory
find: '/nix/store/4idqmkxfmfwgq0jc6mw17sjmvyyqmzx0-ipfs-migrator-7': No such file or directory
find: '/nix/store/4idqmkxfmfwgq0jc6mw17sjmvyyqmzx0-ipfs-migrator-7': No such file or directory
find: '/nix/store/4idqmkxfmfwgq0jc6mw17sjmvyyqmzx0-ipfs-migrator-7': No such file or directory
find: '/nix/store/4idqmkxfmfwgq0jc6mw17sjmvyyqmzx0-ipfs-migrator-7': No such file or directory
find: '/nix/store/4idqmkxfmfwgq0jc6mw17sjmvyyqmzx0-ipfs-migrator-7': No such file or directory
/nix/store/9bnnz5csj1gdajrmlvsb0c51fmigwjpc-ipfs-migrator-7-bin

Most dependencies are vendored in the upstream source anyway,
deps.nix just contains the few that are not.
Dependencies were updated manually because go2nix doesn't
work correctly for this package - it produces an empty deps.nix.
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

stripping (with command strip and flags -S) in /nix/store/yrn922crbnvk0kgkm478wfcm2vpsx8my-ipfs-migrator-7-bin/bin
patching script interpreter paths in /nix/store/yrn922crbnvk0kgkm478wfcm2vpsx8my-ipfs-migrator-7-bin
checking for references to /build in /nix/store/yrn922crbnvk0kgkm478wfcm2vpsx8my-ipfs-migrator-7-bin...
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/yrn922crbnvk0kgkm478wfcm2vpsx8my-ipfs-migrator-7-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

stripping (with command strip and flags -S) in /nix/store/40rmhfplg71jhrjw1frh1s0gq571agzn-ipfs-migrator-7-bin/bin
patching script interpreter paths in /nix/store/40rmhfplg71jhrjw1frh1s0gq571agzn-ipfs-migrator-7-bin
checking for references to /build in /nix/store/40rmhfplg71jhrjw1frh1s0gq571agzn-ipfs-migrator-7-bin...
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
/nix/store/40rmhfplg71jhrjw1frh1s0gq571agzn-ipfs-migrator-7-bin

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: ipfs-migrator

Partial log (click to expand)

find: '/nix/store/wdz9z3f9h22z90dxszdwmkkwcjq7bzxk-ipfs-migrator-7': No such file or directory
find: '/nix/store/wdz9z3f9h22z90dxszdwmkkwcjq7bzxk-ipfs-migrator-7': No such file or directory
find: '/nix/store/wdz9z3f9h22z90dxszdwmkkwcjq7bzxk-ipfs-migrator-7': No such file or directory
find: '/nix/store/wdz9z3f9h22z90dxszdwmkkwcjq7bzxk-ipfs-migrator-7': No such file or directory
find: '/nix/store/wdz9z3f9h22z90dxszdwmkkwcjq7bzxk-ipfs-migrator-7': No such file or directory
find: '/nix/store/wdz9z3f9h22z90dxszdwmkkwcjq7bzxk-ipfs-migrator-7': No such file or directory
find: '/nix/store/wdz9z3f9h22z90dxszdwmkkwcjq7bzxk-ipfs-migrator-7': No such file or directory
find: '/nix/store/wdz9z3f9h22z90dxszdwmkkwcjq7bzxk-ipfs-migrator-7': No such file or directory
find: '/nix/store/wdz9z3f9h22z90dxszdwmkkwcjq7bzxk-ipfs-migrator-7': No such file or directory
/nix/store/8b7an4izkr6bzhf03bm30cn9cij14gjp-ipfs-migrator-7-bin

@xeji
Copy link
Contributor Author

xeji commented Sep 17, 2018

cc @elitak @fpletz

@xeji xeji merged commit bc1911e into NixOS:master Sep 17, 2018
@xeji xeji deleted the p/ipfs-migrator branch September 17, 2018 17:17
@xeji
Copy link
Contributor Author

xeji commented Sep 17, 2018

backported: 95b11f3..3477239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants