On 2018-09-29 Adrian Bunk <b...@debian.org> wrote: > Source: plotutils > Version: 2.6-9 > Severity: serious > Tags: ftbfs
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/plotutils.html > ... > FAIL: plot2hpgl > =============== > FAIL plot2hpgl.test (exit status: 1) That is a strange one. Building with -O0 succeeds. Starting from there I tried to find the offending source. Limiting -O0 to a single line in libplot/h_attribs.c works +#pragma GCC push_options +#pragma GCC optimize ("O0") #include "extern.h" +#pragma GCC pop_options Going from there, this change lets the testsuite succeed: --- plotutils-2.6.orig/libplot/extern.h +++ plotutils-2.6/libplot/extern.h @@ -1981,7 +1983,10 @@ extern bool _pl_h_hpgl_maybe_update_font extern bool _pl_h_parse_pen_string (Plotter *_plotter, const char *pen_s); extern int _pl_h_hpgl_pseudocolor (Plotter *_plotter, int red, int green, int blue, bool restrict_white); extern void _pl_h_hpgl_shaded_pseudocolor (Plotter *_plotter, int red, int green, int blue, int *pen, double *shading); +#pragma GCC push_options +#pragma GCC optimize ("O0") extern void _pl_h_set_attributes (Plotter *_plotter); +#pragma GCC pop_options extern void _pl_h_set_fill_color (Plotter *_plotter, bool force_pen_color); extern void _pl_h_set_font (Plotter *_plotter); extern void _pl_h_set_hpgl_fill_type (Plotter *_plotter, int fill_type, double option1, double option2); I do not get this. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'