← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1869757] Re: sdl2-config.cmake: extra leading / trailing whitespace

 

Sadly xenial is EOL, please upgrade to a newer LTS

** Changed in: libsdl2 (Ubuntu)
       Status: New => In Progress

** Also affects: libsdl2 (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: libsdl2 (Ubuntu)
       Status: In Progress => Fix Released

** Changed in: libsdl2 (Ubuntu Xenial)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1869757

Title:
  sdl2-config.cmake: extra leading / trailing whitespace

Status in libsdl2 package in Ubuntu:
  Fix Released
Status in libsdl2 source package in Xenial:
  Won't Fix
Status in libsdl2 package in Debian:
  Fix Released

Bug description:
  Version: xenial (16.04LTS)
  Package: libsdl2-dev (2.0.4+dfsg1-2ubuntu2.16.04.2)

  When trying to use SDL2 in a project (GZDoom) with CMake, I encountered the
  following error:

  CMake Error at src/CMakeLists.txt:1164 (add_executable):
    Target "zdoom" links to item "-L/usr/lib/x86_64-linux-gnu -lSDL2 " which
    has leading or trailing whitespace.  This is now an error according to
    policy CMP0004.

  This is the relevant part of the CMakeLists.txt:

  ------------------------------

  find_package( SDL2 REQUIRED CONFIG )

  ------------------------------

  I see that this bug was fix in Debian back in 2016 with the release of
  package version 2.0.4+dfsg2-1: https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=822210#52

  Ubuntu xenial (16.04LTS) is currently on an older version
  (2.0.4+dfsg1-2ubuntu2.16.04.2) before the bug fix was applied.

  Can the Debian bug fix be picked up for Ubuntu xenial (16.04LTS)?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1869757/+subscriptions