Skip to content
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

Dependency scripts may have issues after merge of ZeroC Ice port to vcpkg #5624

Closed
ghost opened this issue Apr 13, 2022 · 3 comments · Fixed by #5625
Closed

Dependency scripts may have issues after merge of ZeroC Ice port to vcpkg #5624

ghost opened this issue Apr 13, 2022 · 3 comments · Fixed by #5625
Labels
bug A bug (error) in the software build Everything related to compiling/building the code

Comments

@ghost
Copy link

ghost commented Apr 13, 2022

Description

A ZeroC Ice port was recently merged to vcpkg:

microsoft/vcpkg#23764

By default, it builds with C++11 support and does not appear to have a feature/option to build using the C++98 project types. Our script for Windows checks for the presence of the folder zeroc-ice and if it does not exist it copies our custom port files to a new directory with that name. We need to move the vcpkg port folder in vcpkg/ports to something like vcpkg/ports/zeroc-ice_msbuild so we can add our custom port.

Steps to reproduce

  1. Run the script in mumble/scripts/vcpkg to install vcpkg and dependency packages.
  2. zeroc-ice package installs and produces a C++11 ice library which our project does not support.

Mumble version

No response

Mumble component

Server

OS

Windows

Reproducible?

Yes

Additional information

Will most likely affect macOS and Linux, possibly CI

Relevant log output

No response

Screenshots

No response

@ghost ghost added bug A bug (error) in the software triage This issue is waiting to be triaged by one of the project members labels Apr 13, 2022
@ghost
Copy link
Author

ghost commented Apr 13, 2022

The pertinent script sections are here:

if (-not (Test-Path $vcpkgdir/ports/zeroc-ice)) {
Write-Host "Adding ports for ZeroC Ice..."
Copy-Item -Path $PSScriptRoot/../../helpers/vcpkg/ports/zeroc-ice -Destination $vcpkgdir/ports -Recurse
}

# copy ZeroC Ice port files
cp -R helpers/vcpkg/ports/zeroc-ice $VCPKGDIR/ports

My recommendation would be to change the name of the directory to helpers/vcpkg/ports/zeroc-ice-mumble and update the scripts accordingly.

@Krzmbrzl Krzmbrzl added build Everything related to compiling/building the code and removed triage This issue is waiting to be triaged by one of the project members labels Apr 14, 2022
@Krzmbrzl
Copy link
Member

My recommendation would be to change the name of the directory to helpers/vcpkg/ports/zeroc-ice_mumble and update the scripts accordingly.

Sounds good to me 👍

@ghost
Copy link
Author

ghost commented Apr 14, 2022

The port name can't have underscores. I'm looking at revising the script and directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug (error) in the software build Everything related to compiling/building the code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant