eos icon indicating copy to clipboard operation
eos copied to clipboard

Build failed - Ubuntu 16.04

Open marcinch18 opened this issue 8 years ago • 7 comments

I was building on fresh Ubuntu 16.04 and got this error message:

image

marcinch18 avatar May 11 '18 23:05 marcinch18

You're experiencing a network error of some kind, and your package lists aren't updating properly. Hopefully it's only transient and you can just retry. Otherwise, you'll need to discover why your installation can't access the network and its repositories successfully.

jgiszczak avatar May 11 '18 23:05 jgiszczak

I hit the same thing. Not a network issue. Instead, it's trying to install a package named " clang-4.0 lldb-4.0 ...". i.e. a shell quoting issue.

tbfleming avatar May 11 '18 23:05 tbfleming

same problem here. I'm following exactly the same process used to compile dawn 3.0.0 .... launch new AWS Ubuntu image:

git clone https://github.com/EOSIO/eos.git --recursive cd eos/ git checkout tags/dawn-v4.0.0 ./eosio_build.sh

        Installing dependencies

Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Fetched 216 kB in 0s (874 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package  clang-4.0   ..........

BinaryFocus avatar May 12 '18 02:05 BinaryFocus

The build script works after I install those packages manually.

wuyahuang avatar May 12 '18 03:05 wuyahuang

@wuyahuang @BinaryFocus apt-get doesn't like the literal quotes for the dependency list. if ! sudo apt-get -y install "${DEP}" You can unquote the variable "${DEP}" if you need to. Ill have a PR in for this tomorrow.

pacificcode avatar May 12 '18 03:05 pacificcode

This issue was addressed by PR #2976.

pacificcode avatar May 12 '18 19:05 pacificcode

ran git pull git submodule update --init --recursive

and after https://github.com/EOSIO/eos/commit/444fed0418bed90c133ad99632d7f630ed0cbf60 this did the trick for me.

I was running into the same issue.

AaronFaltesek avatar May 16 '18 00:05 AaronFaltesek