Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not find native static library SDL2main when building in manylinux2014 docker container #1249

Closed
messense opened this issue Aug 22, 2022 · 1 comment · Fixed by #1250
Labels
build-process Everything related to build.rs, or the build process in general

Comments

@messense
Copy link
Contributor

Build command: cargo build --features bundled,static-link -vv

$ git clone https://github.com/Rust-SDL2/rust-sdl2.git
$ cd rust-sdl2
$ docker run --rm -it -v $(pwd):/io -w /io quay.io/pypa/manylinux2014_x86_64 bash
[root@59da2d03b40b io]# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
[root@59da2d03b40b io]# source "$HOME/.cargo/env"
[root@59da2d03b40b io]# ls
assets  build.rs  Cargo.lock  Cargo.toml  changelog.md  clippy.toml  examples  LICENSE  README.md  scripts  sdl2-sys  src  tests
[root@59da2d03b40b io]# cargo build --features bundled,static-link -vv
     Running `/io/target/debug/build/sdl2-sys-3d99d4ea2c947a7c/build-script-build`
[sdl2-sys 0.35.2] CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
[sdl2-sys 0.35.2] CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
[sdl2-sys 0.35.2] HOST_CMAKE_TOOLCHAIN_FILE = None
[sdl2-sys 0.35.2] CMAKE_TOOLCHAIN_FILE = None
[sdl2-sys 0.35.2] CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
[sdl2-sys 0.35.2] CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
[sdl2-sys 0.35.2] HOST_CMAKE_GENERATOR = None
[sdl2-sys 0.35.2] CMAKE_GENERATOR = None
[sdl2-sys 0.35.2] CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
[sdl2-sys 0.35.2] CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
[sdl2-sys 0.35.2] HOST_CMAKE_PREFIX_PATH = None
[sdl2-sys 0.35.2] CMAKE_PREFIX_PATH = None
[sdl2-sys 0.35.2] CMAKE_x86_64-unknown-linux-gnu = None
[sdl2-sys 0.35.2] CMAKE_x86_64_unknown_linux_gnu = None
[sdl2-sys 0.35.2] HOST_CMAKE = None
[sdl2-sys 0.35.2] CMAKE = None
[sdl2-sys 0.35.2] running: "cmake" "/io/sdl2-sys/SDL" "-DSDL_SHARED=OFF" "-DSDL_STATIC=ON" "-DCMAKE_INSTALL_PREFIX=/io/target/debug/build/sdl2-sys-7e50a05793058457/out" "-DCMAKE_C_FLAGS= -D__FLTUSED__ -fcommon -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/opt/rh/devtoolset-10/root/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/opt/rh/devtoolset-10/root/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/opt/rh/devtoolset-10/root/usr/bin/cc" "-DCMAKE_BUILD_TYPE=release"
[sdl2-sys 0.35.2] -- The C compiler identification is GNU 10.2.1
[sdl2-sys 0.35.2] -- The CXX compiler identification is GNU 10.2.1
[sdl2-sys 0.35.2] -- Detecting C compiler ABI info
[sdl2-sys 0.35.2] -- Detecting C compiler ABI info - done
[sdl2-sys 0.35.2] -- Check for working C compiler: /opt/rh/devtoolset-10/root/usr/bin/cc - skipped
[sdl2-sys 0.35.2] -- Detecting C compile features
[sdl2-sys 0.35.2] -- Detecting C compile features - done
[sdl2-sys 0.35.2] -- Detecting CXX compiler ABI info
[sdl2-sys 0.35.2] -- Detecting CXX compiler ABI info - done
[sdl2-sys 0.35.2] -- Check for working CXX compiler: /opt/rh/devtoolset-10/root/usr/bin/c++ - skipped
[sdl2-sys 0.35.2] -- Detecting CXX compile features
[sdl2-sys 0.35.2] -- Detecting CXX compile features - done
[sdl2-sys 0.35.2] -- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
[sdl2-sys 0.35.2] -- Looking for __GLIBC__
[sdl2-sys 0.35.2] -- Looking for __GLIBC__ - found
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_WALL
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_WALL - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_NO_STRICT_ALIASING
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_NO_STRICT_ALIASING - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_WDECLARATION_AFTER_STATEMENT
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_WDECLARATION_AFTER_STATEMENT - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_WERROR_DECLARATION_AFTER_STATEMENT
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_WERROR_DECLARATION_AFTER_STATEMENT - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_ATOMICS
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_ATOMICS - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_PREFERRED_STACK_BOUNDARY
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_PREFERRED_STACK_BOUNDARY - Failed
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_FVISIBILITY
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_FVISIBILITY - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_WSHADOW
[sdl2-sys 0.35.2] -- Performing Test HAVE_GCC_WSHADOW - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_NO_UNDEFINED
[sdl2-sys 0.35.2] -- Performing Test HAVE_NO_UNDEFINED - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_MMX
[sdl2-sys 0.35.2] -- Performing Test HAVE_MMX - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_3DNOW
[sdl2-sys 0.35.2] -- Performing Test HAVE_3DNOW - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_SSE
[sdl2-sys 0.35.2] -- Performing Test HAVE_SSE - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_SSE2
[sdl2-sys 0.35.2] -- Performing Test HAVE_SSE2 - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_SSE3
[sdl2-sys 0.35.2] -- Performing Test HAVE_SSE3 - Success
[sdl2-sys 0.35.2] -- Looking for immintrin.h
[sdl2-sys 0.35.2] -- Looking for immintrin.h - found
[sdl2-sys 0.35.2] -- Performing Test HAVE_ALTIVEC_H_HDR
[sdl2-sys 0.35.2] -- Performing Test HAVE_ALTIVEC_H_HDR - Failed
[sdl2-sys 0.35.2] -- Performing Test HAVE_ALTIVEC
[sdl2-sys 0.35.2] -- Performing Test HAVE_ALTIVEC - Failed
...
[sdl2-sys 0.35.2] -- Checking for modules 'bcm_host;brcmegl'
[sdl2-sys 0.35.2] --   No package 'bcm_host' found
[sdl2-sys 0.35.2] --   No package 'brcmegl' found
[sdl2-sys 0.35.2] -- Performing Test HAVE_RPI
[sdl2-sys 0.35.2] -- Performing Test HAVE_RPI - Failed
[sdl2-sys 0.35.2] -- dynamic libX11 -> libX11.so.6
[sdl2-sys 0.35.2] -- dynamic libXext -> libXext.so.6
[sdl2-sys 0.35.2] -- dynamic libXfixes -> libXfixes.so.3
[sdl2-sys 0.35.2] -- dynamic libXrender -> libXrender.so.1
[sdl2-sys 0.35.2] -- Looking for shmat
[sdl2-sys 0.35.2] -- Looking for shmat - found
[sdl2-sys 0.35.2] -- Performing Test HAVE_XGENERICEVENT
[sdl2-sys 0.35.2] -- Performing Test HAVE_XGENERICEVENT - Success
[sdl2-sys 0.35.2] -- Looking for XkbKeycodeToKeysym
[sdl2-sys 0.35.2] -- Looking for XkbKeycodeToKeysym - found
[sdl2-sys 0.35.2] -- Checking for module 'egl'
[sdl2-sys 0.35.2] --   No package 'egl' found
[sdl2-sys 0.35.2] -- Performing Test HAVE_OPENGL_EGL
[sdl2-sys 0.35.2] -- Performing Test HAVE_OPENGL_EGL - Success
[sdl2-sys 0.35.2] -- Checking for modules 'libdrm;gbm;egl'
[sdl2-sys 0.35.2] --   No package 'gbm' found
[sdl2-sys 0.35.2] --   No package 'egl' found
[sdl2-sys 0.35.2] -- Performing Test HAVE_OPENGL_GLX
[sdl2-sys 0.35.2] -- Performing Test HAVE_OPENGL_GLX - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_OPENGL
[sdl2-sys 0.35.2] -- Performing Test HAVE_OPENGL - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_OPENGLES_V1
[sdl2-sys 0.35.2] -- Performing Test HAVE_OPENGLES_V1 - Failed
[sdl2-sys 0.35.2] -- Performing Test HAVE_OPENGLES_V2
[sdl2-sys 0.35.2] -- Performing Test HAVE_OPENGLES_V2 - Success
[sdl2-sys 0.35.2] -- Checking for modules 'wayland-client>=1.18;wayland-egl;wayland-cursor;egl;xkbcommon>=0.5.0'
[sdl2-sys 0.35.2] --   No package 'wayland-client' found
[sdl2-sys 0.35.2] --   No package 'wayland-egl' found
[sdl2-sys 0.35.2] --   No package 'wayland-cursor' found
[sdl2-sys 0.35.2] --   No package 'egl' found
[sdl2-sys 0.35.2] --   No package 'xkbcommon' found
[sdl2-sys 0.35.2] -- Performing Test HAVE_VIVANTE_VDK
[sdl2-sys 0.35.2] -- Performing Test HAVE_VIVANTE_VDK - Failed
[sdl2-sys 0.35.2] -- Performing Test HAVE_VIVANTE_EGL_FB
[sdl2-sys 0.35.2] -- Performing Test HAVE_VIVANTE_EGL_FB - Failed
[sdl2-sys 0.35.2] -- Performing Test HAVE_INPUT_EVENTS
[sdl2-sys 0.35.2] -- Performing Test HAVE_INPUT_EVENTS - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_INPUT_KD
[sdl2-sys 0.35.2] -- Performing Test HAVE_INPUT_KD - Success
[sdl2-sys 0.35.2] -- Looking for libudev.h
[sdl2-sys 0.35.2] -- Looking for libudev.h - not found
[sdl2-sys 0.35.2] -- Looking for sys/inotify.h
[sdl2-sys 0.35.2] -- Looking for sys/inotify.h - found
[sdl2-sys 0.35.2] -- Looking for inotify_init
[sdl2-sys 0.35.2] -- Looking for inotify_init - found
[sdl2-sys 0.35.2] -- Looking for inotify_init1
[sdl2-sys 0.35.2] -- Looking for inotify_init1 - found
[sdl2-sys 0.35.2] -- Checking for one of the modules 'dbus-1;dbus'
[sdl2-sys 0.35.2] -- Checking for one of the modules 'ibus-1.0;ibus'
[sdl2-sys 0.35.2] -- Checking for module 'libusb-1.0'
[sdl2-sys 0.35.2] --   No package 'libusb-1.0' found
[sdl2-sys 0.35.2] -- Performing Test HAVE_PTHREADS
[sdl2-sys 0.35.2] -- Performing Test HAVE_PTHREADS - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_RECURSIVE_MUTEXES
[sdl2-sys 0.35.2] -- Performing Test HAVE_RECURSIVE_MUTEXES - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_PTHREADS_SEM
[sdl2-sys 0.35.2] -- Performing Test HAVE_PTHREADS_SEM - Success
[sdl2-sys 0.35.2] -- Performing Test HAVE_SEM_TIMEDWAIT
[sdl2-sys 0.35.2] -- Performing Test HAVE_SEM_TIMEDWAIT - Success
[sdl2-sys 0.35.2] -- Looking for include file pthread.h
[sdl2-sys 0.35.2] -- Looking for include file pthread.h - found
[sdl2-sys 0.35.2] -- Looking for include file pthread_np.h
[sdl2-sys 0.35.2] -- Looking for include file pthread_np.h - not found
[sdl2-sys 0.35.2] -- Performing Test HAVE_PTHREAD_SETNAME_NP
[sdl2-sys 0.35.2] -- Performing Test HAVE_PTHREAD_SETNAME_NP - Success
[sdl2-sys 0.35.2] -- Looking for clock_gettime in rt
[sdl2-sys 0.35.2] -- Looking for clock_gettime in rt - found
[sdl2-sys 0.35.2] -- Looking for linux/version.h
[sdl2-sys 0.35.2] -- Looking for linux/version.h - found
[sdl2-sys 0.35.2] -- Looking for samplerate.h
[sdl2-sys 0.35.2] -- Looking for samplerate.h - not found
[sdl2-sys 0.35.2] -- Found Git: /usr/local/bin/git (found version "2.37.2")
[sdl2-sys 0.35.2] --
[sdl2-sys 0.35.2] -- SDL2 was configured with the following options:
[sdl2-sys 0.35.2] --
[sdl2-sys 0.35.2] -- Platform: Linux-5.15.0-46-generic
[sdl2-sys 0.35.2] -- 64-bit:   TRUE
[sdl2-sys 0.35.2] -- Compiler: /opt/rh/devtoolset-10/root/usr/bin/cc
[sdl2-sys 0.35.2] -- Revision: https://github.com/libsdl-org/SDL@cb107bef58759468d715d919009bd2987954dade
[sdl2-sys 0.35.2] --
[sdl2-sys 0.35.2] -- Subsystems:
[sdl2-sys 0.35.2] --   Atomic:	ON
[sdl2-sys 0.35.2] --   Audio:	ON
[sdl2-sys 0.35.2] --   Video:	ON
[sdl2-sys 0.35.2] --   Render:	ON
[sdl2-sys 0.35.2] --   Events:	ON
[sdl2-sys 0.35.2] --   Joystick:	ON
[sdl2-sys 0.35.2] --   Haptic:	ON
[sdl2-sys 0.35.2] --   Hidapi:	ON
[sdl2-sys 0.35.2] --   Power:	ON
[sdl2-sys 0.35.2] --   Threads:	ON
[sdl2-sys 0.35.2] --   Timers:	ON
[sdl2-sys 0.35.2] --   File:	ON
[sdl2-sys 0.35.2] --   Loadso:	ON
[sdl2-sys 0.35.2] --   CPUinfo:	ON
[sdl2-sys 0.35.2] --   Filesystem:	ON
[sdl2-sys 0.35.2] --   Sensor:	ON
[sdl2-sys 0.35.2] --   Locale:	ON
[sdl2-sys 0.35.2] --   Misc:	ON
[sdl2-sys 0.35.2] --
[sdl2-sys 0.35.2] -- Options:
[sdl2-sys 0.35.2] --   SDL2_DISABLE_INSTALL        (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL2_DISABLE_SDL2MAIN       (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL2_DISABLE_UNINSTALL      (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_3DNOW                   (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_ALSA                    (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_ALSA_SHARED             (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_ALTIVEC                 (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_ARMNEON                 (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_ARMSIMD                 (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_ARTS                    (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_ARTS_SHARED             (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_ASAN                    (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_ASSEMBLY                (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_ASSERTIONS              (Wanted: auto): auto
[sdl2-sys 0.35.2] --   SDL_BACKGROUNDING_SIGNAL    (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_CLOCK_GETTIME           (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_COCOA                   (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_DIRECTFB                (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_DIRECTFB_SHARED         (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_DIRECTX                 (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_DISKAUDIO               (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_DUMMYAUDIO              (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_DUMMYVIDEO              (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_ESD                     (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_ESD_SHARED              (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_FOREGROUNDING_SIGNAL    (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_FUSIONSOUND             (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_FUSIONSOUND_SHARED      (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_GCC_ATOMICS             (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_HIDAPI_JOYSTICK         (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_INSTALL_TESTS           (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_JACK                    (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_JACK_SHARED             (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_KMSDRM                  (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_KMSDRM_SHARED           (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_LIBC                    (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_LIBSAMPLERATE           (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_LIBSAMPLERATE_SHARED    (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_METAL                   (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_MMX                     (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_NAS                     (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_NAS_SHARED              (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_OFFSCREEN               (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_OPENGL                  (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_OPENGLES                (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_OSS                     (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_PIPEWIRE                (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_PIPEWIRE_SHARED         (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_PTHREADS                (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_PTHREADS_SEM            (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_PULSEAUDIO              (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_PULSEAUDIO_SHARED       (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_RENDER_D3D              (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_RENDER_METAL            (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_RPATH                   (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_RPI                     (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_SNDIO                   (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_SNDIO_SHARED            (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_SSE                     (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_SSE2                    (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_SSE3                    (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_SSEMATH                 (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_STATIC_PIC              (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_TESTS                   (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_VIRTUAL_JOYSTICK        (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_VIVANTE                 (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_VULKAN                  (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_WASAPI                  (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --   SDL_WAYLAND                 (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_WAYLAND_LIBDECOR        (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_WAYLAND_LIBDECOR_SHARED (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_WAYLAND_QT_TOUCH        (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_WAYLAND_SHARED          (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_X11                     (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_X11_SHARED              (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_X11_XCURSOR             (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_X11_XDBE                (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_X11_XFIXES              (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_X11_XINPUT              (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_X11_XRANDR              (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_X11_XSCRNSAVER          (Wanted: ON): OFF
[sdl2-sys 0.35.2] --   SDL_X11_XSHAPE              (Wanted: ON): ON
[sdl2-sys 0.35.2] --   SDL_XINPUT                  (Wanted: OFF): OFF
[sdl2-sys 0.35.2] --
[sdl2-sys 0.35.2] --  CFLAGS:         -D__FLTUSED__ -fcommon -ffunction-sections -fdata-sections -fPIC -m64 -idirafter "/io/sdl2-sys/SDL/src/video/khronos" -DHAVE_LINUX_VERSION_H
[sdl2-sys 0.35.2] --  EXTRA_CFLAGS:   -Wall -fno-strict-aliasing -Werror=declaration-after-statement -Wdeclaration-after-statement -fvisibility=hidden -Wshadow -mmmx -m3dnow -msse -msse2 -msse3 -I/usr/include -D_REENTRANT
[sdl2-sys 0.35.2] --  EXTRA_LDFLAGS: -pthread -Wl,--no-undefined
[sdl2-sys 0.35.2] --  EXTRA_LIBS:    m;dl;rt
[sdl2-sys 0.35.2] --
[sdl2-sys 0.35.2] --  Build Shared Library: OFF
[sdl2-sys 0.35.2] --  Build Static Library: ON
[sdl2-sys 0.35.2] --  Build Static Library with Position Independent Code: OFF
[sdl2-sys 0.35.2] --
[sdl2-sys 0.35.2] -- If something was not detected, although the libraries
[sdl2-sys 0.35.2] -- were installed, then make sure you have set the
[sdl2-sys 0.35.2] -- CFLAGS and LDFLAGS environment variables correctly.
[sdl2-sys 0.35.2] --
[sdl2-sys 0.35.2] -- Configuring done
[sdl2-sys 0.35.2] -- Generating done
[sdl2-sys 0.35.2] CMake Warning:
[sdl2-sys 0.35.2]   Manually-specified variables were not used by the project:
[sdl2-sys 0.35.2]
[sdl2-sys 0.35.2]     CMAKE_ASM_COMPILER
[sdl2-sys 0.35.2]     CMAKE_ASM_FLAGS
[sdl2-sys 0.35.2]
[sdl2-sys 0.35.2]
[sdl2-sys 0.35.2] -- Build files have been written to: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/build
[sdl2-sys 0.35.2] running: "cmake" "--build" "." "--target" "install" "--config" "release" "--parallel" "4"
[sdl2-sys 0.35.2] gmake: warning: -jN forced in submake: disabling jobserver mode.
[sdl2-sys 0.35.2] [  0%] Generating include/SDL_assert.h
[sdl2-sys 0.35.2] [  1%] Generating include/SDL_atomic.h
[sdl2-sys 0.35.2] [  1%] Generating include/SDL_audio.h
[sdl2-sys 0.35.2] [  1%] Generating include/SDL.h
[sdl2-sys 0.35.2] [  1%] Generating include/SDL_bits.h
[sdl2-sys 0.35.2] [  1%] Generating include/SDL_clipboard.h
[sdl2-sys 0.35.2] [  2%] Generating include/SDL_blendmode.h
[sdl2-sys 0.35.2] [  2%] Generating include/SDL_copying.h
[sdl2-sys 0.35.2] [  3%] Generating include/SDL_cpuinfo.h
[sdl2-sys 0.35.2] [  3%] Generating include/SDL_egl.h
[sdl2-sys 0.35.2] [  4%] Generating include/SDL_endian.h
[sdl2-sys 0.35.2] [  4%] Generating include/SDL_error.h
[sdl2-sys 0.35.2] [  4%] Generating include/SDL_events.h
[sdl2-sys 0.35.2] [  5%] Generating include/SDL_filesystem.h
[sdl2-sys 0.35.2] [  5%] Generating include/SDL_gamecontroller.h
[sdl2-sys 0.35.2] [  5%] Generating include/SDL_gesture.h
[sdl2-sys 0.35.2] [  6%] Generating include/SDL_guid.h
[sdl2-sys 0.35.2] [  6%] Generating include/SDL_haptic.h
[sdl2-sys 0.35.2] [  7%] Generating include/SDL_hints.h
[sdl2-sys 0.35.2] [  7%] Generating include/SDL_hidapi.h
[sdl2-sys 0.35.2] [  7%] Generating include/SDL_joystick.h
[sdl2-sys 0.35.2] [  8%] Generating include/SDL_keyboard.h
[sdl2-sys 0.35.2] [  8%] Generating include/SDL_keycode.h
[sdl2-sys 0.35.2] [  8%] Generating include/SDL_loadso.h
[sdl2-sys 0.35.2] [  9%] Generating include/SDL_locale.h
[sdl2-sys 0.35.2] [  9%] Generating include/SDL_log.h
[sdl2-sys 0.35.2] [  9%] Generating include/SDL_main.h
[sdl2-sys 0.35.2] [ 10%] Generating include/SDL_messagebox.h
[sdl2-sys 0.35.2] [ 10%] Generating include/SDL_metal.h
[sdl2-sys 0.35.2] [ 10%] Generating include/SDL_misc.h
[sdl2-sys 0.35.2] [ 11%] Generating include/SDL_mouse.h
[sdl2-sys 0.35.2] [ 11%] Generating include/SDL_mutex.h
[sdl2-sys 0.35.2] [ 12%] Generating include/SDL_name.h
[sdl2-sys 0.35.2] [ 12%] Generating include/SDL_opengl_glext.h
[sdl2-sys 0.35.2] [ 12%] Generating include/SDL_opengl.h
[sdl2-sys 0.35.2] [ 13%] Generating include/SDL_opengles.h
[sdl2-sys 0.35.2] [ 13%] Generating include/SDL_opengles2.h
[sdl2-sys 0.35.2] [ 14%] Generating include/SDL_opengles2_gl2ext.h
[sdl2-sys 0.35.2] [ 14%] Generating include/SDL_opengles2_gl2.h
[sdl2-sys 0.35.2] [ 14%] Generating include/SDL_opengles2_gl2platform.h
[sdl2-sys 0.35.2] [ 14%] Generating include/SDL_opengles2_khrplatform.h
[sdl2-sys 0.35.2] [ 15%] Generating include/SDL_pixels.h
[sdl2-sys 0.35.2] [ 15%] Generating include/SDL_platform.h
[sdl2-sys 0.35.2] [ 16%] Generating include/SDL_power.h
[sdl2-sys 0.35.2] [ 16%] Generating include/SDL_quit.h
[sdl2-sys 0.35.2] [ 16%] Generating include/SDL_rect.h
[sdl2-sys 0.35.2] [ 16%] Generating include/SDL_rwops.h
[sdl2-sys 0.35.2] [ 17%] Generating include/SDL_render.h
[sdl2-sys 0.35.2] [ 17%] Generating include/SDL_scancode.h
[sdl2-sys 0.35.2] [ 17%] Generating include/SDL_shape.h
[sdl2-sys 0.35.2] [ 18%] Generating include/SDL_sensor.h
[sdl2-sys 0.35.2] [ 18%] Generating include/SDL_stdinc.h
[sdl2-sys 0.35.2] [ 20%] Generating include/SDL_surface.h
[sdl2-sys 0.35.2] [ 20%] Generating include/SDL_syswm.h
[sdl2-sys 0.35.2] [ 20%] Generating include/SDL_system.h
[sdl2-sys 0.35.2] [ 20%] Generating include/SDL_test.h
[sdl2-sys 0.35.2] [ 20%] Generating include/SDL_test_assert.h
[sdl2-sys 0.35.2] [ 21%] Generating include/SDL_test_common.h
[sdl2-sys 0.35.2] [ 21%] Generating include/SDL_test_compare.h
[sdl2-sys 0.35.2] [ 21%] Generating include/SDL_test_crc32.h
[sdl2-sys 0.35.2] [ 22%] Generating include/SDL_test_font.h
[sdl2-sys 0.35.2] [ 22%] Generating include/SDL_test_fuzzer.h
[sdl2-sys 0.35.2] [ 22%] Generating include/SDL_test_harness.h
[sdl2-sys 0.35.2] [ 23%] Generating include/SDL_test_images.h
[sdl2-sys 0.35.2] [ 23%] Generating include/SDL_test_log.h
[sdl2-sys 0.35.2] [ 24%] Generating include/SDL_test_md5.h
[sdl2-sys 0.35.2] [ 24%] Generating include/SDL_test_random.h
[sdl2-sys 0.35.2] [ 24%] Generating include/SDL_test_memory.h
[sdl2-sys 0.35.2] [ 25%] Generating include/SDL_thread.h
[sdl2-sys 0.35.2] [ 25%] Generating include/SDL_timer.h
[sdl2-sys 0.35.2] [ 26%] Generating include/SDL_types.h
[sdl2-sys 0.35.2] [ 26%] Generating include/SDL_touch.h
[sdl2-sys 0.35.2] [ 26%] Generating include/SDL_version.h
[sdl2-sys 0.35.2] [ 27%] Generating include/SDL_vulkan.h
[sdl2-sys 0.35.2] [ 26%] Generating include/SDL_video.h
[sdl2-sys 0.35.2] [ 27%] Generating include/begin_code.h
[sdl2-sys 0.35.2] [ 28%] Generating include/close_code.h
[sdl2-sys 0.35.2] [ 28%] Built target sdl_headers_copy
[sdl2-sys 0.35.2] [ 28%] Building C object CMakeFiles/SDL2main.dir/src/main/dummy/SDL_dummy_main.c.o
[sdl2-sys 0.35.2] [ 28%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_common.c.o
[sdl2-sys 0.35.2] [ 28%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_assert.c.o
[sdl2-sys 0.35.2] [ 28%] Building C object CMakeFiles/SDL2-static.dir/src/SDL.c.o
[sdl2-sys 0.35.2] [ 29%] Linking C static library libSDL2main.a
[sdl2-sys 0.35.2] [ 29%] Built target SDL2main
[sdl2-sys 0.35.2] [ 30%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_compare.c.o
[sdl2-sys 0.35.2] [ 30%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_crc32.c.o
[sdl2-sys 0.35.2] [ 30%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_assert.c.o
[sdl2-sys 0.35.2] [ 30%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_font.c.o
[sdl2-sys 0.35.2] [ 31%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_fuzzer.c.o
[sdl2-sys 0.35.2] [ 32%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_dataqueue.c.o
[sdl2-sys 0.35.2] [ 32%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_harness.c.o
[sdl2-sys 0.35.2] [ 33%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_imageBlit.c.o
[sdl2-sys 0.35.2] [ 33%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_error.c.o
[sdl2-sys 0.35.2] [ 33%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_imageBlitBlend.c.o
[sdl2-sys 0.35.2] [ 33%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_guid.c.o
[sdl2-sys 0.35.2] [ 34%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_hints.c.o
[sdl2-sys 0.35.2] [ 34%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_imageFace.c.o
[sdl2-sys 0.35.2] [ 34%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_list.c.o
[sdl2-sys 0.35.2] [ 34%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_log.c.o
[sdl2-sys 0.35.2] [ 35%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_utils.c.o
[sdl2-sys 0.35.2] [ 35%] Building C object CMakeFiles/SDL2-static.dir/src/atomic/SDL_atomic.c.o
[sdl2-sys 0.35.2] [ 36%] Building C object CMakeFiles/SDL2-static.dir/src/atomic/SDL_spinlock.c.o
[sdl2-sys 0.35.2] [ 36%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_audio.c.o
[sdl2-sys 0.35.2] [ 36%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_audiocvt.c.o
[sdl2-sys 0.35.2] [ 37%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_imagePrimitives.c.o
[sdl2-sys 0.35.2] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_audiodev.c.o
[sdl2-sys 0.35.2] [ 38%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_imagePrimitivesBlend.c.o
[sdl2-sys 0.35.2] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_audiotypecvt.c.o
[sdl2-sys 0.35.2] [ 38%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_log.c.o
[sdl2-sys 0.35.2] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_mixer.c.o
[sdl2-sys 0.35.2] [ 39%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_wave.c.o
[sdl2-sys 0.35.2] [ 40%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_md5.c.o
[sdl2-sys 0.35.2] [ 40%] Building C object CMakeFiles/SDL2-static.dir/src/cpuinfo/SDL_cpuinfo.c.o
[sdl2-sys 0.35.2] [ 40%] Building C object CMakeFiles/SDL2-static.dir/src/dynapi/SDL_dynapi.c.o
[sdl2-sys 0.35.2] [ 40%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_memory.c.o
[sdl2-sys 0.35.2] [ 41%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_clipboardevents.c.o
[sdl2-sys 0.35.2] [ 41%] Building C object CMakeFiles/SDL2_test.dir/src/test/SDL_test_random.c.o
[sdl2-sys 0.35.2] [ 41%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_displayevents.c.o
[sdl2-sys 0.35.2] [ 42%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_dropevents.c.o
[sdl2-sys 0.35.2] [ 42%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_events.c.o
[sdl2-sys 0.35.2] [ 43%] Linking C static library libSDL2_test.a
[sdl2-sys 0.35.2] [ 43%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_gesture.c.o
[sdl2-sys 0.35.2] [ 43%] Built target SDL2_test
[sdl2-sys 0.35.2] [ 44%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_keyboard.c.o
[sdl2-sys 0.35.2] [ 44%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_mouse.c.o
[sdl2-sys 0.35.2] [ 44%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_quit.c.o
[sdl2-sys 0.35.2] [ 45%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_touch.c.o
[sdl2-sys 0.35.2] [ 45%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_windowevents.c.o
[sdl2-sys 0.35.2] [ 45%] Building C object CMakeFiles/SDL2-static.dir/src/events/imKStoUCS.c.o
[sdl2-sys 0.35.2] [ 46%] Building C object CMakeFiles/SDL2-static.dir/src/file/SDL_rwops.c.o
[sdl2-sys 0.35.2] [ 46%] Building C object CMakeFiles/SDL2-static.dir/src/haptic/SDL_haptic.c.o
[sdl2-sys 0.35.2] [ 47%] Building C object CMakeFiles/SDL2-static.dir/src/hidapi/SDL_hidapi.c.o
[sdl2-sys 0.35.2] [ 47%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/SDL_gamecontroller.c.o
[sdl2-sys 0.35.2] [ 47%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/SDL_joystick.c.o
[sdl2-sys 0.35.2] [ 48%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/controller_type.c.o
[sdl2-sys 0.35.2] [ 48%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_atan2.c.o
[sdl2-sys 0.35.2] [ 48%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_exp.c.o
[sdl2-sys 0.35.2] [ 49%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_fmod.c.o
[sdl2-sys 0.35.2] [ 49%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_log.c.o
[sdl2-sys 0.35.2] [ 49%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_log10.c.o
[sdl2-sys 0.35.2] [ 50%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_pow.c.o
[sdl2-sys 0.35.2] [ 50%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_rem_pio2.c.o
[sdl2-sys 0.35.2] [ 51%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_sqrt.c.o
[sdl2-sys 0.35.2] [ 51%] Building C object CMakeFiles/SDL2-static.dir/src/libm/k_cos.c.o
[sdl2-sys 0.35.2] [ 51%] Building C object CMakeFiles/SDL2-static.dir/src/libm/k_rem_pio2.c.o
[sdl2-sys 0.35.2] [ 52%] Building C object CMakeFiles/SDL2-static.dir/src/libm/k_sin.c.o
[sdl2-sys 0.35.2] [ 52%] Building C object CMakeFiles/SDL2-static.dir/src/libm/k_tan.c.o
[sdl2-sys 0.35.2] [ 52%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_atan.c.o
[sdl2-sys 0.35.2] [ 53%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_copysign.c.o
[sdl2-sys 0.35.2] [ 53%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_cos.c.o
[sdl2-sys 0.35.2] [ 53%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_fabs.c.o
[sdl2-sys 0.35.2] [ 54%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_floor.c.o
[sdl2-sys 0.35.2] [ 54%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_scalbn.c.o
[sdl2-sys 0.35.2] [ 55%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_sin.c.o
[sdl2-sys 0.35.2] [ 55%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_tan.c.o
[sdl2-sys 0.35.2] [ 55%] Building C object CMakeFiles/SDL2-static.dir/src/locale/SDL_locale.c.o
[sdl2-sys 0.35.2] [ 56%] Building C object CMakeFiles/SDL2-static.dir/src/misc/SDL_url.c.o
[sdl2-sys 0.35.2] [ 56%] Building C object CMakeFiles/SDL2-static.dir/src/power/SDL_power.c.o
[sdl2-sys 0.35.2] [ 56%] Building C object CMakeFiles/SDL2-static.dir/src/render/SDL_d3dmath.c.o
[sdl2-sys 0.35.2] [ 57%] Building C object CMakeFiles/SDL2-static.dir/src/render/SDL_render.c.o
[sdl2-sys 0.35.2] [ 57%] Building C object CMakeFiles/SDL2-static.dir/src/render/SDL_yuv_sw.c.o
[sdl2-sys 0.35.2] [ 57%] Building C object CMakeFiles/SDL2-static.dir/src/render/direct3d/SDL_render_d3d.c.o
[sdl2-sys 0.35.2] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/render/direct3d/SDL_shaders_d3d.c.o
[sdl2-sys 0.35.2] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/render/direct3d11/SDL_render_d3d11.c.o
[sdl2-sys 0.35.2] [ 59%] Building C object CMakeFiles/SDL2-static.dir/src/render/direct3d11/SDL_shaders_d3d11.c.o
[sdl2-sys 0.35.2] [ 59%] Building C object CMakeFiles/SDL2-static.dir/src/render/direct3d12/SDL_render_d3d12.c.o
[sdl2-sys 0.35.2] [ 59%] Building C object CMakeFiles/SDL2-static.dir/src/render/direct3d12/SDL_shaders_d3d12.c.o
[sdl2-sys 0.35.2] [ 60%] Building C object CMakeFiles/SDL2-static.dir/src/render/opengl/SDL_render_gl.c.o
[sdl2-sys 0.35.2] [ 60%] Building C object CMakeFiles/SDL2-static.dir/src/render/opengl/SDL_shaders_gl.c.o
[sdl2-sys 0.35.2] [ 60%] Building C object CMakeFiles/SDL2-static.dir/src/render/opengles/SDL_render_gles.c.o
[sdl2-sys 0.35.2] [ 61%] Building C object CMakeFiles/SDL2-static.dir/src/render/opengles2/SDL_render_gles2.c.o
[sdl2-sys 0.35.2] [ 61%] Building C object CMakeFiles/SDL2-static.dir/src/render/opengles2/SDL_shaders_gles2.c.o
[sdl2-sys 0.35.2] [ 61%] Building C object CMakeFiles/SDL2-static.dir/src/render/psp/SDL_render_psp.c.o
[sdl2-sys 0.35.2] [ 62%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendfillrect.c.o
[sdl2-sys 0.35.2] [ 62%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendline.c.o
[sdl2-sys 0.35.2] [ 63%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendpoint.c.o
[sdl2-sys 0.35.2] [ 63%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_drawline.c.o
[sdl2-sys 0.35.2] [ 64%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_drawpoint.c.o
[sdl2-sys 0.35.2] [ 64%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_render_sw.c.o
[sdl2-sys 0.35.2] [ 64%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_rotate.c.o
[sdl2-sys 0.35.2] [ 64%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_triangle.c.o
[sdl2-sys 0.35.2] [ 65%] Building C object CMakeFiles/SDL2-static.dir/src/render/vitagxm/SDL_render_vita_gxm.c.o
[sdl2-sys 0.35.2] [ 65%] Building C object CMakeFiles/SDL2-static.dir/src/render/vitagxm/SDL_render_vita_gxm_memory.c.o
[sdl2-sys 0.35.2] [ 65%] Building C object CMakeFiles/SDL2-static.dir/src/render/vitagxm/SDL_render_vita_gxm_tools.c.o
[sdl2-sys 0.35.2] [ 66%] Building C object CMakeFiles/SDL2-static.dir/src/sensor/SDL_sensor.c.o
[sdl2-sys 0.35.2] [ 66%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_crc32.c.o
[sdl2-sys 0.35.2] [ 67%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_getenv.c.o
[sdl2-sys 0.35.2] [ 67%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_iconv.c.o
[sdl2-sys 0.35.2] [ 67%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_malloc.c.o
[sdl2-sys 0.35.2] [ 68%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_mslibc.c.o
[sdl2-sys 0.35.2] [ 68%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_qsort.c.o
[sdl2-sys 0.35.2] [ 68%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_stdlib.c.o
[sdl2-sys 0.35.2] [ 69%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_string.c.o
[sdl2-sys 0.35.2] [ 69%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_strtokr.c.o
[sdl2-sys 0.35.2] [ 69%] Building C object CMakeFiles/SDL2-static.dir/src/thread/SDL_thread.c.o
[sdl2-sys 0.35.2] [ 70%] Building C object CMakeFiles/SDL2-static.dir/src/timer/SDL_timer.c.o
[sdl2-sys 0.35.2] [ 70%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_RLEaccel.c.o
[sdl2-sys 0.35.2] [ 71%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit.c.o
[sdl2-sys 0.35.2] [ 71%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_0.c.o
[sdl2-sys 0.35.2] [ 71%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_1.c.o
[sdl2-sys 0.35.2] [ 72%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_A.c.o
[sdl2-sys 0.35.2] [ 72%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_N.c.o
[sdl2-sys 0.35.2] [ 72%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_auto.c.o
[sdl2-sys 0.35.2] [ 73%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_copy.c.o
[sdl2-sys 0.35.2] [ 73%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_slow.c.o
[sdl2-sys 0.35.2] [ 73%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_bmp.c.o
[sdl2-sys 0.35.2] [ 74%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_clipboard.c.o
[sdl2-sys 0.35.2] [ 74%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_egl.c.o
[sdl2-sys 0.35.2] [ 75%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_fillrect.c.o
[sdl2-sys 0.35.2] [ 75%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_pixels.c.o
[sdl2-sys 0.35.2] [ 75%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_rect.c.o
[sdl2-sys 0.35.2] [ 76%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_shape.c.o
[sdl2-sys 0.35.2] [ 76%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_stretch.c.o
[sdl2-sys 0.35.2] [ 76%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_surface.c.o
[sdl2-sys 0.35.2] [ 77%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_video.c.o
[sdl2-sys 0.35.2] [ 77%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_vulkan_utils.c.o
[sdl2-sys 0.35.2] [ 77%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_yuv.c.o
[sdl2-sys 0.35.2] [ 78%] Building C object CMakeFiles/SDL2-static.dir/src/video/yuv2rgb/yuv_rgb.c.o
[sdl2-sys 0.35.2] [ 78%] Building C object CMakeFiles/SDL2-static.dir/src/audio/dummy/SDL_dummyaudio.c.o
[sdl2-sys 0.35.2] [ 79%] Building C object CMakeFiles/SDL2-static.dir/src/audio/disk/SDL_diskaudio.c.o
[sdl2-sys 0.35.2] [ 79%] Building C object CMakeFiles/SDL2-static.dir/src/loadso/dlopen/SDL_sysloadso.c.o
[sdl2-sys 0.35.2] [ 79%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/virtual/SDL_virtualjoystick.c.o
[sdl2-sys 0.35.2] [ 80%] Building C object CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullevents.c.o
[sdl2-sys 0.35.2] [ 80%] Building C object CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullframebuffer.c.o
[sdl2-sys 0.35.2] [ 80%] Building C object CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullvideo.c.o
[sdl2-sys 0.35.2] [ 81%] Building C object CMakeFiles/SDL2-static.dir/src/audio/dsp/SDL_dspaudio.c.o
[sdl2-sys 0.35.2] [ 81%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11clipboard.c.o
[sdl2-sys 0.35.2] [ 81%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11dyn.c.o
[sdl2-sys 0.35.2] [ 82%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11events.c.o
[sdl2-sys 0.35.2] [ 82%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11framebuffer.c.o
[sdl2-sys 0.35.2] [ 83%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11keyboard.c.o
[sdl2-sys 0.35.2] [ 83%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11messagebox.c.o
[sdl2-sys 0.35.2] [ 83%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11modes.c.o
[sdl2-sys 0.35.2] /io/sdl2-sys/SDL/src/video/x11/SDL_x11modes.c: In function ‘X11_SetDisplayMode’:
[sdl2-sys 0.35.2] /io/sdl2-sys/SDL/src/video/x11/SDL_x11modes.c:757:22: warning: unused variable ‘data’ [-Wunused-variable]
[sdl2-sys 0.35.2]   757 |     SDL_DisplayData *data = (SDL_DisplayData *) sdl_display->driverdata;
[sdl2-sys 0.35.2]       |                      ^~~~
[sdl2-sys 0.35.2] [ 84%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11mouse.c.o
[sdl2-sys 0.35.2] [ 84%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11opengl.c.o
[sdl2-sys 0.35.2] [ 84%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11opengles.c.o
[sdl2-sys 0.35.2] [ 85%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11shape.c.o
[sdl2-sys 0.35.2] [ 85%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11touch.c.o
[sdl2-sys 0.35.2] [ 85%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11video.c.o
[sdl2-sys 0.35.2] [ 86%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11vulkan.c.o
[sdl2-sys 0.35.2] [ 86%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11window.c.o
[sdl2-sys 0.35.2] [ 87%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11xfixes.c.o
[sdl2-sys 0.35.2] [ 87%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11xinput2.c.o
[sdl2-sys 0.35.2] [ 87%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/edid-parse.c.o
[sdl2-sys 0.35.2] [ 88%] Building C object CMakeFiles/SDL2-static.dir/src/core/unix/SDL_poll.c.o
[sdl2-sys 0.35.2] [ 88%] Building C object CMakeFiles/SDL2-static.dir/src/haptic/linux/SDL_syshaptic.c.o
[sdl2-sys 0.35.2] [ 88%] Building C object CMakeFiles/SDL2-static.dir/src/core/linux/SDL_evdev.c.o
[sdl2-sys 0.35.2] [ 89%] Building C object CMakeFiles/SDL2-static.dir/src/core/linux/SDL_evdev_kbd.c.o
[sdl2-sys 0.35.2] [ 89%] Building C object CMakeFiles/SDL2-static.dir/src/core/linux/SDL_evdev_capabilities.c.o
[sdl2-sys 0.35.2] [ 89%] Building C object CMakeFiles/SDL2-static.dir/src/core/linux/SDL_threadprio.c.o
[sdl2-sys 0.35.2] [ 90%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_combined.c.o
[sdl2-sys 0.35.2] /io/sdl2-sys/SDL/src/joystick/hidapi/SDL_hidapi_combined.c: In function ‘HIDAPI_DriverCombined_OpenJoystick’:
[sdl2-sys 0.35.2] /io/sdl2-sys/SDL/src/joystick/hidapi/SDL_hidapi_combined.c:71:36: warning: declaration of ‘child’ shadows a previous local [-Wshadow]
[sdl2-sys 0.35.2]    71 |                 SDL_HIDAPI_Device *child = device->children[i];
[sdl2-sys 0.35.2]       |                                    ^~~~~
[sdl2-sys 0.35.2] /io/sdl2-sys/SDL/src/joystick/hidapi/SDL_hidapi_combined.c:68:28: note: shadowed declaration is here
[sdl2-sys 0.35.2]    68 |         SDL_HIDAPI_Device *child = device->children[i];
[sdl2-sys 0.35.2]       |                            ^~~~~
[sdl2-sys 0.35.2] [ 90%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_gamecube.c.o
[sdl2-sys 0.35.2] [ 91%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_luna.c.o
[sdl2-sys 0.35.2] [ 91%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_ps5.c.o
[sdl2-sys 0.35.2] [ 91%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_ps4.c.o
[sdl2-sys 0.35.2] [ 92%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_rumble.c.o
[sdl2-sys 0.35.2] [ 92%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_shield.c.o
[sdl2-sys 0.35.2] [ 92%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_stadia.c.o
[sdl2-sys 0.35.2] [ 93%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_steam.c.o
[sdl2-sys 0.35.2] [ 93%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_switch.c.o
[sdl2-sys 0.35.2] [ 93%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_xbox360.c.o
[sdl2-sys 0.35.2] [ 94%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_xbox360w.c.o
[sdl2-sys 0.35.2] [ 94%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_xboxone.c.o
[sdl2-sys 0.35.2] [ 95%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapijoystick.c.o
[sdl2-sys 0.35.2] [ 95%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/linux/SDL_sysjoystick.c.o
[sdl2-sys 0.35.2] [ 95%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/steam/SDL_steamcontroller.c.o
[sdl2-sys 0.35.2] [ 96%] Building C object CMakeFiles/SDL2-static.dir/src/thread/pthread/SDL_systhread.c.o
[sdl2-sys 0.35.2] [ 96%] Building C object CMakeFiles/SDL2-static.dir/src/thread/pthread/SDL_sysmutex.c.o
[sdl2-sys 0.35.2] [ 96%] Building C object CMakeFiles/SDL2-static.dir/src/thread/pthread/SDL_syscond.c.o
[sdl2-sys 0.35.2] [ 97%] Building C object CMakeFiles/SDL2-static.dir/src/thread/pthread/SDL_systls.c.o
[sdl2-sys 0.35.2] [ 97%] Building C object CMakeFiles/SDL2-static.dir/src/thread/pthread/SDL_syssem.c.o
[sdl2-sys 0.35.2] [ 97%] Building C object CMakeFiles/SDL2-static.dir/src/misc/unix/SDL_sysurl.c.o
[sdl2-sys 0.35.2] [ 98%] Building C object CMakeFiles/SDL2-static.dir/src/power/linux/SDL_syspower.c.o
[sdl2-sys 0.35.2] [ 98%] Building C object CMakeFiles/SDL2-static.dir/src/locale/unix/SDL_syslocale.c.o
[sdl2-sys 0.35.2] [ 99%] Building C object CMakeFiles/SDL2-static.dir/src/filesystem/unix/SDL_sysfilesystem.c.o
[sdl2-sys 0.35.2] [ 99%] Building C object CMakeFiles/SDL2-static.dir/src/timer/unix/SDL_systimer.c.o
[sdl2-sys 0.35.2] [ 99%] Building C object CMakeFiles/SDL2-static.dir/src/sensor/dummy/SDL_dummysensor.c.o
[sdl2-sys 0.35.2] [100%] Linking C static library libSDL2.a
[sdl2-sys 0.35.2] [100%] Built target SDL2-static
[sdl2-sys 0.35.2] Install the project...
[sdl2-sys 0.35.2] -- Install configuration: "release"
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/libSDL2main.a
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/libSDL2.a
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/libSDL2_test.a
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/cmake/SDL2/SDL2mainTargets.cmake
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/cmake/SDL2/SDL2mainTargets-release.cmake
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/cmake/SDL2/SDL2staticTargets.cmake
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/cmake/SDL2/SDL2staticTargets-release.cmake
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/cmake/SDL2/SDL2testTargets.cmake
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/cmake/SDL2/SDL2testTargets-release.cmake
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/cmake/SDL2/SDL2Config.cmake
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/cmake/SDL2/SDL2ConfigVersion.cmake
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_assert.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_atomic.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_audio.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_bits.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_blendmode.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_clipboard.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_copying.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_cpuinfo.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_egl.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_endian.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_error.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_events.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_filesystem.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_gamecontroller.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_gesture.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_guid.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_haptic.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_hidapi.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_hints.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_joystick.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_keyboard.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_keycode.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_loadso.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_locale.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_log.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_main.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_messagebox.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_metal.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_misc.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_mouse.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_mutex.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_name.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_opengl.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_opengl_glext.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_opengles.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_opengles2.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_opengles2_gl2.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_opengles2_gl2ext.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_opengles2_gl2platform.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_opengles2_khrplatform.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_pixels.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_platform.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_power.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_quit.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_rect.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_render.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_rwops.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_scancode.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_sensor.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_shape.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_stdinc.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_surface.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_system.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_syswm.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_assert.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_common.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_compare.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_crc32.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_font.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_fuzzer.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_harness.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_images.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_log.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_md5.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_memory.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_test_random.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_thread.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_timer.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_touch.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_types.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_version.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_video.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_vulkan.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/begin_code.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/close_code.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_revision.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/include/SDL2/SDL_config.h
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64/pkgconfig/sdl2.pc
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/bin/sdl2-config
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/share/aclocal/sdl2.m4
[sdl2-sys 0.35.2] -- Installing: /io/target/debug/build/sdl2-sys-7e50a05793058457/out/share/licenses/SDL2/LICENSE.txt
[sdl2-sys 0.35.2] cargo:root=/io/target/debug/build/sdl2-sys-7e50a05793058457/out
[sdl2-sys 0.35.2] cargo:rustc-link-search=/io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib
[sdl2-sys 0.35.2] cargo:include=/io/sdl2-sys/SDL/include
[sdl2-sys 0.35.2] cargo:rustc-link-lib=static=SDL2main
[sdl2-sys 0.35.2] cargo:rustc-link-lib=static=SDL2
     Running `CARGO=/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=sdl2_sys CARGO_MANIFEST_DIR=/io/sdl2-sys CARGO_PKG_AUTHORS='Tony Aldridge <tony@angry-lawyer.com>' CARGO_PKG_DESCRIPTION='Raw SDL2 bindings for Rust, used internally rust-sdl2' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=sdl2-sys CARGO_PKG_REPOSITORY='https://github.com/rust-sdl2/rust-sdl2' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.35.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=35 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/io/target/debug/deps:/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib:/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64' OUT_DIR=/io/target/debug/build/sdl2-sys-7e50a05793058457/out rustc --crate-name sdl2_sys --edition=2018 sdl2-sys/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="bundled"' --cfg 'feature="cmake"' --cfg 'feature="default"' --cfg 'feature="static-link"' -C metadata=866524dd431ce58d -C extra-filename=-866524dd431ce58d --out-dir /io/target/debug/deps -C incremental=/io/target/debug/incremental -L dependency=/io/target/debug/deps --extern libc=/io/target/debug/deps/liblibc-adeda87088b56692.rmeta -L /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib -l static=SDL2main -l static=SDL2`
     Running `/io/target/debug/build/sdl2-c102ad324179c32a/build-script-build`
     Running `CARGO=/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=sdl2 CARGO_MANIFEST_DIR=/io CARGO_PKG_AUTHORS='Tony Aldridge <tony@angry-lawyer.com>:Cobrand <cobrandw@gmail.com>' CARGO_PKG_DESCRIPTION='SDL2 bindings for Rust' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=sdl2 CARGO_PKG_REPOSITORY='https://github.com/Rust-SDL2/rust-sdl2' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.35.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=35 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/io/target/debug/deps:/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib:/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64' OUT_DIR=/io/target/debug/build/sdl2-ef3e8668686288bb/out rustc --crate-name sdl2 src/sdl2/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="bundled"' --cfg 'feature="default"' --cfg 'feature="static-link"' -C metadata=0b4ab9e64d8acea5 -C extra-filename=-0b4ab9e64d8acea5 --out-dir /io/target/debug/deps -C incremental=/io/target/debug/incremental -L dependency=/io/target/debug/deps --extern bitflags=/io/target/debug/deps/libbitflags-9280358d7a21f5fd.rmeta --extern lazy_static=/io/target/debug/deps/liblazy_static-20fc7be71f32300b.rmeta --extern libc=/io/target/debug/deps/liblibc-adeda87088b56692.rmeta --extern sdl2_sys=/io/target/debug/deps/libsdl2_sys-866524dd431ce58d.rmeta -L /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib`
error: could not find native static library `SDL2main`, perhaps an -L flag is missing?

error: could not compile `sdl2-sys` due to previous error

Caused by:
  process didn't exit successfully: `CARGO=/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=sdl2_sys CARGO_MANIFEST_DIR=/io/sdl2-sys CARGO_PKG_AUTHORS='Tony Aldridge <tony@angry-lawyer.com>' CARGO_PKG_DESCRIPTION='Raw SDL2 bindings for Rust, used internally rust-sdl2' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=sdl2-sys CARGO_PKG_REPOSITORY='https://github.com/rust-sdl2/rust-sdl2' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.35.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=35 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/io/target/debug/deps:/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib:/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64' OUT_DIR=/io/target/debug/build/sdl2-sys-7e50a05793058457/out rustc --crate-name sdl2_sys --edition=2018 sdl2-sys/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="bundled"' --cfg 'feature="cmake"' --cfg 'feature="default"' --cfg 'feature="static-link"' -C metadata=866524dd431ce58d -C extra-filename=-866524dd431ce58d --out-dir /io/target/debug/deps -C incremental=/io/target/debug/incremental -L dependency=/io/target/debug/deps --extern libc=/io/target/debug/deps/liblibc-adeda87088b56692.rmeta -L /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib -l static=SDL2main -l static=SDL2` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
[root@59da2d03b40b io]#
[root@59da2d03b40b io]# ls /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib
ls: cannot access /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib: No such file or directory
[root@59da2d03b40b io]# ls /io/target/debug/build/sdl2-sys-7e50a05793058457
invoked.timestamp  out  output  root-output  stderr
[root@59da2d03b40b io]# ls /io/target/debug/build/sdl2-sys-7e50a05793058457/out
bin  build  include  lib64  sdl_bindings.rs  share
[root@59da2d03b40b io]# ls /io/target/debug/build/sdl2-sys-7e50a05793058457/out/lib64
cmake  libSDL2.a  libSDL2main.a  libSDL2_test.a  pkgconfig

Apparently the built static libraries are placed inside a lib64 directory.

@messense
Copy link
Contributor Author

Quoting https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

LIBDIR
object code libraries (lib or lib64)

On Debian, this may be lib/<multiarch-tuple> when CMAKE_INSTALL_PREFIX is /usr.

@Cobrand Cobrand added the build-process Everything related to build.rs, or the build process in general label Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-process Everything related to build.rs, or the build process in general
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants