redsift / ingraind-build Goto Github PK
View Code? Open in Web Editor NEWNow maintained at https://github.com/foniod/build-images
Now maintained at https://github.com/foniod/build-images
Hi all,
I was trying to build from scratch using the existing Ubuntu 18.04 Docker image and I'm getting this error:
E: Unable to locate package libllvm11
E: Unable to locate package llvm-11-dev
E: Unable to locate package libclang-11-dev
E: Unable to locate package clang-format-11
The command '/bin/sh -c apt-get update && apt-get -y install curl wget lsb-release wget software-properties-common && bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" && apt-get update && apt-get -y install debhelper cmake llvm libllvm11 llvm-11-dev libclang-11-dev libelf-dev bison flex libedit-dev clang-format-11 python python-netaddr python-pyroute2 luajit libluajit-5.1-dev arping iperf netperf ethtool devscripts zlib1g-dev libfl-dev pkg-config libssl-dev git clang musl musl-tools musl-dev capnproto linux-headers-generic && apt-get clean -y' returned a non-zero code: 100
It looks like the problem comes from https://apt.llvm.org/llvm.sh
pointing by default to LLVM version 12 - I've fixed it by
modifying Dockerfile.18.04 to download the script locally and execute it with a parameter pointing to version 11 like here:
- && bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" \
+ && wget -O /tmp/llvm.sh https://apt.llvm.org/llvm.sh \
+ && chmod +x /tmp/llvm.sh \
+ && bash -c "/tmp/llvm.sh 11" \
Sharing this to check if this is the right approach and also for others to use in case they fall into the same issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.