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

leveldb (missing) #60

Open
drandreaskrueger opened this issue Apr 19, 2019 · 1 comment
Open

leveldb (missing) #60

drandreaskrueger opened this issue Apr 19, 2019 · 1 comment

Comments

@drandreaskrueger
Copy link

new problem:

ERROR: unsatisfiable constraints:
  leveldb (missing):
    required by: world[leveldb]
ERROR: Service 'node1' failed to build

reproduce

cd blk-io_crux/docker/quorum-crux
docker-compose -f docker-compose-local.yaml up --build

versions

docker --version; docker-compose --version
Docker version 18.09.5, build e8ff056
docker-compose version 1.22.0, build f46880fe

git log | head -n 9
commit 7e5ecb569319d67e7c468715e1287320c841db86
Merge: eeb63a9 bc1a1b4
Author: Puneetha Karamsetty <puneetha17@gmail.com>
Date:   Thu Mar 21 13:23:22 2019 +0000

    Merge pull request #59 from alikefia/fix-multi-recipients
    
    Fix multi recipients sending

full log

docker-compose -f docker-compose-local.yaml up --build
Building node1
Step 1/24 : FROM alpine:3.8
 ---> dac705114996
Step 2/24 : RUN apk update --no-cache &&     apk add unzip db zlib wrk wget libsodium-dev go bash libpthread-stubs db-dev &&     apk -X http://dl-cdn.alpinelinux.org/alpine/edge/testing add leveldb &&     apk add build-base cmake boost-dev git
 ---> Running in 93bd6a491d52
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
v3.8.4-43-g231048d9b3 [http://dl-cdn.alpinelinux.org/alpine/v3.8/main]
v3.8.4-33-gebcd3398f2 [http://dl-cdn.alpinelinux.org/alpine/v3.8/community]
OK: 9544 distinct packages available
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/26) Installing ncurses-terminfo-base (6.1_p20180818-r1)
(2/26) Installing ncurses-terminfo (6.1_p20180818-r1)
(3/26) Installing ncurses-libs (6.1_p20180818-r1)
(4/26) Installing readline (7.0.003-r0)
(5/26) Installing bash (4.4.19-r1)
Executing bash-4.4.19-r1.post-install
(6/26) Installing db (5.3.28-r0)
(7/26) Installing libgcc (6.4.0-r9)
(8/26) Installing libstdc++ (6.4.0-r9)
(9/26) Installing db-c++ (5.3.28-r0)
(10/26) Installing db-dev (5.3.28-r0)
(11/26) Installing binutils (2.30-r5)
(12/26) Installing gmp (6.1.2-r1)
(13/26) Installing isl (0.18-r0)
(14/26) Installing libgomp (6.4.0-r9)
(15/26) Installing libatomic (6.4.0-r9)
(16/26) Installing pkgconf (1.5.3-r0)
(17/26) Installing mpfr3 (3.1.5-r1)
(18/26) Installing mpc1 (1.0.3-r1)
(19/26) Installing gcc (6.4.0-r9)
(20/26) Installing go (1.10.8-r0)
(21/26) Installing libpthread-stubs (0.3-r5)
(22/26) Installing libsodium (1.0.16-r0)
(23/26) Installing libsodium-dev (1.0.16-r0)
(24/26) Installing unzip (6.0-r4)
(25/26) Installing wget (1.20.3-r0)
(26/26) Installing wrk (4.0.2-r0)
Executing busybox-1.28.4-r3.trigger
OK: 411 MiB in 39 packages
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  leveldb (missing):
    required by: world[leveldb]
ERROR: Service 'node1' failed to build: The command '/bin/sh -c apk update --no-cache &&     apk add unzip db zlib wrk wget libsodium-dev go bash libpthread-stubs db-dev &&     apk -X http://dl-cdn.alpinelinux.org/alpine/edge/testing add leveldb &&     apk add build-base cmake boost-dev git' returned a non-zero code: 1
@drandreaskrueger
Copy link
Author

drandreaskrueger commented Apr 19, 2019

seems to happen on ubuntu only?

use Amazon AWS, with this AMI image:

Ubuntu Server 18.04 LTS (HVM), SSD Volume Type
ami-07dc734dc14746eab

then ssh there, and:

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
file=/etc/apt/sources.list.d/docker.list
echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee $file

sudo apt update
sudo apt upgrade

sudo apt install apt-transport-https ca-certificates software-properties-common python3-pip python3-venv libssl-dev expect-dev dbus-x11 build-essential automake libtool pkg-config libffi-dev python-dev libsecp256k1-dev

sudo apt-cache policy docker-ce
sudo apt-get -y install docker-ce 

sudo usermod -aG docker ${USER}
sudo service docker restart
systemctl status docker --no-pager

sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod 755 /usr/local/bin/docker-compose

docker --version; docker-compose --version

Docker version 18.09.5, build e8ff056
docker-compose version 1.22.0, build f46880fe

then logout and ssh into it again, then:

git clone https://github.com/blk-io/crux/
cd crux/docker/quorum-crux/
docker-compose -f docker-compose-local.yaml up --build

then you end up with the error message:

Executing busybox-1.28.4-r3.trigger
OK: 411 MiB in 39 packages
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  leveldb (missing):
    required by: world[leveldb]
ERROR: Service 'node1' failed to build: The command '/bin/sh -c apk update --no-cache &&     apk add unzip db zlib wrk wget libsodium-dev go bash libpthread-stubs db-dev &&     apk -X http://dl-cdn.alpinelinux.org/alpine/edge/testing add leveldb &&     apk add build-base cmake boost-dev git' returned a non-zero code: 1

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

No branches or pull requests

1 participant