Package: libassimp-dev Version: 5.0.1~ds0-1 Severity: normal File: assimp Tags: upstream
Dear Maintainer, This package emits a CMake warning during `find_package(assimp)`. The bug is known upstream, and it has been fixed in this commit. https://github.com/assimp/assimp/commit/6ac8279977c3a54118551e549d77329497116f66 Would you be willing to apply that commit here? Instructions to reproduce: mkdir -p /tmp/assimp_bug/build cd /tmp/assimp_bug printf "cmake_minimum_required(VERSION 3.0)\nproject(assimp_bug)\nfind_package(assimp)" > CMakeLists.txt cd build cmake .. Output from the above: -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimpTargets.cmake:54 (if): if given arguments: "ON" An argument named "ON" appears in a conditional statement. Policy CMP0012 is not set: if() recognizes numbers and boolean constants. Run "cmake --help-policy CMP0012" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimp-config.cmake:1 (include) CMakeLists.txt:3 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done -- Generating done -- Build files have been written to: /tmp/assimp_bug/build Cheers, Shane -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.15.0-91-generic (SMP w/8 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: unable to detect Versions of packages libassimp-dev:amd64 depends on: ii libassimp5 5.0.1~ds0-1 libassimp-dev:amd64 recommends no packages. libassimp-dev:amd64 suggests no packages. -- no debconf information