Your message dated Fri, 22 Oct 2021 19:36:37 +0200
with message-id <[email protected]>
and subject line Re: Bug#793549: cmake-data: Can't find fluid with FLTK 1.3.3
has caused the Debian Bug report #793549,
regarding cmake-data: Can't find fluid with FLTK 1.3.3
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.)


-- 
793549: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793549
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cmake-data
Version: 3.2.2-2
Severity: normal

FindFLTK.cmake uses the following call to find FLTK's code generator,
fluid:

      find_program(FLTK_FLUID_EXECUTABLE fluid PATHS
        ${FLTK_EXECUTABLE_DIRS}
        ${FLTK_EXECUTABLE_DIRS}/RelWithDebInfo
        ${FLTK_EXECUTABLE_DIRS}/Debug
        ${FLTK_EXECUTABLE_DIRS}/Release
        NO_SYSTEM_PATH)

Prior to 1.3.3, this worked fine, because /usr/lib/fltk/FLTKConfig.cmake
defined FLTK_FLUID_EXECUTABLE, and to an absolute path at that.
However, 1.3.3 yields a very different setup: the definition appears
only in UseFLTK.cmake, which FLTKConfig.cmake doesn't include, just
points FLTK_USE_FILE to.  Moreover, the definition is simply "fluid",
with no path specified.  FLTKConfig.cmake does include
FLTK-Targets.cmake, which in turn pulls in FLTK-Targets-noconfig.cmake,
but the relevant contents are evidently insufficient as well:

  # Create imported target fluid
  add_executable(fluid IMPORTED)

  # Import target "fluid" for configuration ""
  set_property(TARGET fluid APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
  set_target_properties(fluid PROPERTIES
    IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/bin/fluid"
    )

  list(APPEND _IMPORT_CHECK_TARGETS fluid )
  list(APPEND _IMPORT_CHECK_FILES_FOR_fluid "${_IMPORT_PREFIX}/bin/fluid" )

No version of /usr/lib/fltk/*.cmake defines FLTK_EXECUTABLE_DIRS, though
1.3.2's did define FLTK_BIN_DIR.

The FLTK packaging follows upstream here, so I think it would be better
for CMake to adapt to it than for Debian to patch FLTK to match its
historic expectations.

Thanks!

Meanwhile, affected packages such as yoshimi can work around the
problem by explicitly invoking

    cmake ... -DFLTK_FLUID_EXECUTABLE=/usr/bin/fluid ...

--- End Message ---
--- Begin Message ---
* Aaron M. Ucko <[email protected]> [2021-10-22 11:42]:
Timo Röhling <[email protected]> writes:
Is this sufficient for you to consider this bug done?
Sure, thanks.
Alright, thank you!

Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to