geninfo generates multiple error messages: Subroutine XXX redefined at line NNN

Bug #2002238 reported by Thomas Nilefalk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lcov (Debian)
New
Unknown
lcov (Ubuntu)
New
Undecided
Unassigned

Bug Description

Dear Maintainer,

Running `geninfo` directly, or through `lcov` generates these messages:

 Subroutine read_intermediate_text redefined at /usr/bin/geninfo line 2623.
 Subroutine read_intermediate_json redefined at /usr/bin/geninfo line 2655.
 Subroutine intermediate_text_to_info redefined at /usr/bin/geninfo line 2703.
 Subroutine intermediate_json_to_info redefined at /usr/bin/geninfo line 2792.
 Subroutine get_output_fd redefined at /usr/bin/geninfo line 2872.
 Subroutine print_gcov_warnings redefined at /usr/bin/geninfo line 2900.
 Subroutine process_intermediate redefined at /usr/bin/geninfo line 2930.

Looking into the source of geninfo those subroutines are indeed duplicated, although with some slight differences, in what looks like merge gone wrong.

This does not seem to interfere with the operation of lcov but is distracting.

This happens in 22.04.1 Jammy. Lcov reports version 1.14-1 but apt insists it is 1.15-1, which seems to be fixed in 1.15-2.

This bug has also been reported to the Debian package maintainer: 1028194: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028194.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: lcov 1.15-1
Uname: Linux 5.15.79.1-microsoft-standard-WSL2 x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Sun Jan 8 12:16:06 2023
PackageArchitecture: all
ProcEnviron:
 LC_CTYPE=C.UTF-8
 TERM=xterm
 PATH=(custom, no user)
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: lcov
UpgradeStatus: Upgraded to jammy on 2022-11-28 (40 days ago)

Revision history for this message
Thomas Nilefalk (thoni56) wrote :
Changed in lcov (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.