id = 2492 title = "Unable to disable gvnc dependency during build" state = "opened" created_at = "2024-08-10T07:20:26.029Z" closed_at = "n/a" labels = ["Tests"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2492" host-os = "n/a" host-arch = "n/a" qemu-version = "n/a" guest-os = "n/a" guest-arch = "n/a" description = """The qtest tests will pick up a copy of gvnc if it happens to be installed and there does not appear to be any way of disabling the dependency to ensure a reproducible build. We tripped over this in bulk builds on OpenBSD.""" reproduce = """1. Install gvnc 2. Build QEMU""" additional = """From tests/qtest/meson.build ``` if vnc.found() gvnc = dependency('gvnc-1.0', method: 'pkg-config', required: false) if gvnc.found() qtests += {'vnc-display-test': [gvnc]} qtests_generic += [ 'vnc-display-test' ] endif endif ```"""