Package Details: gnucobol-svn r5501-1

Git Clone URL: https://aur.archlinux.org/gnucobol-svn.git (read-only, click to copy)
Package Base: gnucobol-svn
Description: A free/libre COBOL compiler
Upstream URL: https://gnucobol.sourceforge.io/
Licenses: GPL-3.0-or-later, LGPL-3.0-or-later
Conflicts: gnucobol
Provides: gnucobol
Submitter: Chocobo1
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 0
Popularity: 0.000000
First Submitted: 2022-03-15 18:44 (UTC)
Last Updated: 2025-05-09 12:27 (UTC)

Latest Comments

peregrinus commented on 2025-05-31 18:44 (UTC)

The culprit in local CFLAGS is '-Wp,-D_FORTIFY_SOURCE=3'. This seems to be too strict. Upstream uses 2, and with 2 it does indeed pass the tests.

peregrinus commented on 2025-05-31 13:33 (UTC)

Thanks!

I haven't dug deeper to find the culprit, but I find that including local CFLAGS causes many tests to fail:

With local CFLAGS

## ---------------------------------------- ##
## GnuCOBOL 4.0 test suite: GnuCOBOL Tests. ##
## ---------------------------------------- ##
...
## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 1396 tests were run,
928 failed (26 expected failures).
14 tests were skipped.

Without local CFLAGS

## ------------- ##
## Test results. ##
## ------------- ##

1395 tests behaved as expected.
15 tests were skipped.

Chocobo1 commented on 2025-05-09 12:29 (UTC)

Hi, this does not build for me.

Should be fixed now.

peregrinus commented on 2025-05-09 11:07 (UTC) (edited on 2025-05-09 11:08 (UTC) by peregrinus)

Hi, this does not build for me.

After adding "CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types" to the configure line, I get the following kind of errors:

call.c:1418:14: error: too many arguments to function 'unifunc.funcint'; expected 0, have 188
 1418 |         i =  unifunc.funcint (pargv[0], pargv[1], pargv[2], pargv[3]