Skip to content

Instantly share code, notes, and snippets.

@renyuntao
Last active September 19, 2017 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renyuntao/285acf26610aeb8f415e36aaa894253d to your computer and use it in GitHub Desktop.
Save renyuntao/285acf26610aeb8f415e36aaa894253d to your computer and use it in GitHub Desktop.
--2017-09-19 16:32:25--  https://github.com/facebook/wdt/archive/v1.27.1612021.tar.gz
正在解析主机 github.com (github.com)... 192.30.255.112, 192.30.255.113
正在连接 github.com (github.com)|192.30.255.112|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://codeload.github.com/facebook/wdt/tar.gz/v1.27.1612021 [跟随至新的 URL]
--2017-09-19 16:32:27--  https://codeload.github.com/facebook/wdt/tar.gz/v1.27.1612021
正在解析主机 codeload.github.com (codeload.github.com)... 192.30.255.120, 192.30.255.121
正在连接 codeload.github.com (codeload.github.com)|192.30.255.120|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 238179 (233K) [application/x-gzip]
正在保存至: “v1.27.1612021.tar.gz”

v1.27.1612021.tar.gz                        100%[========================================================================================>] 232.60K   150KB/s    in 1.5s    

2017-09-19 16:32:30 (150 KB/s) - 已保存 “v1.27.1612021.tar.gz” [238179/238179])

wdt-1.27.1612021/
wdt-1.27.1612021/.clang-format
wdt-1.27.1612021/.travis.yml
wdt-1.27.1612021/AbortChecker.h
wdt-1.27.1612021/ByteSource.h
wdt-1.27.1612021/CMakeLists.txt
wdt-1.27.1612021/CONTRIBUTING.md
wdt-1.27.1612021/ErrorCodes.cpp
wdt-1.27.1612021/ErrorCodes.h
wdt-1.27.1612021/LICENSE
wdt-1.27.1612021/PATENTS
wdt-1.27.1612021/Protocol.cpp
wdt-1.27.1612021/Protocol.h
wdt-1.27.1612021/README.md
wdt-1.27.1612021/Receiver.cpp
wdt-1.27.1612021/Receiver.h
wdt-1.27.1612021/ReceiverThread.cpp
wdt-1.27.1612021/ReceiverThread.h
wdt-1.27.1612021/Reporting.cpp
wdt-1.27.1612021/Reporting.h
wdt-1.27.1612021/Sender.cpp
wdt-1.27.1612021/Sender.h
wdt-1.27.1612021/SenderThread.cpp
wdt-1.27.1612021/SenderThread.h
wdt-1.27.1612021/SourceQueue.h
wdt-1.27.1612021/TARGETS
wdt-1.27.1612021/Throttler.cpp
wdt-1.27.1612021/Throttler.h
wdt-1.27.1612021/Wdt.cpp
wdt-1.27.1612021/Wdt.h
wdt-1.27.1612021/WdtBase.cpp
wdt-1.27.1612021/WdtBase.h
wdt-1.27.1612021/WdtConfig.h
wdt-1.27.1612021/WdtConfig.h.in
wdt-1.27.1612021/WdtOptions.cpp
wdt-1.27.1612021/WdtOptions.h
wdt-1.27.1612021/WdtResourceController.cpp
wdt-1.27.1612021/WdtResourceController.h
wdt-1.27.1612021/WdtThread.cpp
wdt-1.27.1612021/WdtThread.h
wdt-1.27.1612021/WdtTransferRequest.cpp
wdt-1.27.1612021/WdtTransferRequest.h
wdt-1.27.1612021/Writer.h
wdt-1.27.1612021/bench/
wdt-1.27.1612021/bench/Bigram.cpp
wdt-1.27.1612021/bench/Bigram.h
wdt-1.27.1612021/bench/TARGETS
wdt-1.27.1612021/bench/WdtGenTestUtils.cpp
wdt-1.27.1612021/bench/book1.bigrams
wdt-1.27.1612021/bench/book1.bigrams.txt
wdt-1.27.1612021/bench/wdtGenFiles.cpp
wdt-1.27.1612021/bench/wdtGenTest.cpp
wdt-1.27.1612021/bench/wdtStats.cpp
wdt-1.27.1612021/build/
wdt-1.27.1612021/build/BUILD.md
wdt-1.27.1612021/build/auto_version.tcl
wdt-1.27.1612021/build/binary_analyzer.sh
wdt-1.27.1612021/build/clangformat.sh
wdt-1.27.1612021/build/clean.sh
wdt-1.27.1612021/build/fbpkg.tcl
wdt-1.27.1612021/build/folly-config.h.in
wdt-1.27.1612021/build/header
wdt-1.27.1612021/build/lego-job-spec.sh
wdt-1.27.1612021/build/travis_linux.sh
wdt-1.27.1612021/build/travis_osx.sh
wdt-1.27.1612021/build/version_update.tcl
wdt-1.27.1612021/build/wdt_cont_build_run.tcl
wdt-1.27.1612021/build/wdt_cont_build_run_diff.tcl
wdt-1.27.1612021/build/wdt_cont_build_setup.sh
wdt-1.27.1612021/build/wdt_cont_build_setup_opensource.sh
wdt-1.27.1612021/build/wdt_logo.png
wdt-1.27.1612021/test/
wdt-1.27.1612021/test/EncryptionTest.cpp
wdt-1.27.1612021/test/FdTest.cpp
wdt-1.27.1612021/test/FileReaderTest.cpp
wdt-1.27.1612021/test/NetworkErrorSimulator.cpp
wdt-1.27.1612021/test/OptionTypeTest.cpp
wdt-1.27.1612021/test/ProtocolTest.cpp
wdt-1.27.1612021/test/TestCommon.cpp
wdt-1.27.1612021/test/TestCommon.h
wdt-1.27.1612021/test/ThreadsControllerTest.cpp
wdt-1.27.1612021/test/ThrottlerTest.cpp
wdt-1.27.1612021/test/WdtMiscTests.cpp
wdt-1.27.1612021/test/WdtResourceControllerTest.cpp
wdt-1.27.1612021/test/WdtUrlTest.cpp
wdt-1.27.1612021/test/__init__.py
wdt-1.27.1612021/test/colorize.sh
wdt-1.27.1612021/test/common_functions.sh
wdt-1.27.1612021/test/common_utils.py
wdt-1.27.1612021/test/disk_mode_large_file.py
wdt-1.27.1612021/test/hostname_override_test.py
wdt-1.27.1612021/test/wdt_crypto_bench.sh
wdt-1.27.1612021/test/wdt_dl_resume_test1.py
wdt-1.27.1612021/test/wdt_dl_resume_test2.py
wdt-1.27.1612021/test/wdt_download_resumption_test.sh
wdt-1.27.1612021/test/wdt_e2e_simple_test.sh
wdt-1.27.1612021/test/wdt_e2e_test.sh
wdt-1.27.1612021/test/wdt_e2e_xfs_test.sh
wdt-1.27.1612021/test/wdt_error_codes_test.sh
wdt-1.27.1612021/test/wdt_file_list_test.py
wdt-1.27.1612021/test/wdt_global_checkpoint_test.sh
wdt-1.27.1612021/test/wdt_lock_failfast.sh
wdt-1.27.1612021/test/wdt_long_running_test.py
wdt-1.27.1612021/test/wdt_max_send_test.sh
wdt-1.27.1612021/test/wdt_mixed_benchmark.sh
wdt-1.27.1612021/test/wdt_network_test.sh
wdt-1.27.1612021/test/wdt_option_type_test.sh
wdt-1.27.1612021/test/wdt_overwrite_test.py
wdt-1.27.1612021/test/wdt_port_block_test.py
wdt-1.27.1612021/test/wdt_protocol_negotiation_test.py
wdt-1.27.1612021/test/wdt_rand_gen_test.sh
wdt-1.27.1612021/test/wdt_remote_test.sh
wdt-1.27.1612021/test/wdt_slow_receiver_test.py
wdt-1.27.1612021/test/wdt_stdin_test.sh
wdt-1.27.1612021/test/wdt_throttle_test.sh
wdt-1.27.1612021/util/
wdt-1.27.1612021/util/ClientSocket.cpp
wdt-1.27.1612021/util/ClientSocket.h
wdt-1.27.1612021/util/CommonImpl.cpp
wdt-1.27.1612021/util/CommonImpl.h
wdt-1.27.1612021/util/DirectorySourceQueue.cpp
wdt-1.27.1612021/util/DirectorySourceQueue.h
wdt-1.27.1612021/util/EncryptionUtils.cpp
wdt-1.27.1612021/util/EncryptionUtils.h
wdt-1.27.1612021/util/FileByteSource.cpp
wdt-1.27.1612021/util/FileByteSource.h
wdt-1.27.1612021/util/FileCreator.cpp
wdt-1.27.1612021/util/FileCreator.h
wdt-1.27.1612021/util/FileWriter.cpp
wdt-1.27.1612021/util/FileWriter.h
wdt-1.27.1612021/util/SerializationUtil.cpp
wdt-1.27.1612021/util/SerializationUtil.h
wdt-1.27.1612021/util/ServerSocket.cpp
wdt-1.27.1612021/util/ServerSocket.h
wdt-1.27.1612021/util/ThreadTransferHistory.cpp
wdt-1.27.1612021/util/ThreadTransferHistory.h
wdt-1.27.1612021/util/ThreadsController.cpp
wdt-1.27.1612021/util/ThreadsController.h
wdt-1.27.1612021/util/TransferLogManager.cpp
wdt-1.27.1612021/util/TransferLogManager.h
wdt-1.27.1612021/util/WdtFlags.cpp
wdt-1.27.1612021/util/WdtFlags.cpp.inc
wdt-1.27.1612021/util/WdtFlags.h
wdt-1.27.1612021/util/WdtFlagsMacros.h
wdt-1.27.1612021/util/WdtSocket.cpp
wdt-1.27.1612021/util/WdtSocket.h
wdt-1.27.1612021/wdtCmdLine.cpp
正克隆到 'folly'...
remote: Counting objects: 35171, done.
remote: Compressing objects: 100% (71/71), done.
remote: Total 35171 (delta 20), reused 29 (delta 11), pack-reused 35087
接收对象中: 100% (35171/35171), 13.90 MiB | 262.00 KiB/s, 完成.
处理 delta 中: 100% (28243/28243), 完成.
检查连接... 完成。
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 4.9.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2g") 
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for sync_file_range
-- Looking for sync_file_range - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for posix_fadvise
-- Looking for posix_fadvise - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for memrchr
-- Looking for memrchr - found
-- Looking for pthread_atfork
-- Looking for pthread_atfork - found
-- Looking for C++ include malloc.h
-- Looking for C++ include malloc.h - found
-- Looking for C++ include features.h
-- Looking for C++ include features.h - found
-- Looking for C++ include bits/c++config.h
-- Looking for C++ include bits/c++config.h - found
-- Looking for C++ include bits/functexcept.h
-- Looking for C++ include bits/functexcept.h - found
-- Looking for C++ include linux/sockios.h
-- Looking for C++ include linux/sockios.h - found
-- Performing Test FOLLY_USE_LIBCPP
-- Performing Test FOLLY_USE_LIBCPP - Failed
-- Performing Test FOLLY_HAVE_WEAK_SYMBOLS
-- Performing Test FOLLY_HAVE_WEAK_SYMBOLS - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/i-renyuntao/build
Scanning dependencies of target folly4wdt
[  2%] Building CXX object CMakeFiles/folly4wdt.dir/folly/folly/Conv.cpp.o
[  5%] Building CXX object CMakeFiles/folly4wdt.dir/folly/folly/Demangle.cpp.o
[  7%] Building CXX object CMakeFiles/folly4wdt.dir/folly/folly/Checksum.cpp.o
[ 10%] Building CXX object CMakeFiles/folly4wdt.dir/folly/folly/ScopeGuard.cpp.o
[ 12%] Linking CXX shared library libfolly4wdt.so
[ 12%] Built target folly4wdt
Scanning dependencies of target wdt_min
[ 15%] Building CXX object CMakeFiles/wdt_min.dir/util/WdtSocket.cpp.o
[ 17%] Building CXX object CMakeFiles/wdt_min.dir/util/ClientSocket.cpp.o
[ 20%] Building CXX object CMakeFiles/wdt_min.dir/util/EncryptionUtils.cpp.o
[ 23%] Building CXX object CMakeFiles/wdt_min.dir/util/DirectorySourceQueue.cpp.o
[ 25%] Building CXX object CMakeFiles/wdt_min.dir/ErrorCodes.cpp.o
[ 28%] Building CXX object CMakeFiles/wdt_min.dir/util/FileByteSource.cpp.o
[ 30%] Building CXX object CMakeFiles/wdt_min.dir/util/FileCreator.cpp.o
[ 33%] Building CXX object CMakeFiles/wdt_min.dir/Protocol.cpp.o
[ 35%] Building CXX object CMakeFiles/wdt_min.dir/WdtThread.cpp.o
[ 38%] Building CXX object CMakeFiles/wdt_min.dir/util/ThreadsController.cpp.o
[ 41%] Building CXX object CMakeFiles/wdt_min.dir/ReceiverThread.cpp.o
[ 43%] Building CXX object CMakeFiles/wdt_min.dir/Receiver.cpp.o
[ 46%] Building CXX object CMakeFiles/wdt_min.dir/WdtTransferRequest.cpp.o
[ 48%] Building CXX object CMakeFiles/wdt_min.dir/Reporting.cpp.o
[ 51%] Building CXX object CMakeFiles/wdt_min.dir/util/ThreadTransferHistory.cpp.o
[ 53%] Building CXX object CMakeFiles/wdt_min.dir/SenderThread.cpp.o
In file included from /home/i-renyuntao/build/wdt/SenderThread.cpp:9:0:
/home/i-renyuntao/build/wdt/SenderThread.h: In constructor ‘facebook::wdt::SenderThread::SenderThread(facebook::wdt::Sender*, int, int32_t, facebook::wdt::ThreadsController*
)’:
/home/i-renyuntao/build/wdt/SenderThread.h:86:24: error: ‘to’ is not a member of ‘folly’
     threadStats_.setId(folly::to<std::string>(threadIndex_));
                        ^
/home/i-renyuntao/build/wdt/SenderThread.h:86:45: error: expected primary-expression before ‘>’ token
     threadStats_.setId(folly::to<std::string>(threadIndex_));
                                             ^
CMakeFiles/wdt_min.dir/build.make:422: recipe for target 'CMakeFiles/wdt_min.dir/SenderThread.cpp.o' failed
make[2]: *** [CMakeFiles/wdt_min.dir/SenderThread.cpp.o] Error 1
CMakeFiles/Makefile2:105: recipe for target 'CMakeFiles/wdt_min.dir/all' failed
make[1]: *** [CMakeFiles/wdt_min.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment