-
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
zlib build failure #18606
Comments
@johnmichaloski ,Thanks for posting this issue.
It seems that your error is related to MSYS2-packages. According to the official comments, it may be related to the old version. You can try to update the version. |
Ok thanks. I played around but couldn't get it to work - there was no windows compatible pacman-key and I'm really a newbie to a lot of this stuff. Wasn't looking promising. Plus vcpkg,msys2, and pacman are embedded deeply in the MS deployment of ROS and since there is no pacman-key, so I will ask the MS ROS for windows git issues for help. |
Okay, I will continue to track and investigate the solution |
@johnmichaloski ,You can update vcpkg and try again. If it doesn’t work, you can try to clone vcpkg again, which may solve your problem. |
@johnmichaloski ,Is this still a problem for you? |
So, reinstalling vcpkg did install libxml2. Steps to Install libxml2Problem: ROS1 used old open source packages in the bundled vcpkg. So had to download and clone vcpkg that had the latest packagers for zlib (David Macek with signing key 0x9078f532) required by libxml2, which is the package used in a ROS1 workspace. Step 1: Clone the vcpkg repo (From vcpkg windows install instructions)
Make sure you are in the directory you want the tool installed to before doing this. Step 2: Run the bootstrap script to build vcpkg.\vcpkg\bootstrap-vcpkg.bat Step 3: Setup use of VC 2019 communityPreviously had downloaded VC 2019 community to be used aa command line build tool for ROS1. Note: had bundled ROS1 and VC 2019 in PATH environment variable. So created separate command terminal: and then Step 4: Install libxml2
Packages installed in C:\opt\vcpkg\installed\x86-windows Have not tested. |
Host Environment
To Reproduce
Steps to reproduce the behavior:
vcpkg install zlib
Failure logs
Error: Building package zlib:x64-windows failed with: BUILD_FAILED
c:\opt\ros\noetic\ariac_ws>
more C:\opt\ros\noetic\x64\tools\vcpkg\buildtrees\zlib\msys-pacman-x64-windows-err.log
error: pkg-config: signature from "David Macek <[email protected]>" is unknown trust error: failed to commit transaction (invalid or corrupted package (PGP signature))
Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.
Was trying to install libxml2 and it requires zlib, and it stops on this error. Using vcpkg from ROS1 noetic on Windows found in C:\opt\ros\noetic\x64\tools\vcpkg\ports.
TIA.
The text was updated successfully, but these errors were encountered: