Bug 32197 - Update candidate: GNUCobol 3.2
Summary: Update candidate: GNUCobol 3.2
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-08-28 12:03 CEST by Stig-Ørjan Smelror
Modified: 2023-10-17 16:07 CEST (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
sample cobol program (78.15 KB, text/plain)
2023-10-16 11:43 CEST, Herman Viaene
Details

Description Stig-Ørjan Smelror 2023-08-28 12:03:43 CEST
Advisory
========

GNUCobol has been updated to the latest available version as a general bug fix release.

References
==========
https://sourceforge.net/p/gnucobol/code/HEAD/tree/tags/gnucobol-3.2/NEWS

Files
=====

Uploaded to core/updates_testing

lib64cob-devel-3.2-1.mga9
lib64cob4-3.2-1.mga9
gnucobol-3.2-1.mga9

from gnucobol-3.2-1.mga9.src.rpm
Comment 1 Vincent Coen 2023-08-28 18:41:16 CEST
I would do the updates as I use this product almost daily but would need the rpm building scripts for this package.

CC: (none) => vbcoen

Comment 2 r howard 2023-08-28 21:24:47 CEST
(In reply to Stig-Ørjan Smelror from comment #0)
> Advisory
> ========
> 
> GNUCobol has been updated to the latest available version as a general bug
> fix release.
> 
> References
> ==========
> https://sourceforge.net/p/gnucobol/code/HEAD/tree/tags/gnucobol-3.2/NEWS
> 
> Files
> =====
> 
> Uploaded to core/updates_testing
> 
> lib64cob-devel-3.2-1.mga9
> lib64cob4-3.2-1.mga9
> gnucobol-3.2-1.mga9
> 
> from gnucobol-3.2-1.mga9.src.rpm

Mageia 8 is also affected and needs the update.

CC: (none) => rihoward1

Comment 3 Stig-Ørjan Smelror 2023-08-28 21:39:18 CEST
Mageia 8 is in the process of receiving version 3.1.2.
Trying to keep an upgrade path and hopefully 3.1.2 is sufficient unless you want to upgrade to Mageia 9.
Comment 4 Vincent Coen 2023-08-28 23:47:18 CEST
Nope, I will let mga 9 be out for a few months to get the bug out and fixed etc.
Comment 5 Marja Van Waes 2023-10-13 17:25:19 CEST
Advisory from comment x added to SVN. Please remove the "advisory" keyword if it needs to be changed. It also helps when obsolete advisories are tagged as "obsolete".

@ Howard and Vincent

Could you please help by testing the updated packages from mageia9 core/updates_testing?

Our QA team consists of great, hardworking testers. However, they have neither unlimited time, nor unlimited experience with all of the software in our distro.

You do have experience with gnucobol. Please test in a separate Mageia 9 install (so not on your production system), and tell how it works (before and after updating to the version in updates_testing) in this report.

https://wiki.mageia.org/en/QA_process_for_validating_updates

CC: (none) => marja11
Keywords: (none) => advisory

Comment 6 Vincent Coen 2023-10-13 19:59:39 CEST
If you have an update for Mag v8 I can test it for you 

Note that I use gnucobol v3.2 final and here is results from currently installed version  cobc -i :

cobc (GnuCOBOL) 3.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
Built     Aug 29 2023 15:21:48
Packaged  Jul 28 2023 16:58:47 UTC
C version "10.4.0"

build information
build environment        : x86_64-pc-linux-gnu
CC                       : gcc
C version                : "10.4.0"
CPPFLAGS                 : 
CFLAGS                   : -O2 -pipe -finline-functions -fsigned-char
                           -Wall -Wwrite-strings -Wmissing-prototypes
                           -Wno-format-y2k
LD                       : /usr/bin/ld -m elf_x86_64
LDFLAGS                  :  -Wl,-z,relro,-z,now,-O1

GnuCOBOL information
COB_CC                   : gcc
COB_CFLAGS               : -pipe -I/usr/local/include -Wno-unused
                           -fsigned-char -Wno-pointer-sign
COB_DEBUG_FLAGS          : -ggdb3 -fasynchronous-unwind-tables
COB_LDFLAGS              : 
COB_LIBS                 : -L/usr/local/lib -lcob
COB_CONFIG_DIR           : /usr/local/share/gnucobol/config
COB_COPY_DIR             : /usr/local/share/gnucobol/copy
  env: COBCPY            : /home/vince/cobolsrc/oe/src/copybook:/home/vince/cobolsrc/ACAS/copybooks
COB_MSG_FORMAT           : GCC
COB_OBJECT_EXT           : o
COB_MODULE_EXT           : so
COB_EXE_EXT              : 
64bit-mode               : yes
BINARY-C-LONG            : 8 bytes
endianness               : little-endian
native EBCDIC            : no
extended screen I/O      : ncursesw
variable file format     : 0
sequential file handler  : built-in
indexed file handler     : BDB
mathematical library     : GMP
XML library              : libxml2
JSON library             : cjson
[
Comment 7 Herman Viaene 2023-10-16 11:42:16 CEST
MGA9-64 Xfce on Acer Aspire 5253
No previous update or wiki known as the column "Quick search" is not filled out in the updates list.
Googled and found sample (will upload it) in https://github.com/JohnDovey/GNUCobol-Samples/blob/main/Colors.cbl and usage of the commands in https://gnucobol.sourceforge.io/guides.html pages 651 and following.
$ cobc Colors.cbl 
No feedback but file Colors.so is generated.
$ cobcrun Colors
The program runs and displays columns of colors, fixed and flashing. Seems OK.

Whiteboard: (none) => MGA9-64-OK
CC: (none) => herman.viaene

Comment 8 Herman Viaene 2023-10-16 11:43:13 CEST
Created attachment 14064 [details]
sample cobol program
Comment 9 Thomas Andrews 2023-10-16 14:24:26 CEST
Oh, good. I'm glad somebody was able to test this one. Cobol is a complete mystery to me.

Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 10 Mageia Robot 2023-10-17 16:07:24 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0091.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.