Skip to content

[C++] Meson Configuration Broken on Windows #46684

@WillAyd

Description

@WillAyd

Describe the bug, including details regarding any error messages, version, and platform.

Found through the WrapDB CI - looks like there is a typo in the arrow/util/meson.build config where the code reads as:

if host_machine.system() == 'windows'
    # This manifest enables long file paths on Windows 10+
    # See https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#enable-long-paths-in-windows-10-version-1607-and-later
    if cpp_compiler.get_id() == 'msvc'
        utility_test_sources += ['io_util_test.manifest']
    else
        utility_test_sources += ['io_util_test.rc']
    endif
endif

exc = executable(
    'arrow-utility-test',
    sources: utility_test_srcs,
    dependencies: [arrow_dep, filesystem_dep, gtest_dep, gmock_dep],
    link_with: [arrow_test_lib],
    implicit_include_directories: false,
)

The windows branch should use the variable name utility_test_srcs instead of utility_test_sources

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions