-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[gloo] build failure #36833
Comments
It worked when I installed using gcc-11. When I installed using gcc-12, I got a different error than yours:
|
Fixes #36833 ``` /mnt/vcpkg/buildtrees/gloo/src/4842d821e2-089f9c85b8.clean/gloo/transport/tcp/device.cc:151:39: error: aggregate ‘std::array<char, 64> hostname’ has incomplete type and cannot be defined 151 | std::array<char, HOST_NAME_MAX> hostname; | ^~~~~~~~ ``` - [X] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [ ] ~~SHA512s are updated for each updated download.~~ - [ ] ~~The "supports" clause reflects platforms that may be fixed by this new version.~~ - [ ] ~~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~~ - [ ] ~~Any patches that are no longer applied are deleted from the port's directory.~~ - [X] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [X] Only one version is added to each modified port's versions file. Usage test pass with following triplets: ``` x64-linux ```
Unfortunately, it still doesn't work properly now. This is the new log file I generated when I used vcpkg to compile gloo: |
We cannot repro your issue, but we have found a similar fix upstream. Could you please try to see if it solves your current problem: facebookincubator/gloo#352. |
I cannot reproduce your problem locally. Is the system you are using Ubuntu, Redhat or centos? |
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment. |
Operating system
Linux
Compiler
gcc-12 cuda-12
Steps to reproduce the behavior
`vcpkg install gloo`
Failure logs
Computing installation plan...
The following packages will be built and installed:
gloo:x64-linux@20201203#2
Installing 1/1 gloo:x64-linux@20201203#2...
Building gloo:x64-linux@20201203#2...
-- Using cached facebookincubator-gloo-1da21174054eaabbbd189b7f657ea24842d821e2.tar.gz.
-- Extracting source /home/user/Environments/vcpkg/downloads/facebookincubator-gloo-1da21174054eaabbbd189b7f657ea24842d821e2.tar.gz
-- Using source at /home/user/Environments/vcpkg/buildtrees/gloo/src/4842d821e2-089f9c85b8
-- Configuring x64-linux
-- Building x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: /home/user/Environments/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake --build . --config Debug --target install -- -v -j13
Working Directory: /home/user/Environments/vcpkg/buildtrees/gloo/x64-linux-dbg
See logs for more information:
/home/user/Environments/vcpkg/buildtrees/gloo/install-x64-linux-dbg-out.log
Call Stack (most recent call first):
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/gloo/portfile.cmake:25 (vcpkg_cmake_install)
scripts/ports.cmake:170 (include)
Additional context
install-x64-linux-dbg-out.log
I have tried the solution provided by this link but not work , here is other link might help (but I didn't find the obvious way to solve it) :
https://www.mail-archive.com/[email protected]/msg1875386.html
@facebookincubator/gloo#345
@facebookincubator/gloo#346
@facebookincubator/gloo@1090929
The text was updated successfully, but these errors were encountered: