Skip to content

Extra slash in usage path of openssl[core]:x86-windows #15061

@ivanovmp

Description

@ivanovmp

Describe the bug
Extra slash in a path.

Environment

  • OS: Windows 10 Home Single Language (Russian) x64
  • Compiler: Microsoft (R) C/C++ Optimizing Compiler Version 19.27.29110

To Reproduce
Steps to reproduce the behavior:

  1. ./vcpkg install openssl[core]:x86-windows
  2. Look at the line: -- Installing: C:/misc/vcpkg/packages/openssl_x86-windows/share/openssl//usage

Expected behavior
I expect only one slash:
-- Installing: C:/misc/vcpkg/packages/openssl_x86-windows/share/openssl/usage
instead of
-- Installing: C:/misc/vcpkg/packages/openssl_x86-windows/share/openssl//usage

Failure logs

Starting package 25/42: openssl:x86-windows
Building package openssl[core]:x86-windows...
Could not locate cached archive: C:\Users\Миша\AppData\Local\vcpkg\archives\5d\5d4f3c439dbba44ba2bcd17154604b495d378225.zip
-- Using cached C:/misc/vcpkg/downloads/openssl-1.1.1h.tar.gz
-- Cleaning sources at C:/misc/vcpkg/buildtrees/openssl/src/openssl-1-09fb822c56.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/misc/vcpkg/downloads/openssl-1.1.1h.tar.gz
-- Using source at C:/misc/vcpkg/buildtrees/openssl/src/openssl-1-09fb822c56.clean
-- Copying openssl release source files...
-- Copying openssl release source files... done
-- Configure x86-windows-rel
-- Configure x86-windows-rel done
-- Build x86-windows-rel
-- Build x86-windows-rel done
-- Copying openssl debug source files...
-- Copying openssl debug source files... done
-- Configure x86-windows-dbg
-- Configure x86-windows-dbg done
-- Build x86-windows-dbg
-- Build x86-windows-dbg done
-- Installing: C:/misc/vcpkg/packages/openssl_x86-windows/share/openssl/copyright
-- Installing: C:/misc/vcpkg/packages/openssl_x86-windows/share/openssl//usage
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\Миша\AppData\Local\vcpkg\archives\5d\5d4f3c439dbba44ba2bcd17154604b495d378225.zip
Building package openssl[core]:x86-windows... done
Installing package openssl[core]:x86-windows...
Installing package openssl[core]:x86-windows... done

Additional context
Not a terrible bug, the file just installs in vcpkg/packages/openssl_x86-windows/share/openssl on Windows, but it may be visible on other platforms.

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions