Your message dated Tue, 14 Feb 2017 03:48:32 +0000 with message-id <[email protected]> and subject line Bug#855040: fixed in fltk1.3 1.3.4-3 has caused the Debian Bug report #855040, regarding fltk: error when fluid is not installed to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 855040: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855040 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---source: fltk1.3 version: 1.3.4-2 tags: patch Hello, as said on launchpad bug, there is an error when fluid is not installed steps to reproduce: $ cat CMakeLists.txt cmake_minimum_required(VERSION 3.5) set(FLTK_SKIP_FLUID TRUE) find_package(FLTK) remove fluid from the system (FLTK_SKIP_FLUID is mentioned in the FindFLTK.cmake module) error CMake Error at /usr/lib/fltk/FLTK-Targets.cmake:102 (message): The imported target "fluid" references the file "/usr/bin/fluid" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/fltk/FLTK-Targets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/fltk/FLTKConfig.cmake:13 (include) /usr/share/cmake-3.5/Modules/FindFLTK.cmake:146 (include) CMakeLists.txt:3 (find_package) the following patch on usr/lib/fltk works: --- a/FLTK-Targets-noconfig.cmake +++ b/FLTK-Targets-noconfig.cmake @@ -38,6 +38,7 @@ set_target_properties(fltk_cairo PROPERTIES list(APPEND _IMPORT_CHECK_TARGETS fltk_cairo ) list(APPEND _IMPORT_CHECK_FILES_FOR_fltk_cairo "${_IMPORT_PREFIX}/lib/x86_64-linux-gnu/libfltk_cairo.so" ) +if(NOT FLTK_SKIP_FLUID) # Import target "fluid" for configuration "" set_property(TARGET fluid APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) set_target_properties(fluid PROPERTIES @@ -46,6 +47,7 @@ set_target_properties(fluid PROPERTIES list(APPEND _IMPORT_CHECK_TARGETS fluid ) list(APPEND _IMPORT_CHECK_FILES_FOR_fluid "${_IMPORT_PREFIX}/bin/fluid" ) +endif() # Import target "fltk_STATIC" for configuration "" set_property(TARGET fltk_STATIC APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) diff --git a/FLTK-Targets.cmake b/FLTK-Targets.cmake index 044859d..278145b 100644 --- a/FLTK-Targets.cmake +++ b/FLTK-Targets.cmake @@ -55,8 +55,10 @@ add_library(fltk_cairo_STATIC STATIC IMPORTED) # Create imported target fltk_cairo_SHARED add_library(fltk_cairo_SHARED SHARED IMPORTED) +if(NOT FLTK_SKIP_FLUID) # Create imported target fluid add_executable(fluid IMPORTED) +endif() # Create imported target fltk add_library(fltk_STATIC STATIC IMPORTED) should be easily applicable to the source code too [1] https://bugs.launchpad.net/ubuntu/+source/fltk1.3/+bug/1519964 thanks for considering it, Gianfranco
--- End Message ---
--- Begin Message ---Source: fltk1.3 Source-Version: 1.3.4-3 We believe that the bug you reported is fixed in the latest version of fltk1.3, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Aaron M. Ucko <[email protected]> (supplier of updated fltk1.3 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Mon, 13 Feb 2017 22:26:35 -0500 Source: fltk1.3 Binary: fluid libfltk1.3-dev libfltk1.3-compat-headers libfltk1.3 libfltk-cairo1.3 libfltk-forms1.3 libfltk-gl1.3 libfltk-images1.3 fltk1.3-doc fltk1.3-games Architecture: source Version: 1.3.4-3 Distribution: unstable Urgency: medium Maintainer: Aaron M. Ucko <[email protected]> Changed-By: Aaron M. Ucko <[email protected]> Description: fltk1.3-doc - Fast Light Toolkit - documentation fltk1.3-games - Fast Light Toolkit - example games: checkers, sudoku fluid - Fast Light Toolkit - user interface designer libfltk-cairo1.3 - Fast Light Toolkit - Cairo rendering layer support libfltk-forms1.3 - Fast Light Toolkit - Forms compatibility layer support libfltk-gl1.3 - Fast Light Toolkit - OpenGL rendering support libfltk-images1.3 - Fast Light Toolkit - image loading support libfltk1.3 - Fast Light Toolkit - main shared library libfltk1.3-compat-headers - Fast Light Toolkit - compatibility header symlinks libfltk1.3-dev - Fast Light Toolkit - development files Closes: 855040 Changes: fltk1.3 (1.3.4-3) unstable; urgency=medium . * debian/fix-fltk-targets-noconfig: Append logic to refrain from enforcing the existence of fluid in FLTK_SKIP_FLUID mode, based on a suggestion from Gianfranco Costamagna <[email protected]>. (Closes: #855040.) Checksums-Sha1: 4a8cbb3cb340fcbaa067826bd5fb00bdcf50e2c5 2788 fltk1.3_1.3.4-3.dsc 30c0c2b866ccfc2abf787789cf3893d06b43b0d4 44868 fltk1.3_1.3.4-3.debian.tar.xz Checksums-Sha256: 4c2e38afda88146c29dda2ae0ec0aac181889b9fa9221cd0edd5814bbdcb9b79 2788 fltk1.3_1.3.4-3.dsc 8ae057bce44ae1455f58c34e20ff845ccb4055748b3ae49a9135030c49d441a9 44868 fltk1.3_1.3.4-3.debian.tar.xz Files: 7f87630c244102a957ef553c8a508dac 2788 libs optional fltk1.3_1.3.4-3.dsc c20351fc73e207c3706b0858a6b63733 44868 libs optional fltk1.3_1.3.4-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEfDq5z9IwvTDdAJxZHnCRsfFKZKIFAliienoACgkQHnCRsfFK ZKIyPA//Qqoaa2HjkCHW/6v9jCifmICOjNc2HDxZFmeRZ1XBMtE/QXJDReNL2Rhe Vh5JnBA26CgdPJZPmjDbd4GW3KBuJpLHjGIdlDJi6trJWE0ZJiFKXPUegh6jRMUY GbwIAjnQUZ4Fp6ruOi86FsYwr+bGDAoAdY/j8AauOejCJwquRSabeeUSz8ZW3f84 AT83nWYduh2o7Qg+qnADb3H7zWKmU1QikP1uSS3GiLnagwV20JZYAG0XbJ/Z8w8S MA3rQ/SVQzTA42WVCUNOWm7b6UaOHfI034TPzpWPVoqcg+v9BfNm4cV56HkeGYmM 6ord00VcRnN8VtBpZZuFICxojWv2u9f4phLeY9MnhhTqeEvtBKkmn2/9dOZz8yAl dMBJsDNzDEBj46lSXjanWrwWfomV/6zkqLdfme4eQM1f+iKqtBzuD6nAp79kyKdV lVHeHGK4VM6akUBeezxjUMNdj6tgnUE1rieojhE2CeP25YJJj2vzeYN8jrE5zCAh rwJr0YK27vcasAXJpxeZhOKUb32aTvAhDUXaKnbMocOohlwz2T6Zi1M1vkhZlZI9 BG5Z2Opbftmz0YHNzr6T8Pw6kUsO7m60nybz6hagnl6zX0a133/1ysROxWve/djN g0lZRBAODh/WxaqcMWzydKKJJueICaFBeGgtnPL8e/92E1g70u4= =hVbL -----END PGP SIGNATURE-----
--- End Message ---

