Skip to content

[dbus] Build failure when cross-compiling #40031

@davidebeatrici

Description

@davidebeatrici

Editing the portfile to pass -DDBUS_SESSION_SOCKET_DIR=/tmp to CMake fixes the issue.

Operating system

macOS (ARM64)

Steps to reproduce the behavior

./vcpkg install dbus:x64-osx-release

Failure logs

CMake Error at CMakeLists.txt:574 (message):
  cannot autodetect session socket directory when crosscompiling, pass
  -DDBUS_SESSION_SOCKET_DIR=...


-- Configuring incomplete, errors occurred!

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