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

[cryptopp] build failure #28319

Closed
smartnet-club opened this issue Dec 13, 2022 · 1 comment · Fixed by #28338
Closed

[cryptopp] build failure #28319

smartnet-club opened this issue Dec 13, 2022 · 1 comment · Fixed by #28338
Assignees
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. category:port-bug The issue is with a library, which is something the port should already support

Comments

@smartnet-club
Copy link

smartnet-club commented Dec 13, 2022

Host Environment

  • OS: Ubuntu 22.04
  • Compiler: GCC 11

Failure logs

#22 65.03 -- Using source at /cache/vcpkg-src/buildtrees/cryptopp/src/6df92864a6-b4419a9589.clean
#22 65.08 -- Configuring x64-linux-dynamic-release
#22 72.58 -- Building x64-linux-dynamic-release-rel
#22 91.21 CMake Error at buildtrees/versioning_/versions/cryptopp/7e3fcbde366bc4af8cc2082053b671352963410d/portfile.cmake:75 (file):
#22 91.21 file RENAME failed to rename
#22 91.21
#22 91.21 /cache/vcpkg-src/packages/cryptopp_x64-linux-dynamic-release/debug/share/pkgconfig/cryptopp.pc
#22 91.21
#22 91.21 to
#22 91.21
#22 91.21 /cache/vcpkg-src/packages/cryptopp_x64-linux-dynamic-release/lib/pkgconfig/cryptopp.pc
#22 91.21
#22 91.21 because: No such file or directory
#22 91.21
#22 91.21 Call Stack (most recent call first):
#22 91.21 scripts/ports.cmake:147 (include)
#22 91.21
#22 91.21
#22 91.21 error: building cryptopp:x64-linux-dynamic-release failed with: BUILD_FAILED

Additional context

the problem in
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share/pkgconfig/cryptopp.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/cryptopp.pc")

There is no debug folder in case of release only build

@smartnet-club smartnet-club added the category:port-bug The issue is with a library, which is something the port should already support label Dec 13, 2022
@MonicaLiu0311
Copy link
Contributor

Confirmed, reproduced locally.

@MonicaLiu0311 MonicaLiu0311 added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants