#1101945 gnuplot: FTBFS if qt6-base-dev is also installed

Package:
src:gnuplot
Source:
src:gnuplot
Submitter:
Dima Kogan
Date:
2026-03-03 08:43:01 UTC
Severity:
normal
Tags:
#1101945#5
Date:
2025-04-02 18:25:37 UTC
From:
To:
Hi. I just tried to build gnuplot. In addition to the Build-Depends I
also had qt6-base-dev installed. This happened:

   $ dpkg-buidpackage -us -uc -b

   ... lots of things building ...
   /usr/lib/qt6/bin/lrelease ../../../src/qtterminal/po/qtgnuplot_fr.ts -qm qtgnuplot_fr.qm
   make[5]: /usr/lib/qt6/bin/lrelease: No such file or directory

If we're trying to build against qt5, then the build system should do
that, and not inadvertently use any qt6 stuff that also happens to be
installed

Thanks

#1101945#10
Date:
2026-03-03 08:40:47 UTC
From:
To:
Control: tags -1 + patch

Attached is a patch to build gnuplot with Qt6. It's quite simple, as no
upstream changes are necessary.

Thanks,
Faidon