pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgtools/pkg_install-info + GCC 14, prototype errors in conftest



Hi all,

In "archivers/pax build failures on Linux" tnn@ wrote:

> This stems from GCC 14 being more strict about missing prototypes.
> Fedora 40 has the same issue.
> You will find quite a few more packages that are broken due to GCC 14.
> (I have 20 or so local patches I need to commit.)

It looks like I have hit on one of these issues. On Fedora 40, in
pkgtools/pkg_install-info, configure fails "checking for ANSI C header
files" because the conftest has an exit() with no declared prototype.
This causes the package's system.h not to include <stdlib.h>, in turn
causing "undeclared prototype" errors in the build proper.

Looks like the package needs to update autoconf-archive. I don't have a
patch yet but perhaps tnn@ this is one of those for which you do?

Sijmen


Home | Main Index | Thread Index | Old Index