Skip to content

Building docker image fails with rocksdb-dev dependency error #73

@ElderBlade

Description

@ElderBlade

I'm trying to build the image locally on Fedora Server 40, but I keep getting dependency errors:

(1/3) Installing snappy (1.1.7-r1)
(2/3) Installing leveldb (1.22-r0)
(3/3) Installing leveldb-dev (1.22-r0)
OK: 199 MiB in 60 packages
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz: UNTRUSTED signature
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  rocksdb-dev (missing):
    required by: world[rocksdb-dev]
Error: building at STEP "RUN chmod a+x /usr/local/bin/* &&     apk add --no-cache git build-base openssl &&     apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.11/main leveldb-dev &&     apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing rocksdb-dev &&     pip install aiohttp pylru plyvel websockets uvloop &&     git clone -b $VERSION https://github.com/spesmilo/electrumx.git &&     cd electrumx &&     python setup.py install &&     apk del git build-base &&     rm -rf /tmp/*": while running runtime: exit status 1

Removing python-rocksdb from the install command does not resolve the issue. Does any one have suggestions to build it locally?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions