-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build brpc failed #23907
Comments
Complete Log Info zreal@Zreal-PC:~/research/vcpkg$ ./vcpkg install brpc
Computing installation plan...
The following packages will be built and installed:
* boost-algorithm[core]:x64-linux -> 1.78.0
* boost-align[core]:x64-linux -> 1.78.0
* boost-array[core]:x64-linux -> 1.78.0
* boost-assert[core]:x64-linux -> 1.78.0
* boost-atomic[core]:x64-linux -> 1.78.0
* boost-bind[core]:x64-linux -> 1.78.0
* boost-build[core]:x64-linux -> 1.78.0#1
* boost-chrono[core]:x64-linux -> 1.78.0
* boost-concept-check[core]:x64-linux -> 1.78.0
* boost-config[core]:x64-linux -> 1.78.0
* boost-container[core]:x64-linux -> 1.78.0
* boost-container-hash[core]:x64-linux -> 1.78.0
* boost-conversion[core]:x64-linux -> 1.78.0
* boost-core[core]:x64-linux -> 1.78.0
* boost-date-time[core]:x64-linux -> 1.78.0
* boost-detail[core]:x64-linux -> 1.78.0
* boost-exception[core]:x64-linux -> 1.78.0
* boost-function[core]:x64-linux -> 1.78.0
* boost-function-types[core]:x64-linux -> 1.78.0
* boost-fusion[core]:x64-linux -> 1.78.0
* boost-integer[core]:x64-linux -> 1.78.0
* boost-intrusive[core]:x64-linux -> 1.78.0
* boost-io[core]:x64-linux -> 1.78.0
* boost-iterator[core]:x64-linux -> 1.78.0
* boost-lexical-cast[core]:x64-linux -> 1.78.0
* boost-locale[core]:x64-linux -> 1.78.0
* boost-modular-build-helper[core]:x64-linux -> 1.78.0#3
* boost-move[core]:x64-linux -> 1.78.0
* boost-mp11[core]:x64-linux -> 1.78.0
* boost-mpl[core]:x64-linux -> 1.78.0
* boost-numeric-conversion[core]:x64-linux -> 1.78.0
* boost-optional[core]:x64-linux -> 1.78.0
* boost-predef[core]:x64-linux -> 1.78.0
* boost-preprocessor[core]:x64-linux -> 1.78.0
* boost-range[core]:x64-linux -> 1.78.0
* boost-ratio[core]:x64-linux -> 1.78.0
* boost-rational[core]:x64-linux -> 1.78.0
* boost-regex[core]:x64-linux -> 1.78.0
* boost-scope-exit[core]:x64-linux -> 1.78.0
* boost-smart-ptr[core]:x64-linux -> 1.78.0
* boost-static-assert[core]:x64-linux -> 1.78.0
* boost-system[core]:x64-linux -> 1.78.0
* boost-thread[core]:x64-linux -> 1.78.0
* boost-throw-exception[core]:x64-linux -> 1.78.0
* boost-tokenizer[core]:x64-linux -> 1.78.0
* boost-tuple[core]:x64-linux -> 1.78.0
* boost-type-index[core]:x64-linux -> 1.78.0
* boost-type-traits[core]:x64-linux -> 1.78.0
* boost-typeof[core]:x64-linux -> 1.78.0
* boost-uninstall[core]:x64-linux -> 1.78.0
* boost-unordered[core]:x64-linux -> 1.78.0
* boost-utility[core]:x64-linux -> 1.78.0
* boost-variant2[core]:x64-linux -> 1.78.0
* boost-vcpkg-helpers[core]:x64-linux -> 1.78.0#1
* boost-winapi[core]:x64-linux -> 1.78.0
brpc[core]:x64-linux -> 0.9.7#7
* gflags[core]:x64-linux -> 2.2.2#5
* glog[core]:x64-linux -> 0.4.0#4
* leveldb[core]:x64-linux -> 1.22#5
* libevent[core,thread]:x64-linux -> 2.1.12#6
* libiconv[core]:x64-linux -> 1.16#12
* openssl[core]:x64-linux -> 1.1.1n#1
* protobuf[core,zlib]:x64-linux -> 3.19.4
* thrift[core]:x64-linux -> 0.13.0#2
* vcpkg-cmake[core]:x64-linux -> 2022-02-14
* vcpkg-cmake-config[core]:x64-linux -> 2022-02-06
* zlib[core]:x64-linux -> 1.2.12
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-linux...
Restored 66 packages from /home/zreal/.cache/vcpkg/archives in 4.016 s. Use --debug to see more details.
Starting package 1/67: boost-uninstall:x64-linux
Installing package boost-uninstall[core]:x64-linux...
Elapsed time for package boost-uninstall:x64-linux: 34.47 ms
Starting package 2/67: boost-vcpkg-helpers:x64-linux
Installing package boost-vcpkg-helpers[core]:x64-linux...
Elapsed time for package boost-vcpkg-helpers:x64-linux: 3.457 ms
Starting package 3/67: boost-config:x64-linux
Installing package boost-config[core]:x64-linux...
Elapsed time for package boost-config:x64-linux: 468.7 ms
Starting package 4/67: boost-assert:x64-linux
Installing package boost-assert[core]:x64-linux...
Elapsed time for package boost-assert:x64-linux: 14.9 ms
Starting package 5/67: boost-static-assert:x64-linux
Installing package boost-static-assert[core]:x64-linux...
Elapsed time for package boost-static-assert:x64-linux: 5.807 ms
Starting package 6/67: boost-throw-exception:x64-linux
Installing package boost-throw-exception[core]:x64-linux...
Elapsed time for package boost-throw-exception:x64-linux: 55.03 ms
Starting package 7/67: boost-core:x64-linux
Installing package boost-core[core]:x64-linux...
Elapsed time for package boost-core:x64-linux: 86.1 ms
Starting package 8/67: boost-array:x64-linux
Installing package boost-array[core]:x64-linux...
Elapsed time for package boost-array:x64-linux: 33.9 ms
Starting package 9/67: boost-bind:x64-linux
Installing package boost-bind[core]:x64-linux...
Elapsed time for package boost-bind:x64-linux: 291.5 ms
Starting package 10/67: boost-preprocessor:x64-linux
Installing package boost-preprocessor[core]:x64-linux...
Elapsed time for package boost-preprocessor:x64-linux: 2.433 s
Starting package 11/67: boost-type-traits:x64-linux
Installing package boost-type-traits[core]:x64-linux...
Elapsed time for package boost-type-traits:x64-linux: 1.479 s
Starting package 12/67: boost-concept-check:x64-linux
Installing package boost-concept-check[core]:x64-linux...
Elapsed time for package boost-concept-check:x64-linux: 100.5 ms
Starting package 13/67: boost-build:x64-linux
Installing package boost-build[core]:x64-linux...
Elapsed time for package boost-build:x64-linux: 1.26 s
Starting package 14/67: vcpkg-cmake:x64-linux
Installing package vcpkg-cmake[core]:x64-linux...
Elapsed time for package vcpkg-cmake:x64-linux: 1.554 ms
Starting package 15/67: boost-modular-build-helper:x64-linux
Installing package boost-modular-build-helper[core]:x64-linux...
Elapsed time for package boost-modular-build-helper:x64-linux: 1.526 ms
Starting package 16/67: boost-predef:x64-linux
Installing package boost-predef[core]:x64-linux...
Elapsed time for package boost-predef:x64-linux: 8.357 ms
Starting package 17/67: boost-winapi:x64-linux
Installing package boost-winapi[core]:x64-linux...
Elapsed time for package boost-winapi:x64-linux: 9.486 ms
Starting package 18/67: boost-move:x64-linux
Installing package boost-move[core]:x64-linux...
Elapsed time for package boost-move:x64-linux: 3.777 ms
Starting package 19/67: boost-smart-ptr:x64-linux
Installing package boost-smart-ptr[core]:x64-linux...
Elapsed time for package boost-smart-ptr:x64-linux: 7.457 ms
Starting package 20/67: boost-tuple:x64-linux
Installing package boost-tuple[core]:x64-linux...
Elapsed time for package boost-tuple:x64-linux: 3.164 ms
Starting package 21/67: boost-exception:x64-linux
Installing package boost-exception[core]:x64-linux...
Elapsed time for package boost-exception:x64-linux: 8.353 ms
Starting package 22/67: boost-integer:x64-linux
Installing package boost-integer[core]:x64-linux...
Elapsed time for package boost-integer:x64-linux: 4.029 ms
Starting package 23/67: boost-detail:x64-linux
Installing package boost-detail[core]:x64-linux...
Elapsed time for package boost-detail:x64-linux: 7.12 ms
Starting package 24/67: boost-container-hash:x64-linux
Installing package boost-container-hash[core]:x64-linux...
Elapsed time for package boost-container-hash:x64-linux: 3.858 ms
Starting package 25/67: boost-type-index:x64-linux
Installing package boost-type-index[core]:x64-linux...
Elapsed time for package boost-type-index:x64-linux: 4.239 ms
Starting package 26/67: boost-typeof:x64-linux
Installing package boost-typeof[core]:x64-linux...
Elapsed time for package boost-typeof:x64-linux: 66 ms
Starting package 27/67: boost-function:x64-linux
Installing package boost-function[core]:x64-linux...
Elapsed time for package boost-function:x64-linux: 89.06 ms
Starting package 28/67: boost-conversion:x64-linux
Installing package boost-conversion[core]:x64-linux...
Elapsed time for package boost-conversion:x64-linux: 7.455 ms
Starting package 29/67: boost-io:x64-linux
Installing package boost-io[core]:x64-linux...
Elapsed time for package boost-io:x64-linux: 8.88 ms
Starting package 30/67: boost-utility:x64-linux
Installing package boost-utility[core]:x64-linux...
Elapsed time for package boost-utility:x64-linux: 16.02 ms
Starting package 31/67: boost-mpl:x64-linux
Installing package boost-mpl[core]:x64-linux...
Elapsed time for package boost-mpl:x64-linux: 189.8 ms
Starting package 32/67: boost-function-types:x64-linux
Installing package boost-function-types[core]:x64-linux...
Elapsed time for package boost-function-types:x64-linux: 6.25 ms
Starting package 33/67: boost-fusion:x64-linux
Installing package boost-fusion[core]:x64-linux...
Elapsed time for package boost-fusion:x64-linux: 527.3 ms
Starting package 34/67: boost-optional:x64-linux
Installing package boost-optional[core]:x64-linux...
Elapsed time for package boost-optional:x64-linux: 20.4 ms
Starting package 35/67: boost-iterator:x64-linux
Installing package boost-iterator[core]:x64-linux...
Elapsed time for package boost-iterator:x64-linux: 30.21 ms
Starting package 36/67: boost-regex:x64-linux
Installing package boost-regex[core]:x64-linux...
Elapsed time for package boost-regex:x64-linux: 214.5 ms
Starting package 37/67: boost-range:x64-linux
Installing package boost-range[core]:x64-linux...
Elapsed time for package boost-range:x64-linux: 104.4 ms
Starting package 38/67: boost-intrusive:x64-linux
Installing package boost-intrusive[core]:x64-linux...
Elapsed time for package boost-intrusive:x64-linux: 80.16 ms
Starting package 39/67: boost-container:x64-linux
Installing package boost-container[core]:x64-linux...
Elapsed time for package boost-container:x64-linux: 189.6 ms
Starting package 40/67: boost-unordered:x64-linux
Installing package boost-unordered[core]:x64-linux...
Elapsed time for package boost-unordered:x64-linux: 22.4 ms
Starting package 41/67: boost-algorithm:x64-linux
Installing package boost-algorithm[core]:x64-linux...
Elapsed time for package boost-algorithm:x64-linux: 36.1 ms
Starting package 42/67: boost-align:x64-linux
Installing package boost-align[core]:x64-linux...
Elapsed time for package boost-align:x64-linux: 26.8 ms
Starting package 43/67: boost-atomic:x64-linux
Installing package boost-atomic[core]:x64-linux...
Elapsed time for package boost-atomic:x64-linux: 97.82 ms
Starting package 44/67: boost-rational:x64-linux
Installing package boost-rational[core]:x64-linux...
Elapsed time for package boost-rational:x64-linux: 12.92 ms
Starting package 45/67: boost-ratio:x64-linux
Installing package boost-ratio[core]:x64-linux...
Elapsed time for package boost-ratio:x64-linux: 19.44 ms
Starting package 46/67: boost-mp11:x64-linux
Installing package boost-mp11[core]:x64-linux...
Elapsed time for package boost-mp11:x64-linux: 7.057 ms
Starting package 47/67: boost-variant2:x64-linux
Installing package boost-variant2[core]:x64-linux...
Elapsed time for package boost-variant2:x64-linux: 3.324 ms
Starting package 48/67: boost-system:x64-linux
Installing package boost-system[core]:x64-linux...
Elapsed time for package boost-system:x64-linux: 38.08 ms
Starting package 49/67: boost-chrono:x64-linux
Installing package boost-chrono[core]:x64-linux...
Elapsed time for package boost-chrono:x64-linux: 44.85 ms
Starting package 50/67: boost-numeric-conversion:x64-linux
Installing package boost-numeric-conversion[core]:x64-linux...
Elapsed time for package boost-numeric-conversion:x64-linux: 33.8 ms
Starting package 51/67: boost-lexical-cast:x64-linux
Installing package boost-lexical-cast[core]:x64-linux...
Elapsed time for package boost-lexical-cast:x64-linux: 93.43 ms
Starting package 52/67: boost-tokenizer:x64-linux
Installing package boost-tokenizer[core]:x64-linux...
Elapsed time for package boost-tokenizer:x64-linux: 14.1 ms
Starting package 53/67: boost-date-time:x64-linux
Installing package boost-date-time[core]:x64-linux...
Elapsed time for package boost-date-time:x64-linux: 54.2 ms
Starting package 54/67: boost-thread:x64-linux
Installing package boost-thread[core]:x64-linux...
Elapsed time for package boost-thread:x64-linux: 104.6 ms
Starting package 55/67: libiconv:x64-linux
Installing package libiconv[core]:x64-linux...
Elapsed time for package libiconv:x64-linux: 11.89 ms
Starting package 56/67: boost-locale:x64-linux
Installing package boost-locale[core]:x64-linux...
Elapsed time for package boost-locale:x64-linux: 318.8 ms
Starting package 57/67: boost-scope-exit:x64-linux
Installing package boost-scope-exit[core]:x64-linux...
Elapsed time for package boost-scope-exit:x64-linux: 37.79 ms
Starting package 58/67: gflags:x64-linux
Installing package gflags[core]:x64-linux...
Elapsed time for package gflags:x64-linux: 35.17 ms
Starting package 59/67: glog:x64-linux
Installing package glog[core]:x64-linux...
Elapsed time for package glog:x64-linux: 44.43 ms
Starting package 60/67: vcpkg-cmake-config:x64-linux
Installing package vcpkg-cmake-config[core]:x64-linux...
Elapsed time for package vcpkg-cmake-config:x64-linux: 6.24 ms
Starting package 61/67: leveldb:x64-linux
Installing package leveldb[core]:x64-linux...
Elapsed time for package leveldb:x64-linux: 116.5 ms
Starting package 62/67: openssl:x64-linux
Installing package openssl[core]:x64-linux...
Elapsed time for package openssl:x64-linux: 430.3 ms
Starting package 63/67: zlib:x64-linux
Installing package zlib[core]:x64-linux...
Elapsed time for package zlib:x64-linux: 80.77 ms
Starting package 64/67: protobuf:x64-linux
Installing package protobuf[core,zlib]:x64-linux...
Elapsed time for package protobuf:x64-linux: 1.928 s
Starting package 65/67: libevent:x64-linux
Installing package libevent[core,thread]:x64-linux...
Elapsed time for package libevent:x64-linux: 96.92 ms
Starting package 66/67: thrift:x64-linux
Installing package thrift[core]:x64-linux...
Elapsed time for package thrift:x64-linux: 202.7 ms
Starting package 67/67: brpc:x64-linux
Building package brpc[core]:x64-linux...
-- Downloading https://patch-diff.githubusercontent.com/raw/apache/incubator-brpc/pull/1679.diff -> apache-incubator-brpc-1679.diff...
-- Downloading https://github.com/apache/incubator-brpc/archive/1d6510aa50075cade5ed539ee09a11a1b8d7f990.tar.gz -> apache-incubator-brpc-1d6510aa50075cade5ed539ee09a11a1b8d7f990.tar.gz...
-- Extracting source /home/zreal/research/vcpkg/downloads/apache-incubator-brpc-1d6510aa50075cade5ed539ee09a11a1b8d7f990.tar.gz
-- Applying patch fix_boost_ptr.patch
-- Applying patch fix_thrift.patch
-- Applying patch /home/zreal/research/vcpkg/downloads/apache-incubator-brpc-1679.diff
-- Using source at /home/zreal/research/vcpkg/buildtrees/brpc/src/a1b8d7f990-fc2e8574c2.clean
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:158 (message):
Command failed: /usr/local/bin/cmake --build . --config Debug --target install -- -v -j9
Working Directory: /home/zreal/research/vcpkg/buildtrees/brpc/x64-linux-dbg
See logs for more information:
/home/zreal/research/vcpkg/buildtrees/brpc/install-x64-linux-dbg-out.log
Call Stack (most recent call first):
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:111 (vcpkg_execute_build_process)
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
ports/brpc/portfile.cmake:27 (vcpkg_cmake_install)
scripts/ports.cmake:145 (include)
Error: Building package brpc:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `git pull` and `./vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+brpc
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[brpc]+Build+error
including:
package: brpc[core]:x64-linux -> 0.9.7#7
vcpkg-tool version: 2022-03-25-d9702d9d89b9468c32efc3f18fb84c3021d7dbae
vcpkg-scripts version: 9d9a6f486 2022-03-30 (15 hours ago)
Additionally, attach any relevant sections from the log files above.
|
The source issue: apache/brpc#1693 |
In this issue apache/incubator-brpc/issues/1693, the solution is to change the env setting. It seems not a good idea |
But this issue is a source issue, it need to upstream to fix this. If the upstream solution has been merged to source, I will submit a PR to sync on VCPKG. |
Describe the bug
Build brpc failed
Environment
To Reproduce
Steps to reproduce the behavior:
Repro code when
Expected behavior
A clear and concise description of what you expected to happen.
Failure logs
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: