microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.27k stars 6.42k forks source link

[vcpkg-tool] Post-build check output in stdout log is incomplete #31198

Closed dg0yt closed 1 year ago

dg0yt commented 1 year ago

Describe the bug The stdout log file lacks some line of outputs for post-build checks.

E.g. x86-windows starlink-ast failure logs in https://dev.azure.com/vcpkg/public/_build/results?buildId=88945

-- Performing post-build validation
warning: Mismatching number of debug and release binaries.
Found 11 debug binaries:
Found 12 release binaries:
error: Found 1 post-build check problem(s). To submit these ports to curated catalogs, please first correct the portfile: C:\a\1\s\ports\starlink-ast\portfile.cmake

Expected behavior

From console, https://dev.azure.com/vcpkg/public/_build/results?buildId=88945&view=logs&j=878666d5-db33-5b27-9e7d-b0c7ee352005&t=dc897974-8f7e-5107-e5db-0a01be8e9d4f

-- Performing post-build validation
warning: Mismatching number of debug and release binaries.
Found 11 debug binaries:

    D:\packages\starlink-ast_x86-windows\debug\lib\libast.lib
    D:\packages\starlink-ast_x86-windows\debug\lib\libast_drama.lib
    D:\packages\starlink-ast_x86-windows\debug\lib\libast_ems.lib
    D:\packages\starlink-ast_x86-windows\debug\lib\libast_err.lib
    D:\packages\starlink-ast_x86-windows\debug\lib\libast_grf3d.lib
    D:\packages\starlink-ast_x86-windows\debug\lib\libast_grf_2.0.lib
    D:\packages\starlink-ast_x86-windows\debug\lib\libast_grf_3.2.lib
    D:\packages\starlink-ast_x86-windows\debug\lib\libast_grf_5.6.lib
    D:\packages\starlink-ast_x86-windows\debug\lib\libast_pal.lib
    D:\packages\starlink-ast_x86-windows\debug\lib\libast_pgplot.lib
    D:\packages\starlink-ast_x86-windows\debug\lib\libast_pgplot3d.lib

Found 12 release binaries:

    D:\packages\starlink-ast_x86-windows\lib\libast.lib
    D:\packages\starlink-ast_x86-windows\lib\libast_drama.lib
    D:\packages\starlink-ast_x86-windows\lib\libast_ems.lib
    D:\packages\starlink-ast_x86-windows\lib\libast_err.lib
    D:\packages\starlink-ast_x86-windows\lib\libast_grf3d.lib
    D:\packages\starlink-ast_x86-windows\lib\libast_grf_2.0.lib
    D:\packages\starlink-ast_x86-windows\lib\libast_grf_3.2.lib
    D:\packages\starlink-ast_x86-windows\lib\libast_grf_5.6.lib
    D:\packages\starlink-ast_x86-windows\lib\libast_pal.lib
    D:\packages\starlink-ast_x86-windows\lib\libast_pass2.lib
    D:\packages\starlink-ast_x86-windows\lib\libast_pgplot.lib
    D:\packages\starlink-ast_x86-windows\lib\libast_pgplot3d.lib

error: Found 1 post-build check problem(s). To submit these ports to curated catalogs, please first correct the portfile: C:\a\1\s\ports\starlink-ast\portfile.cmake
error: building starlink-ast:x86-windows failed with: POST_BUILD_CHECKS_FAILED
Elapsed time to handle starlink-ast:x86-windows: 2.1 min

Extra wish list

I would like to see the port version, feature set and elapsed time also in the saved log...

dg0yt commented 1 year ago

Not fixed yet, https://github.com/microsoft/vcpkg/labels/requires%3Avcpkg-tool-release

BillyONeal commented 1 year ago

Not fixed yet, requires:vcpkg-tool-release An issue that has been fixed in the microsoft/vcpkg-tool repo and is waiting for a release thereof

Curse automatic closing when merged :/

autoantwort commented 1 year ago

I think this can be closed now

LilyWangLL commented 1 year ago

Since vcpkg-tool has been updated to 2023-06-08, we can close this issue.