Source: fltk1.4 Version: 1.4.2-7 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
fltk1.4 fails to cross build from source, because the upstream build system expects a native fluid binary for cross building, but the Debian package does not provide it. I suggest adding an explicit dependency conditional to cross building (i.e. not used for native builds). Once doing so, it cross builds just fine. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru fltk1.4-1.4.2/debian/changelog fltk1.4-1.4.2/debian/changelog --- fltk1.4-1.4.2/debian/changelog 2025-04-13 04:39:09.000000000 +0200 +++ fltk1.4-1.4.2/debian/changelog 2025-04-21 16:22:44.000000000 +0200 @@ -1,3 +1,10 @@ +fltk1.4 (1.4.2-7.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Add missing fluid dependency. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 21 Apr 2025 16:22:44 +0200 + fltk1.4 (1.4.2-7) unstable; urgency=high * debian/control: Have libfltk1.4-dev depend on libcairo2-dev for the diff --minimal -Nru fltk1.4-1.4.2/debian/control fltk1.4-1.4.2/debian/control --- fltk1.4-1.4.2/debian/control 2025-04-13 04:39:09.000000000 +0200 +++ fltk1.4-1.4.2/debian/control 2025-04-21 16:22:43.000000000 +0200 @@ -4,6 +4,7 @@ Priority: optional Build-Depends: cmake, debhelper-compat (= 13), + fluid <cross>, libcairo2-dev, libgl-dev | libgl1-mesa-dev, libglu1-mesa-dev | libglu-dev,