#1145653 gnuplot: pdfcairo and postscript terminals stopped working

#1145653#5
Date:
2026-08-26 10:18:32 UTC
From:
To:
Dear Maintainer,

some days ago, say mid august, I wrote and useds some scripts to produce pdf
figures. After some upgrade (don't know exactly when, but I found the
problem on 24th or 25th of august) the pdfcairo terminal produced invalid
pdf files (with the same, unmodified script). I tried moving to the
postscript with eps option but the plot is empty.

I tested png and it works (but of course it is not a solution as it produces
a bitmap).

So far, the only way is to save a pdf from the menu but the problem with the
"terminal" statement in the script remains.

Thank you for you time.

Alberto

#1145653#10
Date:
2026-08-26 14:36:05 UTC
From:
To:
Hi.

I've made pdf plots with the version of gnuplot countless times, and it
has consistently worked. Can you provide some more information to help
isolate this problem?

Are you seeing failures with all gnuplot scripts, or just some of them?
If just some of them, can you provide the script?

When you got an invalid pdf file, what did it contain? Can you attach
it?

Looks like you're running Debian/testing or unstable. Can you look
through your package logs to see if things changed? /var/log/dpkg.log*

What's the version of your cairo libraries?  dpkg -l '*cairo*' | grep '^ii'

Can you confirm that you didn't "sudo make install" anything that might
be inadvertently used? And that you don't have extra PATH or
LD_LIBRARY_PATH?

Anything to allow us to reproduce this problem would help.

#1145653#15
Date:
2026-08-26 14:36:05 UTC
From:
To:
Hi.

I've made pdf plots with the version of gnuplot countless times, and it
has consistently worked. Can you provide some more information to help
isolate this problem?

Are you seeing failures with all gnuplot scripts, or just some of them?
If just some of them, can you provide the script?

When you got an invalid pdf file, what did it contain? Can you attach
it?

Looks like you're running Debian/testing or unstable. Can you look
through your package logs to see if things changed? /var/log/dpkg.log*

What's the version of your cairo libraries?  dpkg -l '*cairo*' | grep '^ii'

Can you confirm that you didn't "sudo make install" anything that might
be inadvertently used? And that you don't have extra PATH or
LD_LIBRARY_PATH?

Anything to allow us to reproduce this problem would help.