Skip to content

[thrift] Build is failing on 0.22.0 #48096

@avaliente-evs

Description

@avaliente-evs

Operating system

Linux RHEL 9.6

Compiler

gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)

Steps to reproduce the behavior

Create a vcpkg project that depends on thrift only,
Have a CMakeLists.txt with:

project(thrift_issue)
find_package(Thrift CONFIG REQUIRED)
find_program(THRIFT_EXECUTABLE thrift)

Failure logs

CMake Error at vcpkg_installed/evs-blue-x64-linux-dynamic/share/thrift/ThriftConfig.cmake:32 (message):
File or directory
/home/dev/thrift_issue/vcpkg_installed/evs-blue-x64-linux-dynamic/bin/../tools/thrift
referenced by variable THRIFT_BIN_DIR does not exist !
Call Stack (most recent call first):
vcpkg_installed/evs-blue-x64-linux-dynamic/share/thrift/ThriftConfig.cmake:53 (set_and_check)
/home/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:898 (_find_package)
CMakeLists.txt:7 (find_package)

Additional context

This is coming from here: 6006cc4#diff-14cf34fa8e1d648d6b4036d240586ce8e86f7a4c33fc7645a2b62a1cd45eafecR12
Actually in my case, there is no bin folder, so one cannot use bin/../tools

Metadata

Metadata

Assignees

No one assigned

    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