Skip to content

[sdl2[core]:x64-linux] build failure #13236

@rustatian

Description

@rustatian

Host Environment

  • OS: openSUSE, Ubuntu 20.04.1
  • Compiler: gcc (SUSE Linux) 10.2.1 20200805, clang version 10.0.1
  • Compiler: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0, clang version 10.0.0-4ubuntu1

To Reproduce
Steps to reproduce the behavior:
./vcpkg install sdl2

Failure logs

❯ ./vcpkg install sdl2
Computing installation plan...
The following packages will be built and installed:
    sdl2[core]:x64-linux
Detecting compiler hash for triplet x64-linux...
Starting package 1/1: sdl2:x64-linux
Building package sdl2[core]:x64-linux...
Could not locate cached archive: /home/valery/.cache/vcpkg/archives/87/8738f4b0449a6e21fc5ff8150723d20ea0a0841e.zip
-- Downloading https://www.libsdl.org/release/SDL2-2.0.12.tar.gz...
-- Extracting source /home/valery/Cache/vcpkg/downloads/SDL2-2.0.12.tar.gz
-- Applying patch export-symbols-only-in-shared-build.patch
-- Applying patch enable-winrt-cmake.patch
-- Applying patch disable-hidapi-for-uwp.patch
-- Applying patch fix-space-in-path.patch
-- Applying patch disable-wcslcpy-and-wcslcat-for-windows.patch
-- Applying patch fix-EventToken-header-reference.patch
-- Applying patch 0006-sdl2-Enable-creation-of-pkg-cfg-file-on-windows.patch
-- Using source at /home/valery/Cache/vcpkg/buildtrees/sdl2/src/SDL2-2-ac07e8117e.clean
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Fixing pkgconfig file: /home/valery/Cache/vcpkg/packages/sdl2_x64-linux/lib/pkgconfig/sdl2.pc
-- CHECK_LIB_dbus-1_RELEASE:CHECK_LIB_dbus-1_RELEASE-NOTFOUND
CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:232 (message):
  Library "dbus-1" was not found! If it is a system library use the
  SYSTEM_LIBRARIES parameter for the vcpkg_fixup_pkgconfig call! Otherwise,
  correct the *.pc file
Call Stack (most recent call first):
  scripts/cmake/vcpkg_fixup_pkgconfig.cmake:298 (vcpkg_fixup_pkgconfig_check_files)
  ports/sdl2/portfile.cmake:97 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:79 (include)


Error: Building package sdl2:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `./vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: sdl2:x64-linux
  Vcpkg version: 2020.06.15-unknownhash

But dbus-1 installed:


S | Name                    | Summary                                   | Type
--+-------------------------+-------------------------------------------+--------
i | dbus-1                  | D-Bus Message Bus System                  | package
i | dbus-1-devel            | Developer package for D-Bus               | package
  | dbus-1-devel-32bit      | Developer package for D-Bus               | package
  | dbus-1-devel-doc        | Developer documentation package for D-Bus | package
i | dbus-1-glib             | GLib-based library for using D-Bus        | package
  | dbus-1-glib-32bit       | GLib-based library for using D-Bus        | package
i | dbus-1-glib-devel       | Developer package for D-Bus/GLib bindings | package
  | dbus-1-glib-devel-32bit | Developer package for D-Bus/GLib bindings | package
  | dbus-1-glib-doc         | Documentation for the D-Bus/GLib bindings | package
i | dbus-1-glib-tool        | Tool package for D-Bus/GLib bindings      | package
  | dbus-1-mono             | Mono Bindings for D-Bus                   | package
i | dbus-1-x11              | D-Bus Message Bus System                  | package
i | libdbus-1-3             | Library package for D-Bus                 | package
i | libdbus-1-3-32bit       | Library package for D-Bus                 | package

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already supportrequires:reproThe issue is not currently repro-able

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions