在编译的时候使用这个命令:./build.sh ubuntu full > stdout.txt 2> stderr.txt
编译差不多了,将stderr.txt的文件贴出来看看
ubuntu:~/eos$ cat stderr.txt
--2018-03-08 22:59:14-- https://apt.llvm.org/llvm-snapshot.gpg.key
Resolving apt.llvm.org (apt.llvm.org)... 151.101.42.49
Connecting to apt.llvm.org (apt.llvm.org)|151.101.42.49|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3145 (3.1K) [application/octet-stream]
Saving to: 'STDOUT'
0K ... 100% 73.2M=0s
2018-03-08 22:59:15 (73.2 MB/s) - written to stdout [3145/3145]
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
tar: This does not look like a tar archive
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? Possible reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
/home/ubuntu/eos/scripts/install_dependencies.sh: line 20: cd: boost_1_64_0/: No such file or directory
/home/ubuntu/eos/scripts/install_dependencies.sh: line 21: ./bootstrap.sh: No such file or directory
/home/ubuntu/eos/scripts/install_dependencies.sh: line 22: ./b2: No such file or directory
Cloning into 'secp256k1-zkp'...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.utf8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.utf8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.utf8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.utf8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.utf8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.utf8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.utf8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.utf8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.utf8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.utf8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.utf8").
configure.ac:10: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/config.guess'
configure.ac:5: installing 'build-aux/config.sub'
configure.ac:9: installing 'build-aux/install-sh'
configure.ac:9: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
./configure: line 12077: PKG_PROG_PKG_CONFIG: command not found
./libtool: line 1748: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
./libtool: line 1748: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
/usr/bin/ar: u' modifier ignored since
D' is the default (see `U')
Cloning into 'binaryen'...
Note: checking out 'tags/1.37.14'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 7179572... Untee pass (#1053)
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make[2]: *** [src/wasm/CMakeFiles/wasm.dir/wasm-binary.cpp.o] Error 4
make[1]: *** [src/wasm/CMakeFiles/wasm.dir/all] Error 2
make: *** [all] Error 2
mv: cannot move '/tmp/binaryen/bin' to '/home/ubuntu/opt/binaryen/bin': Directory not empty
Cloning into 'llvm'...
Cloning into 'clang'...
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make[2]: *** [lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o] Error 4
make[1]: *** [lib/TableGen/CMakeFiles/LLVMTableGen.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make[2]: *** [lib/Demangle/CMakeFiles/LLVMDemangle.dir/ItaniumDemangle.cpp.o] Error 4
make[1]: *** [lib/Demangle/CMakeFiles/LLVMDemangle.dir/all] Error 2
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make[2]: *** [utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o] Error 4
make[1]: *** [utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/all] Error 2
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o] Error 4
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
make: *** [all] Error 2
CMake Warning at plugins/db_plugin/CMakeLists.txt:6 (find_package):
By not providing "Findlibmongoc-1.0.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"libmongoc-1.0", but CMake did not find one.
Could not find a package configuration file provided by "libmongoc-1.0"
(requested version 1.8) with any of the following names:
libmongoc-1.0Config.cmake
libmongoc-1.0-config.cmake
Add the installation prefix of "libmongoc-1.0" to CMAKE_PREFIX_PATH or set
"libmongoc-1.0_DIR" to a directory containing one of the above files. If
"libmongoc-1.0" provides a separate development package or SDK, be sure it
has been installed.
Could NOT find MongoDB. db_plugin with MongoDB support will not be included.
In file included from /home/ubuntu/eos/libraries/fc/src/log/appender.cpp:7:
/home/ubuntu/eos/libraries/fc/include/fc/log/gelf_appender.hpp:29:10: warning: 'initialize' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void initialize(boost::asio::io_service& io_service);
^
/home/ubuntu/eos/libraries/fc/include/fc/log/appender.hpp:48:23: note: overridden virtual function is here
virtual void initialize( boost::asio::io_service& io_service ) = 0;
^
1 warning generated.
In file included from /home/ubuntu/eos/libraries/fc/src/log/gelf_appender.cpp:5:
/home/ubuntu/eos/libraries/fc/include/fc/log/gelf_appender.hpp:29:10: warning: 'initialize' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void initialize(boost::asio::io_service& io_service);
^
/home/ubuntu/eos/libraries/fc/include/fc/log/appender.hpp:48:23: note: overridden virtual function is here
virtual void initialize( boost::asio::io_service& io_service ) = 0;
^
1 warning generated.
In file included from /home/ubuntu/eos/libraries/fc/src/log/logger_config.cpp:8:
/home/ubuntu/eos/libraries/fc/include/fc/log/gelf_appender.hpp:29:10: warning: 'initialize' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void initialize(boost::asio::io_service& io_service);
^
/home/ubuntu/eos/libraries/fc/include/fc/log/appender.hpp:48:23: note: overridden virtual function is here
virtual void initialize( boost::asio::io_service& io_service ) = 0;
^
1 warning generated.
/home/ubuntu/eos/libraries/fc/src/crypto/crc.cpp:538:23: warning: unused variable 'crc_c' [-Wunused-const-variable]
static const uint32_t crc_c[256] = {
^
1 warning generated.
clang: error: unable to execute command: Killed
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 4.0.0-1ubuntu1~16.04.2 (tags/RELEASE_400/rc1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/aes-a34a3c.cpp
clang: note: diagnostic msg: /tmp/aes-a34a3c.sh
clang: note: diagnostic msg:
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/crypto/aes.cpp.o] Error 254
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
make: *** [all] Error 2