Menu

Ubuntu 22.04 offers gnucobol4 package?

GnuCOBOL
2023-01-27
2023-01-28
  • Sergio Samayoa

    Sergio Samayoa - 2023-01-27

    Hi,

    I just noticed that Ubuntu 22.04 offers gnucobol4 package:

    Package: gnucobol4
    Architecture: amd64
    Version: 4.0~early~20200606-6
    Priority: optional
    Section: universe/devel
    Origin: Ubuntu
    Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
    Original-Maintainer: Thorsten Alteholz <debian@alteholz.de>
    ...
    

    What are the differences with 3.1 and 3.2?
    Will be an official dist?

    Regards!

     
    • Vincent (Bryan) Coen

      That is an old version and like wise for gnucobol3.
      I did download it and when I found out it was so old, deleted it and grabbed from SF.

      Recommend you download from SF or Arnold's websites as well.

      Vince

      - mod-edit removing reply-to -

       

      Last edit: Simon Sobisch 2023-01-28
      • Simon Sobisch

        Simon Sobisch - 2023-01-28

        ... it says 20200606, so what do you expect from a version two and a half year old...
        Packaging wise, it would be useful to have a recent 4.x, so you may want to have a mail to the mentioned package manager from Debian / Ubuntu.

        I'm quite sure that gnucobol3 will be updated shortly after it's next final release, which is coming in the next weeks.

        If you want "most recent" then please go to download->nightly and grab a tarball, installing it from source, otherwise the gnucobol3 package it's fine.

         
    • Simon Sobisch

      Simon Sobisch - 2023-01-28

      What are the differences with 3.1 and 3.2?

      See the NEWS file.

      Checking the file list of that package https://packages.debian.org/sid/amd64/gnucobol4/filelist there's only /usr/share/doc/gnucobol4/changelog - this may or may not be enough.
      If it isn't: https://sourceforge.net/p/gnucobol/code/HEAD/tree/tags/gnucobol-3.2-rc1/NEWS and https://sourceforge.net/p/gnucobol/code/3459/tree/trunk/NEWS

      ... ok, I've just had a look at that, the "added value" in this old version of GnuCOBOL4 is


      *** this version has no backward compatibility to modules created with
      a previous version; the internal library-number was therefore increased
      (libcob-5 instead of libcob-4).

      anything may still change during development of this version,
      including incompatible changes

      • New GnuCOBOL features

      ** file handling: added backends for ODBC and OCI, along with new directory
      COB_SCHEMA_DIR containing the necessary internal schema files to match the
      indexed file definition to the database table

      • internal change: fileio splitted

      As hinted before: no one should use that an old version of GnuCOBOL4, either go with 3.1.2 when distro-packaged, or with a recent gnucobol3 / gnucobol4 build from source. Recent GC4 has a much improved ODBC/OCI backend, performance improvement, delay-load of indexed fileio (screenio and xml/json pending, likely done before the firstGC4 preview release), improved compatibility to MicroFocus, completely rewritten dump on abend,. ...

      For nightly snapshots (=ready to use tarballs) og both gnucobol3 and gnucobol4 see https://sourceforge.net/projects/gnucobol/files/gnucobol/nightly_snapshots/

      Will be an official dist?

      There will be an official release of GnuCOBOL 4 starting with the first preview release (expected somewhere in the next 6 months); it is up to the distro packagers to create/add binary packages for that (but there are also -roughly tested- binaries from the nightly tarballs and binary packages from others) - with a minimal "more" dependencies you can always build from release (or nightly) tarballs with configure && make.

       

Log in to post a comment.