#1114260 pgplot5: FTBFS: cpgarro.c:6:3: error: too many arguments to function 'pgarro_'; expected 0, have 4

#1114260#5
Date:
2025-09-05 18:22:20 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pgplot5, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --builddirectory=debian/builddir
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
test ! -f sys_linux/g77_gcc.conf.orig || mv sys_linux/g77_gcc.conf.orig sys_linux/g77_gcc.conf
rm -rf static shared
rm -f build-stamp install-stamp
rm -rf debian/builddir
rm -f debian/*substvars
dh_auto_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--builddirectory=debian/builddir
   dh_clean -O--builddirectory=debian/builddir
 debian/rules binary

[... snipped ...]

      |             ^~~~~~~
cpgqls.c: In function ‘cpgqls’:
cpgqls.c:6:3: error: too many arguments to function ‘pgqls_’; expected 0, have 1
    6 |   pgqls_(ls);
      |   ^~~~~~ ~~
cpgqls.c:2:13: note: declared here
    2 | extern void pgqls_();
      |             ^~~~~~
cpgqlw.c: In function ‘cpgqlw’:
cpgqlw.c:6:3: error: too many arguments to function ‘pgqlw_’; expected 0, have 1
    6 |   pgqlw_(lw);
      |   ^~~~~~ ~~
cpgqlw.c:2:13: note: declared here
    2 | extern void pgqlw_();
      |             ^~~~~~
cpgqndt.c: In function ‘cpgqndt’:
cpgqndt.c:6:3: error: too many arguments to function ‘pgqndt_’; expected 0, have 1
    6 |   pgqndt_(n);
      |   ^~~~~~~ ~
cpgqndt.c:2:13: note: declared here
    2 | extern void pgqndt_();
      |             ^~~~~~~
cpgqpos.c: In function ‘cpgqpos’:
cpgqpos.c:6:3: error: too many arguments to function ‘pgqpos_’; expected 0, have 2
    6 |   pgqpos_(x, y);
      |   ^~~~~~~ ~
cpgqpos.c:2:13: note: declared here
    2 | extern void pgqpos_();
      |             ^~~~~~~
cpgqtbg.c: In function ‘cpgqtbg’:
cpgqtbg.c:6:3: error: too many arguments to function ‘pgqtbg_’; expected 0, have 1
    6 |   pgqtbg_(tbci);
      |   ^~~~~~~ ~~~~
cpgqtbg.c:2:13: note: declared here
    2 | extern void pgqtbg_();
      |             ^~~~~~~
cpgqtxt.c: In function ‘cpgqtxt’:
cpgqtxt.c:8:3: error: too many arguments to function ‘pgqtxt_’; expected 0, have 8
    8 |   pgqtxt_(&x, &y, &angle, &fjust, (char *)text, xbox, ybox, len_text);
      |   ^~~~~~~ ~~
cpgqtxt.c:3:13: note: declared here
    3 | extern void pgqtxt_();
      |             ^~~~~~~
cpgqvp.c: In function ‘cpgqvp’:
cpgqvp.c:6:3: error: too many arguments to function ‘pgqvp_’; expected 0, have 5
    6 |   pgqvp_(&units, x1, x2, y1, y2);
      |   ^~~~~~ ~~~~~~
cpgqvp.c:2:13: note: declared here
    2 | extern void pgqvp_();
      |             ^~~~~~
cpgqvsz.c: In function ‘cpgqvsz’:
cpgqvsz.c:6:3: error: too many arguments to function ‘pgqvsz_’; expected 0, have 5
    6 |   pgqvsz_(&units, x1, x2, y1, y2);
      |   ^~~~~~~ ~~~~~~
cpgqvsz.c:2:13: note: declared here
    2 | extern void pgqvsz_();
      |             ^~~~~~~
cpgqwin.c: In function ‘cpgqwin’:
cpgqwin.c:6:3: error: too many arguments to function ‘pgqwin_’; expected 0, have 4
    6 |   pgqwin_(x1, x2, y1, y2);
      |   ^~~~~~~ ~~
cpgqwin.c:2:13: note: declared here
    2 | extern void pgqwin_();
      |             ^~~~~~~
cpgrect.c: In function ‘cpgrect’:
cpgrect.c:6:3: error: too many arguments to function ‘pgrect_’; expected 0, have 4
    6 |   pgrect_(&x1, &x2, &y1, &y2);
      |   ^~~~~~~ ~~~
cpgrect.c:2:13: note: declared here
    2 | extern void pgrect_();
      |             ^~~~~~~
cpgrnd.c: In function ‘cpgrnd’:
cpgrnd.c:7:13: error: too many arguments to function ‘pgrnd_’; expected 0, have 2
    7 |   r_value = pgrnd_(&x, nsub);
      |             ^~~~~~ ~~
cpgrnd.c:2:14: note: declared here
    2 | extern float pgrnd_();
      |              ^~~~~~
cpgrnge.c: In function ‘cpgrnge’:
cpgrnge.c:6:3: error: too many arguments to function ‘pgrnge_’; expected 0, have 4
    6 |   pgrnge_(&x1, &x2, xlo, xhi);
      |   ^~~~~~~ ~~~
cpgrnge.c:2:13: note: declared here
    2 | extern void pgrnge_();
      |             ^~~~~~~
cpgsah.c: In function ‘cpgsah’:
cpgsah.c:6:3: error: too many arguments to function ‘pgsah_’; expected 0, have 3
    6 |   pgsah_(&fs, &angle, &barb);
      |   ^~~~~~ ~~~
cpgsah.c:2:13: note: declared here
    2 | extern void pgsah_();
      |             ^~~~~~
cpgscf.c: In function ‘cpgscf’:
cpgscf.c:6:3: error: too many arguments to function ‘pgscf_’; expected 0, have 1
    6 |   pgscf_(&font);
      |   ^~~~~~ ~~~~~
cpgscf.c:2:13: note: declared here
    2 | extern void pgscf_();
      |             ^~~~~~
cpgsch.c: In function ‘cpgsch’:
cpgsch.c:6:3: error: too many arguments to function ‘pgsch_’; expected 0, have 1
    6 |   pgsch_(&size);
      |   ^~~~~~ ~~~~~
cpgsch.c:2:13: note: declared here
    2 | extern void pgsch_();
      |             ^~~~~~
cpgsci.c: In function ‘cpgsci’:
cpgsci.c:6:3: error: too many arguments to function ‘pgsci_’; expected 0, have 1
    6 |   pgsci_(&ci);
      |   ^~~~~~ ~~~
cpgsci.c:2:13: note: declared here
    2 | extern void pgsci_();
      |             ^~~~~~
cpgscir.c: In function ‘cpgscir’:
cpgscir.c:6:3: error: too many arguments to function ‘pgscir_’; expected 0, have 2
    6 |   pgscir_(&icilo, &icihi);
      |   ^~~~~~~ ~~~~~~
cpgscir.c:2:13: note: declared here
    2 | extern void pgscir_();
      |             ^~~~~~~
cpgsclp.c: In function ‘cpgsclp’:
cpgsclp.c:6:3: error: too many arguments to function ‘pgsclp_’; expected 0, have 1
    6 |   pgsclp_(&state);
      |   ^~~~~~~ ~~~~~~
cpgsclp.c:2:13: note: declared here
    2 | extern void pgsclp_();
      |             ^~~~~~~
cpgscr.c: In function ‘cpgscr’:
cpgscr.c:6:3: error: too many arguments to function ‘pgscr_’; expected 0, have 4
    6 |   pgscr_(&ci, &cr, &cg, &cb);
      |   ^~~~~~ ~~~
cpgscr.c:2:13: note: declared here
    2 | extern void pgscr_();
      |             ^~~~~~
cpgscrl.c: In function ‘cpgscrl’:
cpgscrl.c:6:3: error: too many arguments to function ‘pgscrl_’; expected 0, have 2
    6 |   pgscrl_(&dx, &dy);
      |   ^~~~~~~ ~~~
cpgscrl.c:2:13: note: declared here
    2 | extern void pgscrl_();
      |             ^~~~~~~
cpgscrn.c: In function ‘cpgscrn’:
cpgscrn.c:8:3: error: too many arguments to function ‘pgscrn_’; expected 0, have 4
    8 |   pgscrn_(&ci, (char *)name, ier, len_name);
      |   ^~~~~~~ ~~~
cpgscrn.c:3:13: note: declared here
    3 | extern void pgscrn_();
      |             ^~~~~~~
cpgsfs.c: In function ‘cpgsfs’:
cpgsfs.c:6:3: error: too many arguments to function ‘pgsfs_’; expected 0, have 1
    6 |   pgsfs_(&fs);
      |   ^~~~~~ ~~~
cpgsfs.c:2:13: note: declared here
    2 | extern void pgsfs_();
      |             ^~~~~~
cpgshls.c: In function ‘cpgshls’:
cpgshls.c:6:3: error: too many arguments to function ‘pgshls_’; expected 0, have 4
    6 |   pgshls_(&ci, &ch, &cl, &cs);
      |   ^~~~~~~ ~~~
cpgshls.c:2:13: note: declared here
    2 | extern void pgshls_();
      |             ^~~~~~~
cpgshs.c: In function ‘cpgshs’:
cpgshs.c:6:3: error: too many arguments to function ‘pgshs_’; expected 0, have 3
    6 |   pgshs_(&angle, &sepn, &phase);
      |   ^~~~~~ ~~~~~~
cpgshs.c:2:13: note: declared here
    2 | extern void pgshs_();
      |             ^~~~~~
cpgsitf.c: In function ‘cpgsitf’:
cpgsitf.c:6:3: error: too many arguments to function ‘pgsitf_’; expected 0, have 1
    6 |   pgsitf_(&itf);
      |   ^~~~~~~ ~~~~
cpgsitf.c:2:13: note: declared here
    2 | extern void pgsitf_();
      |             ^~~~~~~
cpgslct.c: In function ‘cpgslct’:
cpgslct.c:6:3: error: too many arguments to function ‘pgslct_’; expected 0, have 1
    6 |   pgslct_(&id);
      |   ^~~~~~~ ~~~
cpgslct.c:2:13: note: declared here
    2 | extern void pgslct_();
      |             ^~~~~~~
cpgsls.c: In function ‘cpgsls’:
cpgsls.c:6:3: error: too many arguments to function ‘pgsls_’; expected 0, have 1
    6 |   pgsls_(&ls);
      |   ^~~~~~ ~~~
cpgsls.c:2:13: note: declared here
    2 | extern void pgsls_();
      |             ^~~~~~
cpgslw.c: In function ‘cpgslw’:
cpgslw.c:6:3: error: too many arguments to function ‘pgslw_’; expected 0, have 1
    6 |   pgslw_(&lw);
      |   ^~~~~~ ~~~
cpgslw.c:2:13: note: declared here
    2 | extern void pgslw_();
      |             ^~~~~~
cpgstbg.c: In function ‘cpgstbg’:
cpgstbg.c:6:3: error: too many arguments to function ‘pgstbg_’; expected 0, have 1
    6 |   pgstbg_(&tbci);
      |   ^~~~~~~ ~~~~~
cpgstbg.c:2:13: note: declared here
    2 | extern void pgstbg_();
      |             ^~~~~~~
cpgsubp.c: In function ‘cpgsubp’:
cpgsubp.c:6:3: error: too many arguments to function ‘pgsubp_’; expected 0, have 2
    6 |   pgsubp_(&nxsub, &nysub);
      |   ^~~~~~~ ~~~~~~
cpgsubp.c:2:13: note: declared here
    2 | extern void pgsubp_();
      |             ^~~~~~~
cpgsvp.c: In function ‘cpgsvp’:
cpgsvp.c:6:3: error: too many arguments to function ‘pgsvp_’; expected 0, have 4
    6 |   pgsvp_(&xleft, &xright, &ybot, &ytop);
      |   ^~~~~~ ~~~~~~
cpgsvp.c:2:13: note: declared here
    2 | extern void pgsvp_();
      |             ^~~~~~
cpgswin.c: In function ‘cpgswin’:
cpgswin.c:6:3: error: too many arguments to function ‘pgswin_’; expected 0, have 4
    6 |   pgswin_(&x1, &x2, &y1, &y2);
      |   ^~~~~~~ ~~~
cpgswin.c:2:13: note: declared here
    2 | extern void pgswin_();
      |             ^~~~~~~
cpgtbox.c: In function ‘cpgtbox’:
cpgtbox.c:9:3: error: too many arguments to function ‘pgtbox_’; expected 0, have 8
    9 |   pgtbox_((char *)xopt, &xtick, &nxsub, (char *)yopt, &ytick, &nysub, len_xopt, len_yopt);
      |   ^~~~~~~ ~~~~~~~~~~~~
cpgtbox.c:3:13: note: declared here
    3 | extern void pgtbox_();
      |             ^~~~~~~
cpgtext.c: In function ‘cpgtext’:
cpgtext.c:8:3: error: too many arguments to function ‘pgtext_’; expected 0, have 4
    8 |   pgtext_(&x, &y, (char *)text, len_text);
      |   ^~~~~~~ ~~
cpgtext.c:3:13: note: declared here
    3 | extern void pgtext_();
      |             ^~~~~~~
cpgtick.c: In function ‘cpgtick’:
cpgtick.c:8:3: error: too many arguments to function ‘pgtick_’; expected 0, have 11
    8 |   pgtick_(&x1, &y1, &x2, &y2, &v, &tikl, &tikr, &disp, &orient, (char *)str, len_str);
      |   ^~~~~~~ ~~~
cpgtick.c:3:13: note: declared here
    3 | extern void pgtick_();
      |             ^~~~~~~
cpgvect.c: In function ‘cpgvect’:
cpgvect.c:6:3: error: too many arguments to function ‘pgvect_’; expected 0, have 12
    6 |   pgvect_((float *)a, (float *)b, &idim, &jdim, &i1, &i2, &j1, &j2, &c, &nc, (float *)tr, &blank);
      |   ^~~~~~~ ~~~~~~~~~~
cpgvect.c:2:13: note: declared here
    2 | extern void pgvect_();
      |             ^~~~~~~
cpgvsiz.c: In function ‘cpgvsiz’:
cpgvsiz.c:6:3: error: too many arguments to function ‘pgvsiz_’; expected 0, have 4
    6 |   pgvsiz_(&xleft, &xright, &ybot, &ytop);
      |   ^~~~~~~ ~~~~~~
cpgvsiz.c:2:13: note: declared here
    2 | extern void pgvsiz_();
      |             ^~~~~~~
cpgwedg.c: In function ‘cpgwedg’:
cpgwedg.c:9:3: error: too many arguments to function ‘pgwedg_’; expected 0, have 8
    9 |   pgwedg_((char *)side, &disp, &width, &fg, &bg, (char *)label, len_side, len_label);
      |   ^~~~~~~ ~~~~~~~~~~~~
cpgwedg.c:3:13: note: declared here
    3 | extern void pgwedg_();
      |             ^~~~~~~
cpgwnad.c: In function ‘cpgwnad’:
cpgwnad.c:6:3: error: too many arguments to function ‘pgwnad_’; expected 0, have 4
    6 |   pgwnad_(&x1, &x2, &y1, &y2);
      |   ^~~~~~~ ~~~
cpgwnad.c:2:13: note: declared here
    2 | extern void pgwnad_();
      |             ^~~~~~~
make[2]: *** [makefile:943: libcpgplot.a] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/builddir'
make[1]: *** [debian/rules:70: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:57: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

#1114260#10
Date:
2025-09-06 23:20:38 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pgplot5, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1114260@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated pgplot5 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 07 Sep 2025 01:00:10 +0200
Source: pgplot5
Architecture: source
Version: 5.2.2-19.8
Distribution: unstable
Urgency: medium
Maintainer: Carlo Segre <segre@debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1114260
Changes:
 pgplot5 (5.2.2-19.8) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Build with -std=gnu17.  (Closes: #1114260)
Checksums-Sha1:
 1205429809be979938e72dd34752b58a816410b6 2137 pgplot5_5.2.2-19.8.dsc
 b4eb070a24a7cee9af43712dcc40d36b1e8f552b 22680 pgplot5_5.2.2-19.8.debian.tar.xz
 93f7fd40bf43f385be47d56daa90581f0443138a 6503 pgplot5_5.2.2-19.8_source.buildinfo
Checksums-Sha256:
 618cdfef7e965d49a8743ebdfe7ac3b4e03446e430633644dcfe52c6754e401a 2137 pgplot5_5.2.2-19.8.dsc
 a519e51ae2a6b31098b82459d955e107cd73c2dad531e949078b04cf56c84f05 22680 pgplot5_5.2.2-19.8.debian.tar.xz
 dac34f38726b1c912bdb18ffeb3d3d7fd91e692b2417874fcd8105c05b71344d 6503 pgplot5_5.2.2-19.8_source.buildinfo
Files:
 30396d5bb06fee90104a2d469a19c99c 2137 non-free/math optional pgplot5_5.2.2-19.8.dsc
 4cc3cf2a7c8ae0a66a87756cebcae844 22680 non-free/math optional pgplot5_5.2.2-19.8.debian.tar.xz
 9344875174dd54a159b6538015d955be 6503 non-free/math optional pgplot5_5.2.2-19.8_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmi8vXUQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCEFPD/9+vPa9Q1APtwJo73oaZP7YgM4UTeCItNzd
Xt0oXmkuiuZkscfROII+RNPdOr20jtRBIwtF1jNJGxcd87v2LMRmks7v2sRpH0lw
Mlf+JeKV4K79P03b930XXD/aLg+XBSZfoWlOiOsoe+uZm/OyOf3qbABoNWZTrjHw
qvRiQFPvuARFb1Og6ibg4ovjtAWA/lSPTIU0ASeYadLuDuvaWGRve9HyfKqpOxqb
4TYCs/RBjBOvvWE5LNDZdwC1a7iR7PrXFgBEJPLbwUrSrmu6ol71NJCsqekSBieZ
P9Sxfbt903IVia5IV7M/3ZrqbDyfmuKvu31pk+jBG8Py4p6c4KdOehETfNj4afQM
4j8Ydtx0z3xDJNo1hckXrXQqvszT0Zy5EhDfqXR/HWmJBCsKlVV1Xf392IHhpqSL
YzxJcphVydgGuIKd0g4nvtPTFF3lEAQIQ7REstq9rmGOzVL6DvgiPeFr0VN2DJMy
SLFyn1M81tJskL6QLzpIFP+3qlOR79xP1XhE/TVHVNEtDuTdebL7DXw8c3uRfcOk
0kTWdTq1RVWRfNJhhc9qKUxb7fR8Y2lVZ2xnMXXcco+fR2ngu4BGDqlNLlzLFjSz
/ZsoKmzg9Q+t468U/ntkLwFyfV6y++t0PHyZCvoxbc9NmvcDSTg++ybDQQma8CEG
piiXJBQIPw==
=InN6
-----END PGP SIGNATURE-----