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

Compilation: TileReader returned bad result slice (tile/8/0/571 len=4096, want 8192) #3947

Open
proftechrus opened this issue Oct 9, 2021 · 1 comment
Labels
bug Something isn't working cosmic-swingset package: cosmic-swingset needs-info not enough information given to reproduce / diagnose the problem

Comments

@proftechrus
Copy link

Describe the bug

While execute make at ../packages/cosmic-swingset
user@Node1:~/agoric/agoric-sdk$ (cd packages/cosmic-swingset && make) make -C ../../golang/cosmos all make[1]: Entering directory '/home/pavel/agoric/agoric-sdk/golang/cosmos' --> Download go modules to local cache github.com/naoina/[email protected]: verifying module: github.com/naoina/[email protected]: TileReader returned bad result slice (tile/8/0/571 len=4096, want 8192) make[1]: *** [Makefile:73: go-mod-cache] Error 1 make[1]: Leaving directory '/home/pavel/agoric/agoric-sdk/golang/cosmos' make: *** [Makefile:203: build-chain] Error 2

To Reproduce

`sudo apt install curl
curl https://deb.nodesource.com/setup_14.x | sudo bash
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
sudo apt upgrade -y
sudo apt install nodejs=14.* yarn build-essential jq -y
sudo rm -rf /usr/local/go
curl https://dl.google.com/go/go1.15.7.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -

cat <<'EOF' >>$HOME/.bash_profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF

source $HOME/.bash_profile

export GIT_BRANCH=agorictest-17
git clone https://github.com/Agoric/agoric-sdk -b $GIT_BRANCH
cd agoric-sdk
yarn install
yarn build
`
until now everything is OK

then:

(cd packages/cosmic-swingset && make)

and:

user@Node1:~/agoric/agoric-sdk$ (cd packages/cosmic-swingset && make) make -C ../../golang/cosmos all make[1]: Entering directory '/home/pavel/agoric/agoric-sdk/golang/cosmos' --> Download go modules to local cache github.com/naoina/[email protected]: verifying module: github.com/naoina/[email protected]: TileReader returned bad result slice (tile/8/0/571 len=4096, want 8192) make[1]: *** [Makefile:73: go-mod-cache] Error 1 make[1]: Leaving directory '/home/pavel/agoric/agoric-sdk/golang/cosmos' make: *** [Makefile:203: build-chain] Error 2
`

Expected behavior

successful compilation

Platform Environment

userl@Node1:~/agoric/agoric-sdk$ git describe --tags --always agoricdev-4

Node:
user@Node1:~/agoric/agoric-sdk$ node -v v14.18.0

Go:
user@Node1:~/agoric/agoric-sdk$ go version go version go1.15.7 linux/amd64
Linux:

user@Node1:~/agoric/agoric-sdk$ cat /etc/os-release NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.3 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal

Additional context

Add any other context about the problem here.

Screenshots

If applicable, add screenshots to help explain your problem, especially for UI interactions.

@proftechrus proftechrus added the bug Something isn't working label Oct 9, 2021
@dckc dckc added the cosmic-swingset package: cosmic-swingset label Oct 27, 2021
@dckc
Copy link
Member

dckc commented Oct 27, 2021

I tried the steps you gave but it builds fine for me.

One odd thing: under Platform Environment you write: userl@Node1:~/agoric/agoric-sdk$ git describe --tags --always agoricdev-4
agoricdev-4?

Under To Reproduce you write export GIT_BRANCH=agorictest-17.

Which did you use? 4 or 17?

@dckc dckc added the needs-info not enough information given to reproduce / diagnose the problem label Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cosmic-swingset package: cosmic-swingset needs-info not enough information given to reproduce / diagnose the problem
Projects
None yet
Development

No branches or pull requests

3 participants